Tous les chunks jusqu’à “merge03” ne sont pas évalués (eval=F) puisque ceux-ci sont désormais inutiles après la création du fichier de données en format RData qui est chargé ci-dessous dans le chunk “charger_Pok2001.2022.RData”.

# setwd("C:/Users/mrdos/OneDrive/Documents/Shippagan_mai_aout_2024/Analyse_R_sum/Github")
# getwd()
# list.files()

# Répertoire pour Gaël
 setwd("~/Shippagan_mai_aout_2024/Analyse_R_sum/Ranalyse")


# Répertoire pour Alain
# setwd("/media/alain/ap2To/UMCS_bak/Documents/SUPERVISION/Gael/github_Gael")
# Je préfère y aller par le menu au début d'une session d'analyse:
# Session > Set Working Directory > To Source File Location

getwd()
## [1] "C:/Users/mrdos/OneDrive/Documents/Shippagan_mai_aout_2024/Analyse_R_sum/Ranalyse"
# list.files()
list.files(all.files=T, pattern="RData")
## [1] ".RData"             "Pok2001.2022.RData"
load("./Pok2001.2022.RData")
# Charger les données de longueurs et d'ordre des tributaires
# Nom du fichier original: 

ordres=read.csv2("Pokemouche_longueurs_ordres.csv")
dim(ordres) # 12 x 24
ordres$Station=as.factor(ordres$Station)
str(ordres)
# Attention à ajouter des décimales dans Excel pour que les valeurs soient
# considérées comme des valeurs numériques et non des entiers.
describe(ordres)

# Ordre1_m_amont: Longueur totale (m) de tous les cours d’eau d'ordre 1 en amont de la station
# Somme_ordre_1-5: longueur totale (m) de tous les cours d'eau (ordre 1 à 5) en amont de la station
# Dist_amont_station_m: le parcours entre la station et le point en amont le plus reculé
#   tel que mesuré par AP avec qGIS.
# Longueur_totale_m_ordre1: longueur totale (m) de tous les cours d'eau d'ordre 1 
#    dans le sous-bassin versant
# summary(ordres$Long)
plot(ordres$Long, ordres$Lat, pch="", xlim=c(2590000, 2623000))
text(ordres$Long, ordres$Lat,  ordres$Station)
grid()
plot(Pok2001.2022$Long, Pok2001.2022$Lat, pch="", xlim=c(2590000, 2623000))
text(Pok2001.2022$Long, Pok2001.2022$Lat,  Pok2001.2022$Station)
grid()

# Y a-t-il une tendance dans la longueur des chemins et la longitude?
pairs(subset(Pok2001.2022, select=c(Long,
  Ordre1_m_amont, Ordre2_m_amont, Ordre3_m_amont, Ordre4_m_amont, Ordre5_m_amont,
  Somme_ordre_1.5)))

# Y a-t-il une tendance dans la longueur des chemins et la latitude?
pairs(subset(Pok2001.2022, select=c(Lat,
  Ordre1_m_amont, Ordre2_m_amont, Ordre3_m_amont, Ordre4_m_amont, Ordre5_m_amont,
  Somme_ordre_1.5)))

# Tendance à l'augmentation de la longueur des cours d'eau d'ordre 3
# de l'ouest vers l'est (dans le sens du courant):
plot(Pok2001.2022$Long, Pok2001.2022$Ordre3_m_amont, pch="", xlim=c(2590000, 2623000))
text(Pok2001.2022$Long, Pok2001.2022$Ordre3_m_amont, Pok2001.2022$Station)

# 2024-06-20 à la maison
# Charger le fichier que Manar a produit des caractéristiques des bassins versants
# Nom du fichier original: 
# https://liveumoncton-my.sharepoint.com/personal/alain_umoncton_ca/Documents
# /Pokemouche_2021_CGERP_%C3%A9chantillonnage_20_ans/travail%20stage%20excel.xlsx
caract.bv=read.csv2("caract_bv2.csv")
# caract_bv2.csv est la version qui contient les valeurs pour Pok-03
# après que j'eu signalé leurs absences à Manar.
dim(caract.bv) 
# 12 rangées x 319 colonnes
# 12 x 321 au 2024-06-24
str(caract.bv)
caract.bv$Station=as.factor(caract.bv$Station)
class(caract.bv$Station)
levels(caract.bv$Station)
strwrap(" AP 2024-06-20
Les 'couches' (fichiers géomatiques) disponibles du ministère du N.-B., sur le site geonb.ca
incluent 'Forest' (F, forêt), 'Non Forest' (NF, tout ce qui n'est pas considéré comme de la forêt),
Water (WA, plans d'eau) et Wetland (WL, terres humides). Ces quatre couches de polygones (surfaces)
sont cencés couvrir tout le territoire et devraient être mutuellement exclusives.

Comme nous avons rencontré des problèmes de chevauchement entre les couches F et NF, Émilie
et Kyle nous a proposé de travailler avec les fichiers 'Landbase' qui combinent dans un seul
fichier les quatre couches F, NF, WA, WL. Ce fichier Landbase contient une variable supplémentaire
par rapport aux couches initiales: CAT qui désignent si l'élément (rangée du tableau attributaire)
provient de F, NF, WL ou WA.
        ")

# Cibler les variables prioritaires et les placer dans un ordre commode:
# names(caract.bv)
caract.bv2=subset(caract.bv, 
 select=c(Station, sup_km2_sbv, sup_drainee_km2_sbv, longueur_route_km_sbv,
          WA_km2_supdrainee_2020,  WL_km2_supdrainee_2020, NF_km2_supdrainee_2020, FO_km2_supdrainee_2020,
          
          AGR_km2_supdrainee_2020, IND_km2_supdrainee_2020, INF_km2_supdrainee_2020, SET_km2_supdrainee_2020,
          REC_km2_supdrainee_2020, WIL_km2_supdrainee_2020,
          
          C_km2_supdrainee_2020, F_km2_supdrainee_2020, N_km2_supdrainee_2020, 
          B_km2_supdrainee_2020, NULL_km2_supdrainee_2020,
          
          WA_km2_supdrainee_1990, WL_km2_supdrainee_1990, NF_km2_supdrainee_1990, FO_km2_supdrainee_1990,
          
          AGR_km2_supdrainee_1990, IND_km2_supdrainee_1990, INF_km2_supdrainee_1990, SET_km2_supdrainee_1990, 
          # REC et WIL manquants en 1990
          C_km2_supdrainee_1990, F_km2_supdrainee_1990, N_km2_supdrainee_1990, 
          B_km2_supdrainee_1990, NULL_km2_supdrainee_1990))

dim(caract.bv2) # 12 x 32
# N'y a-t-il pas REC et WIL en 1990?

plot(subset(caract.bv2, select=c(AGR_km2_supdrainee_2020,AGR_km2_supdrainee_1990)))
grid()
# Les superficies agricoles sont plus grandes en 2020 qu'en 1990...

# La superficie qui draine vers la station en fonction de la superficie totale:
plot(caract.bv2$sup_km2_sbv, caract.bv2$sup_drainee_km2_sbv,pch="", xlim=c(0,120))
text(caract.bv2$sup_km2_sbv, caract.bv2$sup_drainee_km2_sbv,  caract.bv2$Station)

caract.bv2$fraction.drainee=caract.bv2$sup_drainee_km2_sbv/caract.bv2$sup_km2_sbv 
subset(caract.bv2, select=c(Station, sup_km2_sbv, sup_drainee_km2_sbv,fraction.drainee))
summary(caract.bv2$fraction.drainee)
# Les stations sont localisées généralement au point où environ 66% de la 
# superficie du bassin est drainée (donc plutôt en aval, ce qui donne une 
# bonne idée de l'influence du bassin)

plot(caract.bv2$sup_km2_sbv, caract.bv2$longueur_route_km_sbv,pch="", xlim=c(0,120))
text(caract.bv2$sup_km2_sbv, caract.bv2$longueur_route_km_sbv,  caract.bv2$Station)

subset(caract.bv2, select=c(Station, longueur_route_km_sbv))

plot(caract.bv2$sup_km2_sbv, caract.bv2$WL_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_km2_sbv, caract.bv2$WL_km2_supdrainee_2020,  caract.bv2$Station)

# Couche Landbase, CAT=Forest
plot(caract.bv2$sup_km2_sbv, caract.bv2$FO_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_km2_sbv, caract.bv2$FO_km2_supdrainee_2020,  caract.bv2$Station)

# Couche Landbase, CAT=Non Forest
plot(caract.bv2$sup_km2_sbv, caract.bv2$NF_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_km2_sbv, caract.bv2$NF_km2_supdrainee_2020,  caract.bv2$Station)

# Couche Landbase, CAT=Non-Forest, variable=PLU (Primary Land Use)
# AGR   Terre surtout utilisée pour cultiver des produits agricoles 
#     et des produits non ligneux ainsi que les champs et pâturages
# DND   Terre surtout utilisée pour l'entraînement et les exercices de la Défense nationale
# IND   Terre surtout utilisée à des fins industrielles, notamment les installations de traitement
# INF   Terre surtout utilisée pour le transport, les communications et/ou les services publics
# REC   Terre surtout utilisée pour les activités sportives, récréatives, culturelles et/ou de divertissement
# SET   Terre surtout utilisée à des fins résidentielles en milieu urbain ou rural
# WIL   Terre où il est impossible de cultiver des arbres et qui ne subit pas l'incidence de l'activité humaine

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$AGR_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$AGR_km2_supdrainee_2020,  caract.bv2$Station)
# Pour Pok-05, environ 4 km2 d'AGR pour une superficie de 20 km2, soit 1/5 ou 20%.

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$IND_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$IND_km2_supdrainee_2020,  caract.bv2$Station)
# Pok-05 se démarque par des superficies plus grande d'industrie par rapport aux autres.

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$INF_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$INF_km2_supdrainee_2020,  caract.bv2$Station)

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$SET_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$SET_km2_supdrainee_2020,  caract.bv2$Station)

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$REC_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$REC_km2_supdrainee_2020,  caract.bv2$Station)
# La variable REC contient beaucoup de zéros.

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$WIL_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$WIL_km2_supdrainee_2020,  caract.bv2$Station)
# La variable WIL contient beaucoup de zéros.

# Couche Landbase, CAT=Forest, variable ORIG
# Origine du peuplement (B, C, F, N, W)
# B Burn        Brûlis
# C Clear cut (not partial cut)     Coupe à blanc (pas une coupe partielle)
# F Field       Champ
# N Natural Succession      Succession naturelle
# W Windthrow   2015    Chablis
# M Mining  2015    Mine
# G Windthrow   2015    Chablis

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$C_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$C_km2_supdrainee_2020,  caract.bv2$Station)
# AP 2024-06-24 Comment expliquer que Pok-03 présente de grandes superficies coupées
# alors que les bassin en amont en ont si peu

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$F_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$F_km2_supdrainee_2020,  caract.bv2$Station)

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$N_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$N_km2_supdrainee_2020,  caract.bv2$Station)

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$B_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$B_km2_supdrainee_2020,  caract.bv2$Station)

plot(caract.bv2$sup_drainee_km2_sbv, caract.bv2$NULL_km2_supdrainee_2020, pch="", xlim=c(0,120))
text(caract.bv2$sup_drainee_km2_sbv, caract.bv2$NULL_km2_supdrainee_2020,  caract.bv2$Station)
# Vérifier avec Emily ou Kyle ce que contient NULL
# Joindre le tableau des longueurs à celui des caractéristiques territoriales

dim(ordres) # 12 x 24
dim(caract.bv2) # 12 x 33

summary(ordres$Station)
summary(caract.bv2$Station)

bv1=merge(ordres,caract.bv2, by="Station", all=TRUE)
dim(bv1) # 12 x 56
24+33-1
# names(bv1)
summary(bv1$sup_km2_sbv)

subset(bv1, select=c(Station, sup_km2_sbv, Longueur_totale_m_sous_bassin))

plot(bv1$sup_km2_sbv, bv1$Longueur_totale_m_sous_bassin, pch="", xlim=c(20,40))
text(bv1$sup_km2_sbv, bv1$Longueur_totale_m_sous_bassin,  bv1$Station)
# Pok-07 est plus sec (moins bien irrigué) que les autres bassins 
# relativement à la taille du bassin (comme Pok-04).
# TODO Calculer les valeurs de longueurs pour POK3: 
# Manar s'en occupe.
# Joindre Pok2001.2022 (données de chimie) à bv1 (données de territoire
# comprenant les longueurs, ordres et couvertures)

dim(Pok2001.2022) 
# 192 x 86
class(Pok2001.2022$Station)
levels(Pok2001.2022$Station)
summary(Pok2001.2022$Station)

dim(bv1)
# 12 x 56
class(bv1$Station)
levels(bv1$Station)
summary(bv1$Station)

chimie.bv=merge(Pok2001.2022, bv1, by="Station", all=TRUE)
dim(chimie.bv) # 192 x 141
86 + 56 - 1

# Accepter le résultat:
Pok2001.2022 <- chimie.bv
dim(Pok2001.2022) # 192 x 405

# Supprimer les objets devenus inutiles

rm(ordres, caract.bv, caract.bv2, bv1, chimie.bv, test, test2)
strwrap("Charger le fichier des données météo de la station Bas-Caraquet
        que Manar a préparé.")
meteo=read.csv2("./meteo_Bac-Caraquet.csv")
dim(meteo)
# 16 x 57 le 2024-06-25
str(meteo)
summary(meteo)
meteo$Date<-as.Date(meteo$Date)
class(meteo$Date)
summary(meteo$Date)
# skim(meteo)
# DataExplorer::create_report(meteo)
# skim et DataExplorer ne donnent rien de plus que "summary" ou "str"...
barplot(rbind(meteo$precip.tot.2jours,
              meteo$precip.tot.7jours, 
              meteo$precip.tot.14jours,
              meteo$precip.tot.21jours), 
        col=c(1,2,3,4),
        beside=T,
        names.arg=meteo$Date,
        las=3,
        ylab="Précipitations totales (mm)",
        main="Précipitations cumulées 2, 7, 14 et 21 jours avant l'échantillonnage")
# col = c("darkblue", "red")
barplot(rbind(meteo$temp_min_C, meteo$temp_moy_C, meteo$temp_max_C), 
        col=c(1,2,3),
        beside=T,
        names.arg=meteo$Date,
        las=3,
        ylab="Température de l'air (°C)",
        main="Températures quotidiennes à Bas-Caraquet, min, moyenne, max")
barplot(rbind(meteo$Tmax2jours, meteo$Tmax4jours, meteo$Tmax7jours), 
        col=c(1,2,3),
        beside=T,
        names.arg=meteo$Date,
        las=3,
        ylab="Température de l'air (°C)",
        main="Moyennes des températures maximales sur 2, 4 et 7 jours avant l'échantillonnage")
strwrap("Manar a vérifié le 2024-06-26 sur le site d'Environnement Canada et a
        constaté que les données de température min max moy sont manquantes pour
        cette seule journée du 2022-07-28")
# Joindre les données de météo au tableau de chimie et territoire


# subset(Pok2001.2022, is.na(Date),select=c("Date","Station"))
# Il ne devrait pas manquer de dates

summary(Pok2001.2022$Date)
class(Pok2001.2022$Date)
dim(Pok2001.2022)
# 192 x 141

summary(meteo$Date)
class(meteo$Date)
dim(meteo) # 16 x 57

chimie.bv.meteo=merge(Pok2001.2022, meteo, by="Date", all=TRUE)

dim(chimie.bv.meteo) 
# 192 x 197 
141 + 57 -1


# Accepter le résultat
Pok2001.2022 <- chimie.bv.meteo
dim(Pok2001.2022)
# 192 x 197
# Sauvegarder le tableau dans le format RData
# save(Pok2001.2022, file="Pok2001.2022.RData")
# file.info("Pok2001.2022.RData")
# 28,8 Ko
strwrap("2024-06-26 Le tableau complet des données de chimie, 
        caractéristiques territoriales et météo est enfin assemblé
        et prêt à être analysé.")
## [1] "2024-06-26 Le tableau complet des données de chimie, caractéristiques"
## [2] "territoriales et météo est enfin assemblé et prêt à être analysé."
ggplot(Pok2001.2022,aes(x=temp_moy_C,y=Temp_eau_YSI_degC)) +
geom_point()
## Warning: Removed 14 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggplot(Pok2001.2022,aes(x=Temp_eau_YSI_degC,y=Conductivity_microS_cm)) +
geom_point()
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

sub2=subset(Pok2001.2022,!is.na(Temp_eau_YSI_degC),
            select=c(Ordre1_m_amont, Ordre2_m_amont,Ordre3_m_amont,
                    Temp_eau_YSI_degC, Conductivity_microS_cm, pH_units,SS_mg_L))

dim(sub2)
## [1] 190   7
pairs(sub2)

# Montrer la ressemblance (ou la distance) entre les stations
# en termes de température lors de la première campagne (2001-08-01)

y1=subset(Pok2001.2022,Date=="2001-08-01", 
          select=c("Station","Temp_eau_YSI_degC", "Conductivity_microS_cm",
                   "pH_units", "Colour_TCU","Carbon_Total_Organic_mg_L"))
dim(y1)
## [1] 12  6
class(y1)
## [1] "data.frame"
str(y1)
## 'data.frame':    12 obs. of  6 variables:
##  $ Station                  : Factor w/ 12 levels "Pok-01","Pok-02",..: 1 6 11 2 7 12 3 8 4 9 ...
##  $ Temp_eau_YSI_degC        : num  11.5 10.2 25.2 14.4 10.8 20.4 13.5 12.8 11.4 14.5 ...
##  $ Conductivity_microS_cm   : num  171 114 108 118 133 128 115 134 56.6 106 ...
##  $ pH_units                 : num  8.2 7.95 7.86 8.02 7.97 7.96 8.03 8.02 7.59 8.01 ...
##  $ Colour_TCU               : num  5 10 10 5 20 15 5 5 0 0 ...
##  $ Carbon_Total_Organic_mg_L: num  1.6 2.14 2.44 1.4 3 2.51 1.34 1.98 1.02 1.09 ...
summary(y1)
##     Station  Temp_eau_YSI_degC Conductivity_microS_cm    pH_units    
##  Pok-01 :1   Min.   : 9.00     Min.   : 56.6          Min.   :7.590  
##  Pok-02 :1   1st Qu.:11.25     1st Qu.:107.5          1st Qu.:7.883  
##  Pok-03 :1   Median :13.15     Median :116.5          Median :7.965  
##  Pok-04 :1   Mean   :14.07     Mean   :120.0          Mean   :7.947  
##  Pok-05 :1   3rd Qu.:14.65     3rd Qu.:133.2          3rd Qu.:8.020  
##  Pok-06 :1   Max.   :25.20     Max.   :171.0          Max.   :8.200  
##  (Other):6                                                           
##    Colour_TCU     Carbon_Total_Organic_mg_L
##  Min.   : 0.000   Min.   :1.020            
##  1st Qu.: 5.000   1st Qu.:1.308            
##  Median : 5.000   Median :1.500            
##  Mean   : 7.083   Mean   :1.758            
##  3rd Qu.:10.000   3rd Qu.:2.215            
##  Max.   :20.000   Max.   :3.000            
## 
summary(y1$Temp_eau_YSI_degC)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    9.00   11.25   13.15   14.07   14.65   25.20
# Utiliser png("titre"...) pour exporter un graphique.
# Ne pas oublier d'éteindre le moteur graphique avec dev.off()
# png("slide01_temp_1_axis.png", width=800, height=200, units="px", pointsize=12)
plot(0, xlim = c(0, 30),  axes=FALSE, type = "n", xlab = "", ylab = "")
axis(3, at = y1$Temp_eau_YSI_degC, labels = y1$Temp_eau_YSI_degC)
axis(1, at = y1$Temp_eau_YSI_degC, labels = y1$Station, las=3)

# dev.off()

# On peut dire que les station Pok-05 et Pok-04 se ressemblent.
# Au contraire, les stations Pok-05 et Pok-12 ne se ressemblent pas...
# du moins si on ne tient compte que de la température
# On considérant une 2e variable (2e dimenstion, 2e axe), on constate
# que Pok-05 et Pok-01 sont aussi différents que Pok-05 et Pok-
summary(y1$Temp_eau_YSI_degC)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    9.00   11.25   13.15   14.07   14.65   25.20
# png("slide02_temp_pH.png", width=800, height=800, units="px", pointsize=18)
plot(y1$Temp_eau_YSI_degC, y1$pH_units,pch="", xlim=c(7,28))
text(y1$Temp_eau_YSI_degC, y1$pH_units, y1$Station)

# dev.off()

# On pourrait répéter le processus avec 3 axes...
# Montrer la projection d'un stylo ou tout autre objet
# Montrer qu'il existe une orientation de l'objet qui permet 
# de maximiser l'information projetée en deux dimensions. 
# Couleur et carbone
summary(y1$Carbon_Total_Organic_mg_L)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   1.020   1.308   1.500   1.758   2.215   3.000
# png("slide03_couleur_COT.png", width=660, height=660, units="px", pointsize=18)
plot(y1$Carbon_Total_Organic_mg_L,y1$Colour_TCU,  pch="",xlim=c(0.5,3.5))
text(y1$Carbon_Total_Organic_mg_L,y1$Colour_TCU, y1$Station)

# dev.off()
cor(y1$Colour_TCU, y1$Carbon_Total_Organic_mg_L)
## [1] 0.9356861
cor(y1$Carbon_Total_Organic_mg_L, y1$Colour_TCU)
## [1] 0.9356861
# On pourrait créer un seul axe qui retiendrait 90% de l'info...
# Retenons que Pok-07 et Pok-12 présentent de fortes valeurs de COT et de couleur
# tandis que Pok-09 et Pok-04 présentent de faibles valeurs.
rownames(y1)=y1$Station

y1pca=subset(y1,select=c(Colour_TCU,Carbon_Total_Organic_mg_L))
pca1=prcomp(y1pca, scale=T)
summary(pca1)
## Importance of components:
##                           PC1     PC2
## Standard deviation     1.3913 0.25360
## Proportion of Variance 0.9678 0.03216
## Cumulative Proportion  0.9678 1.00000
# png("slide04_pca_couleur_COT.png", width=700, height=700, units="px", pointsize=18)
biplot(pca1)

# dev.off()
# On retrouve le même groupement de stations le long du premier axe
# qui renferme 97% de la variation conjointe.
y2pca=subset(y1,select=c("Temp_eau_YSI_degC", "Conductivity_microS_cm",
                   "pH_units", "Colour_TCU","Carbon_Total_Organic_mg_L"))
pca2=prcomp(y2pca, scale=T)
summary(pca2)
## Importance of components:
##                           PC1    PC2   PC3     PC4     PC5
## Standard deviation     1.5550 1.2235 0.911 0.44970 0.22983
## Proportion of Variance 0.4836 0.2994 0.166 0.04045 0.01056
## Cumulative Proportion  0.4836 0.7830 0.949 0.98944 1.00000
# png("slide05_pca_5_params.png", width=800, height=800, units="px", pointsize=18)
biplot(pca2)

# dev.off()

# On pourra distinguer les années, saison ou stations lorsque le jeu de
# données complet sera utilisé, grâce à "autoplot"
autoplot(pca2, label=T, data=y1, 
         size=3, colour="Station", shape='Station', loadings=T, 
         loadings.label=T, loadings.label.size=4) +
 scale_shape_manual(values=1:nlevels(y1$Station)) +
  theme_bw() + 
  theme(legend.position = "bottom") + 
  ggtitle("ACP, 5 paramètres 2001-08-01")

strwrap("La précédente ACP suggère que le pH et la conductivité sont liés. 
        Voyons voir avec un grahpique de dispersion.")
## [1] "La précédente ACP suggère que le pH et la conductivité sont liés."
## [2] "Voyons voir avec un grahpique de dispersion."
plot(y1$Conductivity_microS_cm, y1$pH_units, pch="")
text(y1$Conductivity_microS_cm, y1$pH_units, y1$Station)

strwrap("Les eaux douces sont plus saturées en CO2 (respiration microbienne, etc.) et donc
        plus acides ques les eaux marines où l'activité photosynthétique peut-être plus élevée...
        À vérifier ou confirmer.")
## [1] "Les eaux douces sont plus saturées en CO2 (respiration microbienne,"
## [2] "etc.) et donc plus acides ques les eaux marines où l'activité"      
## [3] "photosynthétique peut-être plus élevée...  À vérifier ou confirmer."

INTRO

Les eaux des rivières ont de multiples usages pour les humains. Cette ressource naturellement est un facteur très important dans le développement territorial, elle participe au développement économique, social et environnemental. Influencer par différents indicateurs environnementaux ils affectent les propriétés et composition physico-chimique qui détermine la caractéristique et la qualité de cette eau. Généralement, elles sont destinées à servir à plusieurs fins comme diverses activités très importantes dans la vie quotidienne et des activités économiques d’un territoire, en particulier l’irrigation, l’approvisionnement en eau, la pêche et l’agriculture, etc.

Parmi les nombreux facteurs qui influences la qualité des eaux de surface dans leur ensemble deux de ces facteurs sont les vecteurs principaux des impacts liés à la qualité des eaux. On distingue la croissance démographie et l’urbanisation. Ces deux facteurs proviennent de la transformation des terres qui est la résultante de différents secteurs et facteurs liées à l’environnement, au climat et aux activités humaines. Ont à la population (la démographie), l’urbanisation, l’industrialisation, la topographie, le tourisme, les politiques d’aménagement, la construction, la migration, le changement climatique, la distance avec le littoral, etc. Tous sont des facteurs de transformation des terres et surtout des terres côtières. L’augmentation de la population à l’échelle mondiale, les facteurs de développement des zones urbaines, la concentration industrielle et le tourisme sont les éléments qui propulsent la transformation des terres primaires et naturelles. 25% des études nous démontre que les transformations des terres côtières sont à l’origines de la démographie et de l’urbanisation. 37% des études couvres l’impact de ces transformations avec précision dans treize 13 domaines. L’agriculture, l’aquaculture, la température de l’air, le stock de carbone, la sécheresse, l’écosystème, les inondations, les glissements de terrain, la température de la surface terrestre (LST) qui font 8,3% des études. 5% pour la migration et l’occupation, la population, les intrusions de la salinité et la qualité de l’eau font 3,3% des cas d’études. Tandis que 13,3% des cas étudier sont sur la cause de la transformation causé par la dégradation des écosystèmes naturels qui sont aussi à l’origine des inondations et des glissements de terrains. Ces conséquences déséquilibrent la biodiversité et engendrent l’extinctions de diverses espèces. Seulement 4% des études visent les stratégies d’adaptation face aux conséquences de transformation de ces terres {Nguyen, 2024}.

MÉTHODES

Description du site à l’étude:

La rivière Pokemouche est située au nord-est du Nouveau-Brunswick, dans le bassin versant de la péninsule acadienne. Elle s’étend sur une longueur d’environ 41 kilomètres avec une superficie d’environ 20,8 km². L’entourage de la région est constitué d’un mélange de zones urbaines, agricoles et naturelles. La rivière Pokemouche est généralement alimentée par les précipitations, la fonte des neiges et les eaux de ruissèlement, avec des débits saisonniers qui varient de manière très considérable. Elle traverse plusieurs terres par son étendue, notamment des zones boisées, des terres agricoles et des zones urbaines, ce qui peut impacter la qualité de l’eau. Nous avons aussi l’agriculture, l’industrie et l’urbanisation qui sont des activités dans le bassin versant qui peuvent aussi influencer la qualité de l’eau de la rivière.

Le suivi de la qualité de l’eau de la rivière Pokemouche a été effectué en deux temps, en 2001-2002 et en 2021-2022 soit 20 ans après à douze stations situées pour la plupart à l’embouchure des tributaires de la branche principale. Le choix des stations a été déterminé par l’équipe du Cgerp lors de sa fondation en 2001, et le premier rapport du groupe ne donne pas de détails sur les raisons qui ont motivé l’emplacement des stations (cgerp_comite_2003?). Nos données ont été collectées à partir de 12 stations de surveillance réparties tout au long de la rivière, de l’amont à l’aval suivant le sens de l’écoulement de la rivières (de l’est à l’ouest), avec des prélèvements effectués 4 à 5 fois par an pour observer le dessin de la variation saisonnière (été vs automne) et celle observé en 20 ans plus tard.

AP 2024-06-19 Parler à Jean-Luc pour en savoir plus sur ce qui a guidé la sélection des stations.

Le bassin dans son ensemble

Un bassin hydrographique, encore appelé bassin versant, est une surface géographique délimitée par des courants et des lignes d’eau, se déversant les unes dans les autres, constituée d’un point plus haut qui est l’amont et d’un point le plus bas qui est l’aval ( référence ). Au Nouveau-Brunswick, le règlement sur la classification des eaux ( référence ) se regroupe en eaux souterraines et eaux de surface. Nous distinguons les cours d’eau comme les rivières et leurs tributaires ; les lacs, les étangs, les réservoirs et les eaux des milieux humides. Nous pouvons y ajouter aussi des eaux estuariennes qui sont des zones stratégiques où une rivière rencontre et dilue l’eau marine, et l’eau dans les terres humides associée à ces estuaires (GNB, Classification des eaux du N-B, 2002).

Le bassin hydrographique de la rivière Pokemouche couvre environ 504 km2 et peut être divisé en 12 sous-bassins versants. Le bassin hydrographique de la péninsule acadienne couvre environ 504 kilomètres carrés, avec une superficie de 44,316 hectares. 75% de ces terres sont des terres privées et 25% représentent l’ensemble des terres de l’État ( _référence__ ). Le bassin hydrographique de la rivière Pokemouche abrite à peu près 13,000 personnes composées de deux villages, Paquetville et St-Isidore, dans une zone profondément rurale. Dans le bassin, les populations sont des pêcheurs, des travailleurs dans les tourbières, des agriculteurs et des propriétaires de terres boisées (cgerp_comite_2003?).

Description de la disposition des stations

Les stations sont disposées stratégiquement, réparties de l’amont à l’aval et sur toute l’étendue de la rivière afin de permettre d’avoir une vision de la variation et de l’évolution de la qualité de l’eau sur toute sa longueur. Au total, nous disposons de 12 stations, la plupart étant situées sur les différents ruisseaux qui se déversent dans le cours d’eau de la rivière Pokemouche.

Nos données Les rivières à l’étude ont été échantillonnées quatre fois par année en 2001, 2002, 2021, 2022 en été et en automne, sur ces 12 stations soit le 1er août, le 1er septembre, le 1er octobre et le 1er novembre. Cet été 2024, nous allons collecter davantage de données liées à la composition du territoire, les données géospatiales, quelque données physico-chimique et poursser les annalyses statistiques.

AP 2024-06-19 Expliqure au lecteur l’ordre dans lequel tu présentes les stations. Toujours suivre le même ordre pour ne pas fatiguer le lecteur.

Station 06 :

La station 06 est alimentée par le ruisseau Morisson, qui est d’ordre trois (03). À cette station, on note un fond sableux ; la berge est érodée et grugée par l’eau du ruisseau. Cela est souvent dû à des facteurs tels que l’écoulement, la variation saisonnière, la composition du sol, etc. La berge de la station 06 est entourée de graminées et d’arbustes. Un peu plus loin sur la berge, on peut voir des groseilles pousser, ainsi que des conifères et des épinettes.Sa largeur est de 4,3m.

La station 06 se trouve aussi dans une zone de culture de bleuetière, où un vaste territoire a été déboisé, une autre pour la culture et une autre en forêt naturelle. Sur la station six (06) avait été installé le barrage de castor et un pont construit sur la station qui sert de passage, mais qui a été détruit ainsi que le barrage. D’un autre côté, le fond là où la largeur du ruisseau se réduit, l’eau a un fond rempli de gravier. On a des dépots de particules dans le fond de notre ruisseau. On a la présence d’érosion sur la station avec une session très travaillés pour l’infrastructure routière. La surface de notre ruisseau est plainnement à lair libre.

Station 04:

La station 04 est la tête de notre rivière et le ruisseau de cette station est d’ordre trois (03). Cette station est située dans une zone de culture de bleuetière. Tout à côté de la station, il y a une route en terre fréquentée pour accéder au site de bleuetière. Sur les berges de la station, il y a la présence de colonies de mousse (sphaigne) avec des peupliers des marais en début de floraison. Sur notre station est installé un ponceau et un îlot. La station est plus profonde que la station 06, un barrage de castor y avait été installé 9 ans en arrière, ce qui a créé de l’érosion sur la station. Le fond de la station est constitué de gravier et d’aulnes à côté. Sur la berge, on trouve des algues et de la boue, ce qui pourrait expliquer la présence d’une source à proximité. La station est humide en raison de la présence de sphaigne. Sur cette station on à des algues dans le fond de l’eau. Sa largeur est de 7m. La surface de notre ruisseau est plainnement à lair libre.

Station 09

La station 09 est une station située au milieu d’une zone d’arbustes un peu naturelle. Elle est drainé par le ruisseau de trout qui est un ruisseau d’ordre trois (03. Juste à côté de la station, il y a une route pour piétons. Le fond de l’eau est sableux avec la berge érodée et on observe des graminées et des arbustes sur la berge. Le fond de l’eau est clair et présente une transparence à la lumière. Sur les berges ont poussé des groseilles. La surface de notre ruisseau est pleinement à l’air libre.

Station 03:

La station 03 est drainée par un ruisseau d’ordre 05. Elle est située sur un territoire naturel modifié. Le territoire a été déboisé des dizaines d’années en arrière, ce que nous devons confirmer avec la carte cartographique. À côté de la station, il y a une route qui y donne accès et est souvent fréquentée par les voitures, les pêcheurs et autres. La berge de notre station est rocheuse avec un fond aussi rocheux (des roches difficilement altérables) et en pente. C’est un milieu pleinement inondable qui est submergé d’aulnes et absence de ponceau. Il y a aussi la présence de tonneaux et l’apport d’eau souterraine. Sur la station, on observe aussi les ligneux qui sont en tas et le débit au niveau de la station est très fort et bien plus profond que les autres stations. La zone de cette station contien des habitat non loins avec des fermes de boeuf

Station 01:

La station 01 est une station d’ordre 04 alimenté par le ruisseau de haute bouche sud. Directement située à côté d’une grande route de bitume. La station est alimentée par un ruisseau d’ordre quatre (04). Elle est située en bordure d’un milieu forestier, où on voit des épinettes, des sapins et des bouleaux. L’eau de la station n’est pas transparente, le fond est vaseux et peu profond. Le fond est aussi sableux avec des roches et des algues. Sur les berges, de petits arbustes et ensuite des roches (facilement dégradables) qui séparent la station de la route. Deux ponceaux de deux mètres de diamètre y sont installés. La surface de l’eau est couverte par le feuillage et est à l’ombre de la lumière sur un côté et la bordure forestière qui se trouve du côté droit de la station. Une deuxième partie de la station est à ciel ouvert. L’entourage est dominé par les aulnes et semble être une plaine humide.

Station 08:

La station 08 est une station drainée par le ruisseau Swell, qui est un ruisseau d’ordre trois (03). La station a été déboisée en 2022 et 2024. Cette station a son ruisseau à ciel ouvert, complètement exposé à la lumière. Elle est située aussi à côté d’une grande route de bitume avec une pente en pic de la route vers la station. Elle se retrouve au centre des arbustes pleins sur un côté et déboisé sur un deuxième côté. On y retrouve des bouleaux, des conifères, etc. Il est observé plusieurs débris ligneux très peu dégradés. Un milieu découvert sans végétation couvrante et présence des aulnes. Présence d’un seul ponceau. Le fond de cette station est très vaseux.

Station 02:

La station 02 est une station située à côté d’un pont pour piétons et cyclistes. Elle est drainée par le ruisseau Suggary et est un ruisseau d’ordre trois (03). La berge de la station est constituée de graminées, de bétulacées et de conifères. À proximité, il y a un chemin de terre qui a été aménagé pour les voitures. Un petit habitat à côté et un peu plus loin la grande route. Sur la station, il y a un ponceau d’environ deux (02) mètres de diamètre, le fond de cette station est sableux et étirant avec des algues dans le fond. Sur le site, on a une grosse averse, sur un côté, on a un versant plus à pic qui se verse directement dans le ruisseau. Autour, un territoire rempli de petits arbres et sur le côté de la pente du ruisseau, des arbres plus fréquents.

Station 05 :

La station 05 est aussi située sur un ruisseau d’ordre 03 et drainée par le ruisseau McConnell. La station se trouve sur le sentier de VTT, un territoire fréquenté à pied ou à vélo. Elle est située à côté d’un pont en métal qui n’influence pas fortement la station. C’est une station complètement à ciel ouvert. Les berges sont entourées de petits arbustes avec moins de sable sur elles à cause du niveau de l’eau qui est plus haut. Sur cette station, on y trouve un pont en bois qui n’influence pas le milieu et l’écoulement de l’eau. On enregistre une dominance des aulnes, des graminées. Cette station est en plaine inondable. Sur la berge, on y trouve des bouleaux et des épinettes. Sur la station, le courant d’eau semble très faible où on rencontre une différence pour déterminer l’amont et l’aval. Présence des algues dans le fond de l’eau.

Station 07:

La station 07 est une station drainée par le ruisseau Waegh, qui est un ruisseau d’ordre trois (03). La station est à ciel ouvert et située à côté d’un pont en bois juste pour piétons. Dans le fond de l’eau, on observe la présence de plantes qui poussent en hiver sur l’eau. On a aussi la présence de grenouilles sur les lieux. La station 07 se trouve sur un territoire fortement aménagé et dont l’eau est canalisée de manière naturelle. L’eau est transparente et laisse passer la lumière. L’écoulement est normal à vue d’œil et sur les sites, on a une installation de ferme de porcs un peu plus loin. La nature présente des arbustes sur un côté de la station, les berges sont bien solides et le fond de l’eau aussi avec des graviers dans le fond de l’eau. La station est loin des routes et un peu sur un endroit très fréquenté par les humains et les pêcheurs.

Station 11:

La station 11 est une station drainée par le ruisseau Maltempec, qui est un ruisseau d’ordre trois (03). Elle est située en plein milieu de la forêt, un peu loin des routes et des infrastructures. Tout autour de la station, on voit des arbustes. Sur les berges, on remarque des débris d’arbres et de bois. L’eau de la station n’est pas profonde, le fond est sableux. Sur le site, il y a des plantes aquatiques, un ancien barrage y était installé, le tributaire de Maltempète se trouve à 100 mètres de la station. La station est à ciel dégagé. Un peu plus loin, on a des résidences, des forêts naturelles très naturelles loin des infrastructures.

Station 10:

La station 10 est une station drainée par le ruisseau Maltempec, qui est d’ordre trois (03). L’étendue de la rivière se trouve à ciel ouvert et est située directement à côté d’une autoroute. À la station, l’eau est peu profonde avec un fond sableux et des débris au fond. Sur les berges de la station, le sol est un bas-fond, très humide et boueux. La présence de plantes des zones très humides y pousse en grande quantité. De l’autre côté de la station, il y a une forêt, et elle présente une configuration d’une plaine du côté de la route. On observe la présence d’arbres qui poussent avec un léger débordement de branches vers la rivière.

Station 12:

La station 12 est une station drainée par le ruisseau Dempsey, qui est d’ordre trois (03). La station est très profonde, plus que toutes les autres stations étudiées. Le fond de l’eau est très vaseux et boueux. Il a tendance à s’affaisser. Elle est directement à côté d’une grande autoroute et un ponceau en béton y a été construit en 1996. Sur les berges, il y a la présence de roches qui ont été placées à cause de l’aménagement du site. La largeur du site a été estimée à environ 15 mètres car la profondeur et la densité de l’eau au fond du ruisseau sont très denses. À la surface de l’eau, on a du mal à déterminer le sens de l’écoulement de la station. L’aval du ruisseau est à ciel ouvert alors que l’amont est rempli d’arbres qui lui font de l’ombre. La végétation sur la station est déboisée. Dans le fond du ruisseau, on trouve des débris.

station 4

la station 04 est une station situé sur un territoire vaste a coté de culture de bleuetière. un territoire vastement déboisé. La station 04 a sont cours d’eau à ciel ouvert avec une eau peu profond. Sur cette station il y à la présence des mousses, présences de gravier (une roche non dégradable) avec une présence des algues avec une berge très boueuse. ce qui la caractérise d’une station humide, absences de roche dégradable ou altérable.

station 08

Comme la station 08 est à exposée avec le ciel, et une route à coté et des matières en dissous dans le fond. Il a aussi un fond vaseux prèsque meme caractéristique que la station 01 mais juste qu’ici la suface ou l’étendure de l’eau est petit avec une petie l’argeur et très peuprofond

Sation 07

Elle présente le meme cas mais jusque en 2001-2002 la conductivité est très peu variable casi négligeable ce qui peut etre la cause de l’absence de route, un territoire très boisé, moin exposé au soleil, reaménagé et sans des particule ou substance dissous dans le fond. Juste une présence de pond pour piéton qui influence très peu la rivière à ce niveau.

Cgerp et les échantillonnages réalisés

Le comité de gestion environnementale de la rivière Pokemouche a effectué les premiers échantillonnages que j’ai à ma disposition. Cette base de données est constituée de 56 paramètres étudiés, tous prélevés quatre à cinq fois chaque automne et été en 2001-2002, qui constitue une première période d’échantillonnages, et en 2021-2022, qui constitue une deuxième période. C’est sur ces données que nous allons nous appuyer pour étudier la variation de la qualité de l’eau sur une période de 20 ans, en regardant les variations inter-annuelles pour chaque période, ainsi que les variations saisonnières. Ces échantillonnages ont été effectués avec la même méthodologie à la surface de l’eau, car la rivière Pokemouche est peu profonde, soit environ un mètre de profondeur. Cela signifie que la qualité de l’eau en profondeur de la rivière sera quasiment la même qu’en surface.

Les analyses ont été faites dans les laboratoires… en suivant la méthode… La limite de détection des paramètres…

Description des paramètres physico-chimiques à l’étude

Parmi les 56 paramètres qui ont fait l’objet d’un suivi, nous allons décrire les plus importants, soit ceux qui influencent le plus la qualité de l’eau de notre rivière et dont j’aimerais étudier la variation. Ces paramètres sont répartis en trois groupes différents, dont les paramètres physico-chimiques comme la température, le pH, la turbidité (NTU), la conductivité, l’oxygène dissous, les nutriments, etc. Les paramètres biologiques, tels que les coliformes fécaux, et les métaux comme le plomb (Pb), le cadmium (Cd), le mercure (Hg), et le zinc (Zn), etc. (Bricha, S., Ounine, K., Oulkheir, S., El Haloui, N., & Attarassi, B. 2007).

La température:

La température de l’eau est mesurée en degrés Celsius (°C) ou en degré Kelvin (K), mais dans notre étude, elle sera en degrés Celsius. Elle varie en fonction des saisons, de la profondeur à laquelle elle est mesurée, ou même de sa proximité des sources de chaleur, comme l’exposition au soleil ou même des activités humaines. La température de l’eau a un impact sur la solubilité des gaz, la croissance des organismes aquatiques, et la chimie de l’eau.

Le pH:

Le pH mesure l’acidité ou l’alcalinité de l’eau. Nous le mesurons sur une échelle de 0 à 14, où 7 est neutre, tout pH inférieur à 7 est acide et supérieur à 7 est basique. Le pH de l’eau peut affecter la disponibilité des nutriments, la toxicité des métaux lourds, la santé des organismes aquatiques, et la disparition de certaines espèces.

La turbidité

La turbidité consiste à mesurer la clarté de l’eau en mesurant la quantité de particules en suspension. Elle est souvent mesurée en unités de turbidité (NTU). Lorsque la turbidité est élevée, cela peut être causé par des sédiments, des particules organiques, ou des polluants, et peut affecter la transmission de la lumière à travers l’eau, la photosynthèse, et la santé des écosystèmes aquatiques.

La conductivité:

La conductivité mesure la capacité de l’eau à conduire le courant électrique, ce qui est influencé par la présence de minéraux dissous, tels que les sels et les métaux (comme les océans). Elle est souvent mesurée en microsiemens par centimètre (µS/cm) ou en millisiemens par centimètre (ms/cm). La conductivité de l’eau peut nous permettre de savoir s’il y a présence de contaminants, et dans certains cas, nous pouvons l’utiliser comme indicateur de la salinité ou de la dureté de l’eau.

L’oxygène dissous

L’oxygène dissous mesure la quantité d’oxygène dissous dans l’eau, nécessaire à la respiration des organismes aquatiques. Nous le mesurons en milligrammes par litre (mg/L) ou en pourcentage de saturation. Le niveau d’oxygène dissous varie en fonction de la température, de l’altitude, de la pression atmosphérique, et de la présence de matière organique ou de polluants dans l’eau.

La couleur

autreschoses

Les nutriments, tels que l’azote (sous forme de nitrate, nitrite, ammonium) et le phosphore (sous forme de phosphate), sont essentiels à la croissance des plantes aquatiques et des algues. Cependant, un excès de nutriments peut entraîner une propagation excessive d’algues, appelée eutrophisation, ce qui peut entraîner une diminution de l’oxygène dissous et des problèmes de qualité de l’eau.

les coliformes

Les coliformes fécaux sont des bactéries qui sont généralement présentes dans les intestins des animaux (y compris les mammifères, dont les humains) et se retrouvent fréquemment dans les matières fécales. Ils sont souvent utilisés comme indicateurs de contamination fécale dans l’eau, car leur présence indique la possible présence de pathogènes d’origine fécale qui peuvent être dangereux pour la santé humaine. Les coliformes fécaux sont généralement exprimés en nombre de colonies formant unités (CFU) par 100 millilitres (ml) d’eau. Une concentration élevée de coliformes fécaux dans l’eau peut indiquer une contamination fécale récente et un risque potentiel de maladies d’origine hydrique. Cependant, il est important de noter que la présence de coliformes fécaux dans l’eau ne signifie pas nécessairement qu’elle est dangereuse pour la consommation, car d’autres facteurs, tels que le type de coliformes présents et la présence de pathogènes spécifiques, doivent être pris en compte.

Les métaux :

Ces éléments que nous allons vous décrire sont des polluants courants dans l’eau qui peuvent avoir des effets néfastes sur la santé humaine et celle des écosystèmes aquatiques. Le Plomb (Pb) : Le plomb est l’un des métaux lourds toxiques qui affectent souvent notre système nerveux, les reins, le sang et le développement du cerveau, surtout chez les enfants. Il provient généralement de la corrosion ou de l’altération des tuyaux en plomb, des conduites d’eau et de diverses activités industrielles.

Le Cadmium (Cd) : Le cadmium est également un métal toxique qui provoque des problèmes rénaux, des troubles osseux et des dommages pulmonaires. Il est souvent associé à des activités industrielles telles que la production de batteries, l’exploitation minière et le traitement des métaux.

Le Mercure (Hg) : Le mercure est l’un des métaux lourds qui a des effets toxiques sur notre système nerveux central, les reins et le système immunitaire, entre autres. Il est souvent associé à la combustion de combustibles fossiles, à la production de chlorure de vinyle et à d’autres activités industrielles.

Le Zinc (Zn) : Le zinc est un oligo-élément essentiel à de nombreux processus biologiques, mais à des concentrations élevées dans l’eau, il devient toxique pour les organismes aquatiques. Le zinc provient de diverses sources, notamment des activités industrielles, de l’agriculture et de l’érosion des sols.

Nous mesurons ces éléments en microgrammes par litre (µg/L) conformément aux réglementations et normes strictes qui limitent les concentrations de ces métaux dans l’eau potable et les eaux de surface pour protéger la santé humaine et l’environnement. En général, tous ces paramètres sont essentiels pour évaluer la qualité de l’eau et comprendre l’état des écosystèmes aquatiques.

RÉSULTATS ET DISCUSSION

AP 2024-06-19 Dans la description des variations, toujours essayer de suivre le même patron: 1) un énoncé ou deux sur la variabilité entre stations et entre périodes (box-plot); 2) un énoncé sur la variabilité saisonnière (graphique des campagnes); 3) un énconé sur les recommandations canadiennes; 4) un énoncé sur les valeurs obervées comparées au recommandations canadiennes.

Température, variabilité spatiale

Variations de la température entre les douze stations à l'étude (présentées de l'ouest vers l'est) pour la période 1 (2001, 2002) et 2 (2021-2022)

Variations de la température entre les douze stations à l’étude (présentées de l’ouest vers l’est) pour la période 1 (2001, 2002) et 2 (2021-2022)

Commentaire:

Il n’y a pas de différente systématique de température entre les deux périodes. Certaines stations ont été échantillonnées à des periodes chaudes comme la station 11 (Maltempec) et à des periodes froides comme la station 09 (Trout).

Les températures en 2021-2022 indique une une plus grande variabilité par rapport à celle de la période 2001_2002.

Des moustaches plus longues indiquent une plus grande variabilité dans les données.

Les moustaches son plus grande et présent sur tout les stations en 2001_2002 qu’en 2021_2022 ce qui indique une grande variabilité.

On observe plus de valeurs abérrantes et uniqument sur les stations en 2001_2002. Ce qui indique des anomalies ou une variabilité extrême sur les stations 02, 03, 08, 12, 11 et 07.

Graphique de la variation de la Température sur chacun des station en 2001

Commentaire du graphique 2001:

On observe une baisse de la température de la fin de la saison d’été jusqu’a la fin de l’automne et ce à toutes les stations. Les température ont variés entre 25 et 4 dégré. La plus grande température est observé à la station 11 sur tout la saison d’analyse. À la station 4 la température était la 3eme station la plus basse à la fin de l’été et à la fin de l’automne elle est devenu la température la plus élévé avec la station 11 Contrairement au autre sts, la temp à la st 11 était la plus faible à la fin de l’été et a augmenté durant la saison avant de baisser à la fin de l’automne. La temp sur tous les stations ont baissé de 60%

Graphique de la variation de la Températures sur chacun des stations en 2002

Commentaire du graphique 2002:

En 2002 la temp est compris entre 4 et 15 dégré de la fin de l’été à la fin de l’automne. La station 2 detient la plus grand Temp a la fin de l’été avant de baissé à la fin de l’automne pour laisser place à la plus grand temp à la station 4 qui avait la plus faible temp sur tous les stations à la fin de l’été. La temp sur tous les stations ont baissé de 100%

Graphique de la variation de la Température sur chacun des stations en 2021

Commentaire du graphique 2021:

La temp a baisser sur tout les stations. la station 4 et 2 à la fin de l’été ont la plus faible temp mais c’est les stations 3 et 6 qui était parmis les plus grande temp à la fin de l’été qui on baissé et sont devenir les plus basses temp de tout les station a la fin de l’automne. en 2021 la temp est comprise entre 6 et 16 dégré. La temp sur tous les stations ont baissé de 85%

Graphique de la variation de la Température sur chacun des stations en 2022

Commentaire du graphique:

La temp a baissé sur tous les stations commes dans tout les autres années. la temp a varié entre 4 et 17 dégré. La temp sur tout les stations ont baissé de 80%

Graphique de la variation de la Température sur chacun des stations entre period: 2001_2002

Commentaire du graphique 2001_2002:

La temp a baisser au meme niveau que la temp de l’air d’aout en novembre pour les deux années. À la station 4 les temp etait les plus faible dans les trois premiere prélevement avant la fin de l’automne pour etre la plus grands de tout les autre station a la fin de chaque automne lors des deux années.

Graphique de la variation de la Température sur chacun des stations entre period: 2021_2022

Commentaire du graphique 2021_2022: La temp a baissé aucours des deux saisons. la plus basse temp a été observé en 2022 et la plus haute en 2021. En 2022 la temp a baisé de 11% par rapport a la temp en 2021. En 2021 les temp ont varié entre 17,5 et 6. En 2022 entre 4 et 16.

Les 04 graph en un pour la Température.

Autre manière de voir les variations saisonnières sur quatre années:

traiter la date comme “Campagne no” (voir la création de la variable “Campagne” au début du script).

## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Commentaire du graphique des quatre années :

La différence de température est systématique sur les deux périodes :

La température a plus baissé le 1er novembre 2001 et 2002 que les températures du 1er novembre 2021 et 2022, et ce sur toutes les stations.

Les stations 11 (Malt) et 12 (Dempsey) ont les températures les plus élevées le 1er août 2001 et les années suivantes, la température n’a plus augmenté jusqu’à ce niveau.

La température en novembre 2001 et 2002 a baissé plus que les températures de novembre 2021 et 2022.

La station 08 (Sewell) présente la température la plus basse dans la période 01 et la station 02 (Suggary) dans la période 02.

Les températures ont baissé en pic lors de la période 01 et de manière légèrement constante dans la période 02.

Les questions auxquelles on peut répondre :

La température qui a baissé en pics lors de la période 01 a-t-elle influencé certains paramètres ? Ont-elles été causées par des facteurs météorologiques, climatiques ou des causes territoriales à prendre en compte ?

Remarque :

La station 12 est à ciel ouvert et sur un côté à un territoire déboisé et de l’autoroute, et plus on a moins d’arbres, moins on a de pluie et plus la température est élevée. Mais ce déboisement a eu lieu en 2023, qu’en est-il du territoire en 2001 ? Mais la station 11 est en plein milieu de la forêt.

Oxygène dissous

variabilité spatiale : Oxygène dissous

##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
##   4.420   8.500   9.585   9.636  10.787  13.130       2

Commentaire:

La teneur en oxygène dissous de la period 2001-2002 est généralement plus basse que la teneur en oxygène dissou de la periode 2021-2022.

La norme canadienne des recommandations du CCME (Conseil canadien des ministres de l’Environnement) dit que pour:

L’eau d’une rivière, d’un ruisseau ou d’un cours d’eau en période d’été ou à une à une température normal doivent avoir une teneur en oxygène dissous de 6mg/l pour les petites espèces biologique à un niveau rudimentaire et de 5,5mg/l pour les espèces a un niveau superieur.

L’eau des montagne, situé dans les endroits en haute altitude ou en période de froid (hivernale) doivent avoir une teneur en oxygène dissous de 9,5mg/l pour les petites espèces biologique à un niveau rudimentaire et de 6,5 mg/l pour tout les autres espèces.

Nos valeur varient entre 4,420mg/l et 13,130mg/l d’oxygènes dissous sauffe quelque valeur abérente observé sur les station 09 et 12.

Graphique de la variation de l’oxygène dissous sur chacun des station en 2001

Commentaire du graphique 2001:

Dans l’ensemble, les stations ont vu leur concentration en oxygène diminuer d’environ 1-2 mg/L entre le 1er août 2001 et le 1er novembre 2001. La station 10 (Pollard) a gardé une allure presque constante (peu variable et faible), tandis que la station 02 (Suggary) a connu une baisse continue et linéaire, avec la plus faible teneur en 2001. Quant à la station 05 (M Conell), ayant la teneur la plus élevée, elle a baissé en piqué jusqu’au début de l’automne pour devenir presque constante. La teneur en oxygène dissous à varié entre 7,3mg/l et 12,1mg/l en 2001

Graphique de la variation de l’oxygène dissous sur chacun des stations en 2002

Commentaire du graphique 2002:

En 2002, les variations saisonnière d’oxygène étaient synchrone entre les stations. La stations Suggary étant la plus oxygénée et la station Dempsey la moins oxygénée.

La station 09 a varié avec des baisse et hausse aigu ayant la plus faible teneur le 1er octorbre 2002. La station 06 a varié prèsque a la constance avec le plus haute teneur de meme que la station 06. Les variation saisonnière en 2002 sont comprise entre 4,42mg/L et 11,240mg/L. Ce graphique nous renseigne sur une faible teneur en oxygène en 2002 par rapport à l’an 2001, et avec une plus baisse teneur en 2001.

Graphique de la variation de l’oxygène dissous sur chacun des stations en 2021

Commentaire du graphique 2021:

À tous les station on observe une hausse sur toute les saisons. 20 années après en 2021 la teneur en oxygène dissous est comprise entre 7,94mg/L et 12,14mg/L comme en 2001. À la station 10 (Pollard) on observe une grande baisse d’environs (50%) et une forte teneur à la station 02 (Sugarry) et 09 (Trout) toujours augmentant avec les plus grande teneur.

Graphique de la variation de l’oxygène dissous sur chacun des stations en 2022

Commentaire du graphique:

On remarque d’abord par rapport au autres années que la teneur en oxygène dissous a plus été élevé et est comprise entre 8.28mg/L et 13.13mg/L. La teneur à tous les station ont connu de faible variation prèsque linéaire, contrairement à la station 07 et 10 qui ont connu le plus de baisse (45%)et(50%) à la fin de la saison. La station 02 a la fin de la saison à la plus haute teneur et la station 06 à coté.

Graphique de la variation de l’oxygène dissous sur chacun des stations entre period: 2001_2002

Commentaire:

Graphique de la variation de l’oxygène dissous sur chacun des stations entre period: 2021_2022

Commentaire du graphique 2021_2022:

On remarque que la variation périodique de 2021 à 2022 est comprise entre 7mg/L et plus de 13mg/L. On constat que malgré la variation saisonnière de hausse et de baisse qui se remarque sur les stations entre les deux année a augmenter. Sur cette période on remarque bien l’allure de la station 01 qui à connu de forte baisse et hausse avec la plus faible teneur de la période et la station 02 avec la plis forte teneur durant la période.

Graphique de bas niveau: syntax simple, mais possibilités plus limitées Plutôt que de créer 48 sous-tableaus (12 stations x 4 années), contrôler la fenêtre temporelle avec “xlim” pour chacune des 12 stations…

Les 04 graph en un pour l’oxygène dissous.

Autre manière de voir les variations saisonnières sur quatre années:

Traiter la date comme “Campagne no” (voir la création de la variable “Campagne” au début du script).

## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Commentaire du graphique des quatre années :

La teneur en oxygène dissous a considérablement baissé sur toutes les stations en octobre 2002. L’eau est très faiblement oxygénée sur toutes les stations en octobre 2002.

Les plus faibles teneurs en oxygène sont celles enregistrées sur la station 09 (Trout) et 12 (Dempsey).

Lors de la période 01 en 2001, la teneur en oxygène a baissé de manière synchronisée sur toutes les stations durant toutes les saisons. En 2002, lors de la période d’été, l’eau est très oxygénée sur toutes les stations et en automne, l’eau est devenue très faiblement oxygénée sur toutes les stations. Alors qu’en la deuxième période (2021-2022), la teneur en oxygène a augmenté de manière synchrone et continue sur toutes les stations et sur les deux ans.

L’eau de la station 02 (Suggary) est la plus faiblement oxygénée en novembre 2001. En octobre 2002 et durant toute la période deux, elle est l’une des stations les plus oxygénées.

La station 12 (Dempsey) présente l’allure de l’eau la moins oxygénée durant toutes les deux périodes.

Remarque :

La température a aussi baissé en novembre 2001 et 2002, cela a peut-être influencé la teneur en oxygène de cette période.

Question :

Qu’est-ce qui s’est vraiment passé sur toutes les stations en novembre 2002 ? Y a-t-il un facteur qui a causé la désoxygénation durant cette saison et sur ces stations ?

Conductivity_microS_cm

Conductivité variabilité spatiale

Commentaire:

La conductivité est plus élevé sur tout les stations à la période 2001-2002 de plus que la conductivité en 2021-2021, sauf sur la station 10 qui a une conductivité plus élevé en 2021-2022.

La station 4 se démarque par les valeurs de conductivités environ deux fois moins élevées qu’aux autres stations. (partie Résultats).

(interprétation), on peut dire «En effet, la station 4 est la plus reculée d’entres toutes les stations le long de la branche principale; elle est la plus éloignée de l’influence des marées… Il n’est donc pas surprenant qu’elle affiche les plus faibles valeurs de conductivité.

La conductivité présente une plus grande variabilité 20ans plus tard et ce sur les stations 01, 08 et 07.

La turbidité de la station 01, 08, 10 et 07 indiquent plus de variabilité dans les données en 2021-2022 de plus que celle de 20ans en arrière.

La conductivité lors de la période 01 présente des valeurs abbérentes forte sur les station 02 et 07. mais à la période 02 ils indique des valeurs abbérente faible de la conductivité sur les stations 03, 09, 12, 11. ces valeurs nous indique soit une anomalie ou une variabilité extrème sur ces stations a ces périodes.

Graphique de la variation de la Conductivité sur chacun des station en 2001

Commentaire du graphique:

La conductivité n’a pas vraiment varié, ils ont baissé de (9%) à tous les stations soit une variation presque constante. La station 4 a la plus faible conductivité sur tous les prélèvements de l’an 2001. Les plus grandes conductivités sont celle de la station 01 et 10. La station 08 a augmenter de 27% en octobre pour baisser de 36.6% en novembre.

NB: si les autre son presque constant faut donc regarder ce qui se passe à la station 08.

Graphique de la variation de la Conductivité sur chacun des stations en 2002

Commentaire du graphique:

La plus basse conductivité a été enregistré sur la sation 04 sur tout la saison d’échantillonage avec un écart d’environs 75micro Sm_cm. la conductivité à augmenté de septembre à novembre à la station une avec la plus grande conductivité. seul en sep et Oct les plus grande observation on été faites.

Graphique de la variation de la Conductivité sur chacun des stations en 2021

Commentaire du graphique:

La conductivité a baisser à tous les stations. La station 04 à la plus basse conductivité a toutes les saisons en 2021. la conductivité à varié entre 50 micros SCM à 200 micros SCM. La station 01 et 10 ont les plus grandes conductivités, avant que la station 01 ne connaisse une grande baisse (66%).

NB: la plus faible conductivité est en 2021 ainsi que la plus grande et c’est en cette année on observe de grande variation.

Graphique de la variation de la Conductivité sur chacun des stations en 2022

Commentaire du graphique:

La conductivité à légèrement varier, avec les courbes presque constants sauf à la station 01 et 10. sur la station 04 on à la plus faible conductivité. De la fin de l’été jusqu’en octobre la conductivité a augmenter à la station 01pour baisser de 27,3% jusqu’en novembre (NB: la plus grande variation par rapport au autre station)

Graphique de la variation de la Conductivité sur chacun des stations entre period: 2001_2002

Commentaire:

La conductivité de la station 4 demeure plus la plus basse. La conductivité de la station 01 a varié en baissé en 2001 pour augmenter en 2002 avec la plus grande conductivité sur toutes les stations des deux années de la période. La conductivité durant toute la période a augmenté avec de petite variation en 2001 et une augmentation continue en 2002. À la fin de l’été 2001 jusqu’en octobre et de la fin de l’été 2002 jusqu’en septembre la conductivité augmente à la station 08 pour baisser d’octorbre en novembre 2001 et de septembre en novembre 2002. (NB: voir ce qui influence la variation à cette saison .)

Graphique de la variation de la Conductivité sur chacun des stations entre period: 2021_2022

Commentaire:

La conductivité de la station 4 a la plus basse conductivité de la période. En générale la conductivité a plus baissé en 2021 qu’en 2022. À la fin de l’été en 2021 les conductivités sont plus haut que les conductivités à la fin de l’automne et on observe aussi une augmentation de la conductivité durant les deux saisons. Ce qui n’est pas le cas en 2022 ou la variation a augmenté à tous les stations mais casi constant sauf à la station 01 avec un grand baisse(27,3%).

Les 04 graph en un pour la COnductivité

Autre manière de voir les variations saisonnières sur quatre années:

traiter la date comme “Campagne no” (voir la création de la variable

“Campagne” au début du script).

Commentaire du graphique des quatre années :

La conductivité a baissé à toutes les stations en septembre et en octobre 2021.

L’eau à la station 04 (La tête des stations) durant toutes les deux périodes a la plus faible conductivité.

Il y a aussi la station 11 qui présente aussi une faible conductivité par rapport aux autres stations.

Les stations 01 (Br sud amont) et 10 (Pollard) ont enregistré les plus fortes conductivités lors des périodes 01 et 02.

Question :

Qu’est-ce qui s’est passé pour que la conductivité baisse sur toutes les stations en septembre et octobre 2021 ?

Remarque :

La station 04, étant la tête du ruisseau et aussi une rivière d’ordre 3, est susceptible de ne pas trop être drainée par de grands ruisseaux et aussi moins influencée par plusieurs facteurs environnementaux et territoriaux surtout car elle se retrouve en tête du ruisseau. Elle n’a pas été influencée par les facteurs territoriaux lors de l’écoulement sur le bassin.

La station 01 (Br sud amont) est un ruisseau d’ordre 4, ce qui peut influencer la conductivité de l’eau à cette station. L’eau de cette station est aussi trouble avec des matières organiques déposées dans le fond de l’eau et d’un fond très vaseux. Elle est aussi sans doute influencée par l’autoroute à côté et les roches facilement dégradables qui sont sur les berges.

pH !!!!!!!!!!!!!!!!! À CORRIGER !!!!!!!!!!!!!!!!!!!

pH variabilité spatiale

Commentaire:

Le pH sur les deux périodes n’ont pas beaucoup varié et cela prèsque sur tous les stations.

Le pH de la stations 08 indique une plus grande variabilité sur la période 2021-2022 par rapport au pH en 2001-2002.

le pH de la periode 01 présente une plus grand variabilité de données par rapport à la période 02.

Le pH présentes beaucoup de valeur abérante uniquement sur la periode de 2001-2002, ce qui indique des anomalies ou une variabilité extreme sur les stations 02 03 08 12 11 et 07.

Graphique de la variation du pH sur chacun des station en 2001:

Commentaire du graphique:

Le pH a baissé a toutes les stations de la fin de l’été à la fin de l’automne. À la fin de l’automne le pH de la station 02 est la plus élevé de tout les station pour baisser à la plus basse pH. En 2001 le pH est compris entre 7.4 et 8.2. le plus grand pH est observé à la station 01 à la fin de l’été de aout à septembre. Le plus bas pH est celle de la station.

Graphique de la variation du pH sur chacun des stations en 2002

Commentaire du graphique:

Le pH n’a pas varié il est prèsque constant sur tout les station sauf à la station 01, 05. Le plus bas pH est observé à la station 04 sur tooute les saisons. La station 01 à le pH le plus élevé et à augmenté de fin aout en septembre pour baisser de septembre jusqu’en novembre. Le pH de la station a eu le meme allure que le pH de la station 01

Graphique de la variation du pH sur chacun des stations en 2021

Commentaire du graphique:

Le pH le plus bas est observe sur la station 04. le pH le plus élevé est à la station 08. Le plus haut pH est observe sur les stations 08, 06, 07, le premier septembre.

Graphique de la variation du pH sur chacun des stations en 2022

Commentaire du graphique:

Le pH a augmenté à tous les stations le premier septembre sauf à la station 04 qui à le plus bas pH. La station 01 à le pH le plus élevé. LepH à varié entre 7 et 8. De la fin de l’été au début de l’automne (01 septembre) le pH a augmenté à tous les stations et graduellement baisser ainsi de suite à tout les stations. Sauf à la station 04 le pH a baissé graduelement Durant les deux saisons.

Graphique de la variation du pH sur chacun des stations entre period: 2001_2002

Commentaire:

Le pH en 2001 à baissé avec une allure décroissante. En 2002 le pH a augmenté à la fin de l’été pour ensuite baisser jusqu’a la fin de l’automne. En 2002 certaine station ont augmenté de pH. La plus haut pH est obtenu en 2001 et le plus bas en 2002.

Graphique de la variation du pH sur chacun des stations entre period: 2021_2022

Commentaire:

Le pH en 2021 aaugment a la fin de l’été pour en suite baissé et augmenté à la fin de l’automne sauf le cas de la station 08 qui baisse de la fin de l’été jusqu’en octobre pour augmenté à la fin de l’automne. En 2022 l’éffet est contraire qu’en 2021, le pH augment de la fin de l’été jusqu’au 1er septembre pour baisséjusqu’à la fin de l’automne sauf à la station 04 ou deja depuis la fin de l’été le pH baisse jusqu’a la fin de l’automne.

Les 04 graph en un pour la COnductivité

Autre manière de voir les variations saisonnières sur quatre années:

traiter la date comme “Campagne no” (voir la création de la variable “Campagne” au début du script).

## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

COmmentaire du graph des quatre années:

Turbidité

Turbidité variabilité spatiale

## [1] 192 197
## [1] 190 197

J’ai exclu deux valeur de la station 01 en 2001_2002 par la fonction subset(deux valeur plus grand que 20 NTU): sub1tub=subset(Pok2001.2022, Turbidity_NTU<20) dim(sub1tub)

Commentaire:

Une médiane plus élevée indique une valeur de turbidité plus élevée.

La turbidité indique une plus grande variabilité en 2001-2002 sur les stations 02, 01, 08, 12, 11 et 05 par rapport à la turbidité 20ans après. (la tubidité à baissé 20ans après à ces station).

La turbidité en 2021-2022 a une plus grande variabilité sur les stations 04, 06, 09, 10, et 07 par rapport à la turbidité 20en arrière.

La plus grande variabilité s’est observé sur les stations 08 et 01.

La turbidité présente très moins de variabilité des données sur la majorité des stations en 2001-2002 et 20ans après

Les moustaches au niveau de la station 08,02 et 12 en 2001-2002 et à la station 02 en 2021-2022 ce qui nous indique une grande variabilité dans les données.

La turbidité présente plus de valeurs abbérente dans les deux périodes ce qui indique la présences d’anomalies ou une variabilité extrême dans la periode une sur les stations 01, 03, 09, 11 et 05. De même que sur les stations 02, 03, 08, 12, 11 et 05 sur la periode deux.

Par rapport aux recommndations des normes cannadiennes en période d’écoulement limpide, l’augmentation induite de turbidité par rapport à la valeur de fond ne doit pas dépasser 8 NTU.

Dans le cas de notre rivière presque à tout les stations on est comprise entre cette valeur alors qu’au stat09 en 2001-2002 une valeur abbérente se retrouve au dela de cette valeur. Sur cette meme periode quelque station seraproche des 8 NTU.

Graphique de la variation de la Turbidité sur chacun des station en 2001

Commentaire du graphique:

La station 01 à la turbidité la plus élevé. En plus de la fin de l’été au premier septembre la turbidité était constante et compris entre 5 et 10 NTU. À l’automne du 1er septembre au 1er octobre la turbidité de l’eau a fortement augmenté (90%) et ensuite baissé aussi de 90% à la fin de l’automne. Au niveau de toutes les autres stations la turbidité à varié entre 0 et 10 NTU. La turbidité la plus élevé est de 44NTU.

Graphique de la variation de la turbidité sur chacun des stations en 2002

Commentaire du graphique:

Les pH qui ont le plus varié sont ceux de la station 08 et 12. la station 08 à baissé de la fin de l’été jusqu’en Septembre pour augmenter d’environs 65,7% de septembre en fin novembre. la station 12 fais l’inverse elle augmente de la fin d’été jusqu’en septembre pour aqytteindre le plus haut pH avans de baissé de 21,4% jusqu’à la fin de l’automne. (lors de la saison d’été à l’automne on observe une variation remarquable 2002). on observe une petite tendance de variation à la station 05 par raport aux autre stations.

Graphique de la variation de la Turbidité sur chacun des stations en 2021

Commentaire du graphique:

Le pH des stations 01, 08 et 05 sont ceux qui ont les plus varié avec le plus pH. Le premier septembre presque toutes les station on un pH élevé sauf le 02, 11, 3. Le pH de la station 01 à augmenté de la fin de l’été jusqu’en 1er septembre avec la plus grande valeur du pH pour fortement baissé de 62,5% jusqu’en fin novembre. Sur la station 08 on observe une baisse j’usqu’au premier septembre pour en suite augmenté avant de baissé jusqu’à la fin de l’été. La station 02 et 11 ont le plus bas pH.

Graphique de la variation de la Turbidité sur chacun des stations en 2022

Commentaire du graphique:

Tout les pH ont augmenté sur tout les stations durant les saisons sauf à la station 04. Le pH au niveau des autre stations sont uniforme et assandant.les stations 01 et 08 ont connus une augmentation continuel ayant les plus grands pH, surtout la station 8 à observé. La saison de la fin d’été au début de l’automne (1er sept) sur tout les station le pH a augmenté sauf à la station 03. Lors de la saison d’automne (octobre en fin novembre) à tout les station le pH à augmenté sauf à la station 04.

Graphique de la variation de la Turbidité sur chacun des stations entre period: 2001_2002

Commentaire:

Le pH a plus varié en 2001 lors de la première période qu’à l’an 2002. le pH de la station 01 à extrainement augmenté le premier octobre 2001. le pH à varié entre 0 et 45 en 2001 et entre 0 et 10 en 2002 soit une différence de 35 log.les pH en 2001 ont augmenté et baissé durant les deux saison à la station 08, 09 et 11 contrairement en 2002 ou seul les station 08 et 12 qui ont varié. la station 8 à aussi augmenté avant de baissé et la station 11 baissé avants d’augmenté.

Graphique de la variation de la Turbidité sur chacun des stations entre period: 2021_2022

Commentaire:

le pH le plus élevé est celle de la station 01 en 2021 et la station 08 en 2022. Sur la deuxieme periode ce sont les meme station qui on leurs turbidités plus élevé. La turbidité de l’eau est très minimes à cause de la vriation de 0 à 6 NTU.

Les 04 graph en un pour la COnductivité

Autre manière de voir les variations saisonnières sur quatre années:

Supprimer points, méthode 1

Supprimer points déviants en créant un subset

Supprimer points déviants, méthode 2

Supprimer points déviants en modifiant l’axe des Y

Commentaire du graphique des quatre années :

La turbidité de l’eau à la station 01 (Br sud amont) est très élevée, de 70% par rapport à la turbidité enregistrée durant toute la période 01 et 02 et ce sur toute les stations.

La turbidité a augmenté sur toutes les stations en octobre 2001.

La station 08 présente une turbidité plus élevée durant les deux périodes que les autres stations.

La station 04 a la plus faible turbidité lors de la période 01 et la station 02 lors de la période 02.

Remarque :

La turbidité est élevée à toutes les stations en octobre 2001, mais sur la station 01, pourquoi cette hausse en pic ? Je sais que l’eau de la station est trouble en 2024 et qu’elle est près de l’autoroute et avec des roches altérables sur le bord. Alors qu’est-ce qui s’est passé en 2001 sur cette station et surtout sur toutes les stations, même si elles sont peut-être négligeables par rapport à celle de la station 01. Et le fait que toutes les stations ont subi une tendance à cette période me permet de dire que cela n’est pas dû à des erreurs de mesure.

Couleur

Couleur variabilité spatiale

J’ai voulu exclu une valeur celle de la station 01 qui est plus éloigné en prennant moi de 190 mais je remarque que trois valeurs ont été exclu doc je peux dis que cette sendance est correcte. et ca n’a rien changer à l’allure de la des graphiques.

dim(Pok2001.2022) sub1cou=subset(Pok2001.2022, Colour_TCU<190) dim(sub1cou)

Commentaire:

La teneur de la couleur de l’eau augmente sur les stations graduellement de la station 04 jusqu’à la station 05.

Les couleurs n’ont pas vraiment augmenté sur tout les autres stations en 2001-2002 et 20ans après mais uniquement sur les stations 07 et 05.

La couleur au niveau des stations 05 et 07 sont très élevé 20ans après les couleurs obtenu en 2001-2002. A ces memes stations les données indique une très grande variabilité de la couleur.

La couleurs de l’eau a la station 08 indique une grande variabilité en 2001-2002 de plus qu’en 2021-2022.

On observe plus de valeur abbérentes sur les stations 04, 02, 01, 10 et 07 en 2001-2002 et aussi plus de valeur abbérentes sur les stations 04, 06, 03, 12, 10 et 11 en 2021-2022.

La plus grande valeur abbérentes est observé sur la station 01 en 2001-2002.

la teneur de la couleur varie entre 0 et 200 NTU.

Par rapport au recommandation des normes canadienne pour la qualité des eaux la couleur d’une eau naturelle est situé en dessous de 5mg/l pour les eaux très limpide et 1200 mg/l pour les eaux sombres et tourbeusess.

Dans le cas de notre rivière on peux qualifié la nature de cette eau de propre car elle présente une teneur sombre de 16,66% sur les stations 07 et 05 en 2021-2022 et une teneur de 6,25% sombre en 2001-2002.

Par rapport au autre station ont peut les qualifiés d’eau limpide

L’Eau en 2001-2002 est plus limpide qu’en 2021-2022.

Graphique de la variation de la Couleur sur chacun des stations en 2001

Commentaire du graphique:

La couleur de l’eau est plus élevé à la station 01 et cela le premier octobre. les stations 05, 07 et 08 à la fin de l’automne en novembre on les teuneurs plus élevé. le reste des station.La couleur sur cette station varie entre 0 et 200, ou 09 stations varient entre 0 et 30 TCU.

Graphique de la variation de la Couleur sur chacun des stations en 2002

Commentaire du graphique:

la station 02 à la plus faible teneur en couleur et tout les autres stations varient entre 0 et 30 TCU. Les station dont la teneur de la ccouleur à grandement varié sont les stations 12, 05, et 07. ces trois stations ont une teneur qui varient entre 20 et 80. la plus grande teneur est celle de la station 05, qui varie entre 80 et 75 TCU avec une grande baisse en septembre pour remonter en pique.

Graphique de la variation de la Couleur sur chacun des stations en 2021

Commentaire du graphique:

Les plus grandes teneur en couleur sont les station 05 et 07 qui varient entre 0 et 180 TCU. La station 02 à la plus faible teneur en courleur. Les station 05 et 07 ont augmenté en pique en septembre jusqu’en octobre pour legerement baissé.

Graphique de la variation de la Couleur sur chacun des stations en 2022

Commentaire du graphique:

Toujour la couleur lada station 05 et 07 ont les plus grande teneur en couleur. Elle ont aussi augmenté de septembre jusqu’en novembre. la station 08 aussi à legement augmenté d’aout jusqu’en novembre. la teneur a varié entre 0 et 150 TCU. la station 02 a toujour la plus faible teneur en couleur.

Graphique de la variation de la Couleur sur chacun des stations entre period: 2001_2002

Commentaire:

La teneur en couleur la plus grande est celle de la station 01 en octobre 2001. durans la periodes 01 ce sont les stations 05,07 et 08 qui ont grandement varié. ces trois station on plus augmenté en 2001 qu’en 2002. en 2002 ils ont aussi augmenté mais moins qu’en 2002.

Graphique de la variation de la Couleur sur chacun des stations entre period: 2021_2022

Commentaire:

Durant toutes la periodes 02 les stations 05 et 07 sont les plus élevé que tout les autre station et cela de septembre en octobre pour juste légerement baissé en novembre. En 2022 elles sont les plus qui ont augmenter mais moins qu’en 2021. la station 08 à augmenter continuellement de 2021 en 2022 mais un peu moin que les stations 05 et 07. (un phénomène en est surement la cause entre septembre et novembre de ces années à voir …)

Les 04 graph en un pour la COnductivité

Autre manière de voir les variations saisonnières sur quatre années:

traiter la date comme “Campagne no” (voir la création de la variable

“Campagne” au début du script).

## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Commentaire du graphique des quatre années :

La couleur de l’eau est très élevée à la station 01 (Br sud amont) seulement en octobre 2001 et enregistre la couleur la plus élevée.

Les stations 05 (McConnell) et 07 (Waugh) ont aussi très fortement augmenté en novembre 2001, 2002. 20 ans après, elles ont encore plus augmenté, plus qu’en la période 01, et ce en octobre 2021 et en octobre et novembre 2022.

La couleur la plus faible est celle de la station 02 (Suggary).

Ce paramètre est marqué par des pics spécifique.

Question :

Qu’est-ce qui s’est passé sur les stations 05 et 07 en novembre 2001 et 2002 ? Encore plus, 20 ans plus tard en octobre 2021 et 2022 ? Qu’est-ce qui s’est passé en octobre 2001 sur la station 01 ?

Quel facteur affecte la couleur de l’eau sur ces stations en ces périodes ? Est-ce des territoires déboisés ?

Remarque :

La station 07 est une station aménagée, non loin d’une ferme de porc, cela peut agir sur la couleur de l’eau. La station 05, elle, est un peu au milieu d’un territoire déboisé non loin de l’autoroute et sur les berges on observe des débris et une pente du territoire converge l’eau vers cette station. La berge est remplie de petites plantes, mais à quoi cela est dû reste à savoir.

Carbone organique dissous

Carbone organique dissous variabilité spatiale

Commentaire:

La teneur en carbone organique dissous est faible en 2001-2002 qu’en 2021-2022.

La teneur en carbone organique dissous est plus élevé sur les stations 01, 08, 07 et 05 en 2021-2022 de plus que 20ans en arrière.

La teneur en COD indique une plus grande variabilité aux stations 01 et 08 en 2001-2002 de plus que 20ans plus tard.

alors ue sur les stations 11, 07 et 05 ils indique une plus grande variabilité en 2021-2022 que 20ans en arrière.

Des moustaches plus longues indiquent une plus grande variabilité dans les données.

Les moustaches m’indiquent une plus grande variabilité des données sur les stations 07, 05 dans les deux periodes et plus en 2001-2002 sur la station 08 et aussi plus sur la stations 12 et 11 en 2021-2021

Les valeurs abbérentes s’observe plus en 2001-2002 sur les stations 04, 02, 10 et 07 ce qui indique des anomaliess ou une variabilité extrême sur ces station à cette période.

Commentaire du graphique:

La teneur en CTO a continuellement augmenté de aout à novembre à a station 08. Les plus grande teneur ont été enregistré d’octobre en Novembre. La station 04 à la plus faible teneur en CTO sauf en octobre. la plus forte teneur est la station 07.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2002

Commentaire du graphique:

La teneur en CTO à varié entre 0 et 12 mg/l et la plus forte teneur est enrégistré sur les stations 05, 07 et 08. Ces trois station on baisé de teneur d’aout en septembre et fortement augmenté (75%) de septembre jusqu’en novembre. Ces trois station sont à garder à l’oeil (meme chose pour la couleur). La station 02 et 04 a la plus faible teneur (lui aussi à garder à l’oeil meme chose avec la couleur). la plus forte teneur est la station 07.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2021

Commentaire du graphique:

Comme au précedant la station 04 et 02 on les plus basse teneur en CTO. Et les plus élevé les stations 05 et 07. De Septembre en octobre ils ont augmenté en pique pour en suite légement baissé en novembre. La teneur en CTO varie ici entre 0 et 18 mg/l. la plus forte teneur est la station 07.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2022

Commentaire du graphique:

La plus faibe teneur est celle de la station 02. les stations 05,07 et 08 ont les plus grande teneur en CTO et ont continuelement augmenté D’aout en novembre. la plus forte teneur est la station 07.

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2001_2002

Commentaire:

EN periode 01 la teneur en CTO à augmenté plus en 2001 qu’en 2002. En 2001 la teneur à augmenté d’octobre en novembre. et en 2002 la teneur à augmenté de septembre en novembre. cela s’observe sur les stations 07, 05 et 08.

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2021_2022

Commentaire:

Les plus grande teneur ont été observé sur les stations 07 et 05. en 2021 la teneur était plus élevé à la station 07 qu’en 2022. à la station 05 la teneur était plus élevé en 2022 qu’en 2021.Sur les deux station en 2021 la teneur est monté en pique de septembre en octobre pour légèrement baissé en novembre, mais en 2022 la teneur à augmenté d’aout en novembre.

Les 04 graph en un pour la COnductivité

ggarrange(CTOg2001, CTOg2002, CTOg2021, CTOg2022, ncol=2, nrow=2)

Autre manière de voir les variations saisonnières sur quatre années:

traiter la date comme “Campagne no” (voir la création de la variable

“Campagne” au début du script).

Commentaire du graphique des quatre années :

Conformément à la couleur de l’eau sur les stations 05 (McConnell), 07 (Waugh) et 08 (Sewell) en novembre 2001 et 2002, et octobre 2021 et novembre 2022, la concentration en carbone organique totale a aussi augmenté à ces périodes, et ce en pic.

Toutes les autres stations ont aussi augmenté à ces mêmes moments des périodes.

La station 02 (Suggary) a la plus faible teneur en COT (carbone organique totale) durant les deux périodes, et ce surtout lors de la deuxième période.

Ce paramètre est marqué par des pics.

Remarque :

Toutes les stations présentent une même tendance d’augmentation à ces dates, cela peut donc être dû à un phénomène territorial mais plus aux facteurs météorologiques ou climatiques à cause de la répétition de la même tendance sur toutes les stations.

Contribution du carbone à la couleur

Couleur en fonction de la concentration de carbone organique pour les 12 stations et 16 dates d'échantillonnage

Couleur en fonction de la concentration de carbone organique pour les 12 stations et 16 dates d’échantillonnage

E_coli

E_coli variabilité spatiale

## [1] 191 197

Commentaire:

La teneur en bacterie E_coli sont plus élevé uniquement sur les stations 10, 07 et 05 en 2001-2002 et ont une présence très négligeableen ces meme station en 2021-2022.

sur tout les station en 2021-2022 les la teneur en E_Coli sont très faible.

Les E_colis présente une tres grande variabilité sur la station 10, 07 et 05.

Des moustaches plus longues indiquent une plus grande variabilité dans les données.

les E_coli ont une longue variabilité trop élevé sur la station 10 et une longue variabilité élevé et faible sur la station 07.

Beaucoup de valeurs aberrantes peuvent indiquer des anomalies ou une variabilité extrême dans certaines stations ou périodes.

Les E_coli présentent beaucoup de valeurs abbérentes trops élevé prèsque sur tout les stations ce qui nous indique peut etre une anomalies ou une variabilité extrême dans autres station ou la concentration des E_coli sont tres élevé.

Commentaire du graphique:

La concentration des E_coli à varié en 2002 entre 0 et 2000mg/l. La concentration des E_coli à la station 07 est la plus élevé en aout jusqu’en novembre. Mais en octobre la concentration à augmenté en pique à tout les stations.la station 01 a la concentration la plus élevé de 2000 mg/l cette saison. (pourquoi la concentration augment à tout les stationsn en oct 2001 et qu’e s’est il passé pour qu’on ait ces valeurs)

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2002

Commentaire du graphique:

La concentration des E_coli ont augmenté et baissé sur les stations 07, 10 et 05 lors de la saison du fin d’été à la saison de fin d’automne.La concentration la plus élevé est celle de la station 10 en aout pour complètement baisser jusqu’a la fin de l’automne. En aout comme sur tout les autre station la concentration était faible avant d’augmenter jusqu’a 300mg/l en septembre pour baisser jusqu’en novembre à la station 05. A la station 07 elle continue à augmenté d’aout en octobre jusqua attein la concentration la plus élevé d’environs 700mg/l pour fortement baisser jusqu’en novembre (en dessous de 100mg/l). La concentration des E_coli à varié en 2002 entre 0 et 200mg/l.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2021

Commentaire du graphique:

La concentration des E_coli sont comprise entre 0 et 230mg/l. La plus grande concentration est cele de la station 02 qui a augmenté en pique en septembre pour avoir la valeur la plus élevé d’environs 235mg/l pour ensuite baisser jusqu’avoir la plus basse concentration en novembre. la plus basse concentration est celle de la station 04.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2022

Commentaire du graphique:

La concentration des E_coli sont comprise entre 0 et 1050mg/l. La plus grande concentration est observé sur les station 10 et 06 en septembre. La station 10 à la plus forte concentration d’environ 1000mg/l à coté de la station 06 qui à environs mg/l. la concentration est faible sur tout les autres station mais en septembre ils ont tous variées.

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2001_2002

Commentaire:

LA concentration est très élevé en rapport a par rapport à l’an 2002 on observe une mutiplication par deux de la concentration en 2002. En 2001 la concentration à varié entre0 et 2000mg/l et en 2002 entre 0 et 750mg/l c’est à dit la concentration des E_coli en 2001 on doublement baisser en 2002. Ces grandes augmentation ont été observé lors de la saison d’automne en octobre 2001 et en septembre en 2002

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2021_2022

Commentaire:

Contriarement à la période précedent 2001-2002, la concentration cette periode à augmenté de 2021 en 2022. En 2021 En 2021 la concentration est comprise entre 0 et 250mg/l et cette augmentation est enregistré au début de la saison d’automne en septembre. en 2022 la concentration à quadiplé (comprise entre 0 et 1050mg/L) et cette augmentation s’est observé aussi au début de la saison d’automne en septembre.

Les 04 graph en un pour la COnductivité

ggarrange(Ecolig2001, Ecolig2002, Ecolig2021, Ecolig2022, ncol=2, nrow=2)

Autre manière de voir les variations saisonnières sur quatre années:

Commentaire du graphique des quatre années :

Les bactéries E_coli ont une concentration très élevée et en pic sur toutes les stations en octobre 2001.

En septembre 2022, on observe encore un pic de bactéries E_coli dans les eaux sur toutes les stations, mais en baisse de 50% par rapport à celle en 2001.

Les stations 01, 10, 09, 03, 07 et 4 présentent une plus grande concentration de bactéries en 2001 contrairement à celle obtenu en 2022 où ce sont seulement les stations 10 et 01 qui présentent les plus grandes concentrations.

Le plus grand pic de bactéries est celui de la station 01 et 10.

Les stations 07 et 10 présentent les plus grands pics en 2002.

La concentration de l’eau en bactéries est très élevée en 2001 par rapport à la concentration en 2022, elle a baissé de 50%.

Remarque :

La station 07 a une porcherie pas loin d’elle ce qui peut etre à cause à son niveau mais les autres on dois creuser.

Question :

Quelle est la cause des bactéries dans l’eau des stations 01, 10, 09, 03, 07 et 02 en 2001 et des stations 10 et 01 en 2022 ?

Phosphore

Phosphore variabilité spatiale

Commentaire:

Le phosphore est plus faible sur tous les stations à la période de 2001-2002 et plus élevé 20ans après sur tout les stations.

le phosphore de la station 10 est extrêmement élevé à la deuxième période et ce plus que celle de toutes les autre stations.

Le phosphore de la station 01 est très négligeable à la période 02.

Le phosphore à la plus grande variabilité sur la station 10 en 2021, plus grand de tout les deux période. Elle présente aussi une grande variabilité des données forte.

les données de la période 02 présente plus de valeur abbérente, et ce sur les station 04 0201 08 et 11.

le phosphore à varié entre 0 et 0,06 mg/l

Commentaire du graphique:

Le phosphore présente la plus grande valeur sur la station 12 en octobre et on on observe une penchant qui augmente sur prèsque tout les stations a cette meme date de la saison.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2002

Commentaire du graphique:

Le phosphore de la station 10 et 08 sont les plus élevé à la fin de l’été en aout. Il varie entre 0,005 et 0,020 mg/l. Le phosphore sur tout les stations ont baissé d’aut en novembre.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2021

Commentaire du graphique:

Le phosphore de la station 10 est la plus élevé de tout les stations de l’été en automne. Lest autres station n’ont pas vraiment varié.

Graphique de la variation du Carbon Total Organic sur chacun des stations en 2022

Commentaire du graphique:

Le phosphore de la station 10 en cette années est aussi élevé que cette années que celle de toutes les autre stations et cela de l’été à l’automne.

le phosphore sur les autres stations sont prèsque identique

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2001_2002

Commentaire:

Le phosphore de la période 01 à la plus haute et faible teneur en 2002. le phosphore à plus baissé en 2002 qu’en 2001.

Graphique de la variation du Carbon Total Organic sur chacun des stations entre period: 2021_2022

Commentaire:

La station 10 sur toute la péeriode 02 à la plus grande teneur en phosphore. sur toute la période le phosphore de la station 10 à augmenté de aout en septembre et ensuite baissé jusqu.en novembre.

La station 02 présente une allure de la station la plus faible de toutes la période.

Les 04 graph en un pour la COnductivité

ggarrange(Phosg2001, Phosg2002, Phosg2021, Phosg2022, ncol=2, nrow=2)

Autre manière de voir les variations saisonnières sur quatre années:

Traiter la date comme “Campagne no” (voir la création de la variable “Campagne” au début du script).

Commentaire du graphique des quatre années :

La teneur en phosphore a augmenté dans l’eau au niveau de la station 10 durant la période 02.

Le phosphore a augmenté en pic pendant la deuxième période sur la station 10 en septembre 2021 et en septembre 2022.

Toutes les autres stations ont augmenté de manière synchrone en octobre 2001 et encore plus en août 2021.

Question :

À quoi est due cette augmentation synchrone sur toutes les stations en ces dates ?

Azote sous forme de nitrate (NO3-)

Nitrate variabilité spatiale

Commentaire:

La concentration de Nitrate est très élevé Sur la station 10 en 2021-2022 de plus qu’en 2001-2002.

Le nitrate de la station 10 et 05 est plus élevé que celle des autres stations.

Le nitrate est très faible sur tous les stations en 2001-2002 et très élevé 20ans après.

Le nitrate présente une plus grande variabilité en 2001-2002 sur les stations 02 et 08 qu’en 20221-2022.

les plus grande variabilité sont observé en 2021-2022 sur les stations 10 et 05, et c’est les plus grandes variabilité de tous les périodes.

On observe une plus grande variabilité de données sur la station 10

Le nitrate présente plus de forte valeur abbérente sur les 12, 11, et 07 en 2021-2022

Commentaire du graphique:

Les station 10 et 05 ont les plus grande teneur en nitrate et on observe une grande baisse au niveau de la station 05 de septembre en novembre.

La plus basse teneur en nitrate est celle de la station 07.

Graphique de la variation de l’Azote sur chacun des stations en 2002

Commentaire du graphique:

La station 07 à toujour la plus faible teneur en nitrate. Le nitrate de la station 10 baisse en pique d’aout en octobre pour legerement hausser en novembre.

Graphique de la variation de l’Azote Organic sur chacun des stations en 2021

Commentaire du graphique:

Le nitrate de la station 10 à la plus forte teneur d’aout en novembre. La station 05 était constatnt de aout en septembre et ensuite augmentéjusqu’en novembre. Le nitrate de la station 07 est toujour la plus faible.

Graphique de la variation de l’Azote sur chacun des stations en 2022

Commentaire du graphique:

Le nitrate de la station 10 est la plus élevé et augment d’aout en novembre. Le station 05 est la deuxieme plus élevé et qui à légèrement baissé.

Graphique de la variation de l’Azote sur chacun des stations entre period: 2001_2002

Commentaire:

Le nitrate a plus baisser en 2002 qu’en 2001 et la plus forte valeur est enrégistrer en 2002

Graphique de la variation de l’Azote sur chacun des stations entre period: 2021_2022

Commentaire:

Le nitrate des station 10 et 05 sont les plus élevé de tous la période 2021-2022. Le nitrate en 2022 à plus augmenté qu’en 2021 sur la station 10.

Le nitrate sur la station 05 à augmenté en 2021 et à legerement baissé en 2022.

Les 04 graph en un pour le nitrate

ggarrange(Nitrateg2001, Nitrateg2002, Nitrateg2021, Nitrateg2022, ncol=2, nrow=2)

Autre manière de voir les variations saisonnières sur quatre années:

Commentaire du graphique des quatre années :

La concentration de nitrate est plus élevée dans la deuxième période des analyses que la concentration à la période 01 sur les stations 10 (Pollard) et 05 (McConnell).

En général, les plus faibles concentrations ont été observées en 2001-2002. Avec un pic sur tous les stations en août 2002

La concentration la plus basse est celle à la station 07.

Les stations 05 et 10 sont un peu plus proches de l’autoroute, mais leurs berges sont très humides et sont des tourbières avec des plantes qui poussent aux alentours (je ne connais pas le nom des plantes, c’est pour cela que je ne les ai pas citées.

ce 22 08 2024 à 16:33 j’ai collé les manquant du script et c’est a partie d’ici

#Analyse du deuxième objectif

##   [1] "Date"                            "Station"                        
##   [3] "Station2"                        "AnalysisSurfaceWater"           
##   [5] "RPCSampleID"                     "ClientSampleID"                 
##   [7] "DateSampled"                     "Sodium_mg_L"                    
##   [9] "Potassium_mg_L"                  "Calcium_mgL"                    
##  [11] "Magnesium_mg_L"                  "AlkalinityCaCO3_mg_L"           
##  [13] "Chloride_mg_L"                   "Fluoride_mg_L"                  
##  [15] "Sulfate_mg_L"                    "Bromine_mg_L"                   
##  [17] "Ammonia_as_N_mg_L"               "Unionized_20degC_mg_L"          
##  [19] "NitrateNitrite_asN_mg_L"         "Nitrite_as_N_mg_L"              
##  [21] "Nitrate_as_N_mg_L"               "Nitrogen_Total_mg_L"            
##  [23] "Phosphorus_Total_mg_L"           "Carbon_Total_Organic_mg_L"      
##  [25] "Colour_TCU"                      "Conductivity_microS_cm"         
##  [27] "pH_units"                        "Turbidity_NTU"                  
##  [29] "Bicarbonate_as_CaCO3_mg_L"       "Carbonate_as_CaCO3_mg_L"        
##  [31] "Hardness_as_CaCO3_mg_L"          "TDS_calc_mg_L"                  
##  [33] "Saturation_pH_20degC_units"      "Langelier_Index_20degC"         
##  [35] "AnalysisSurfaceWater.1"          "RPCSampleID.1"                  
##  [37] "ClientSampleID2"                 "DateSampled2"                   
##  [39] "Analytes_Units"                  "Aluminum_mg_L"                  
##  [41] "Antimony_mg_L"                   "Arsenic_mg_L"                   
##  [43] "Barium_mg_L"                     "Beryllium_mg_L"                 
##  [45] "Bismuth_mg_L"                    "Boron_mg_L"                     
##  [47] "Cadmium_mg_L"                    "Calcium_mg_L"                   
##  [49] "Chromium_mg_L"                   "Cobalt_mg_L"                    
##  [51] "Copper_mg_L"                     "Iron_mg_L"                      
##  [53] "Lead_mg_L"                       "Lithium_mg_L"                   
##  [55] "Magnesium_mg_L.1"                "Manganese_mg_L"                 
##  [57] "Molybdenum_mg_L"                 "Nickel_mg_L"                    
##  [59] "Potassium_mg_L.1"                "Rubidium_mg_L"                  
##  [61] "Selenium_mg_L"                   "Silver_mg_L"                    
##  [63] "Sodium_mg_L.1"                   "Strontium_mg_L"                 
##  [65] "Tellurium_mg_L"                  "Thallium_mg_L"                  
##  [67] "Tin_mg_L"                        "Uranium_mg_L"                   
##  [69] "Vanadium_mg_L"                   "Zinc_mg_L"                      
##  [71] "MicrobiologicalExaminationWater" "RPCSampleID3"                   
##  [73] "ClientsampleID3"                 "Datesampled3"                   
##  [75] "Time.Sampled"                    "E.coli_MPN_100.mL"              
##  [77] "Temp_eau_YSI_degC"               "Oxyg_dissous_YSI_mg_L"          
##  [79] "Cond_YSI_mS_cm"                  "NOX_mg_L"                       
##  [81] "TKN_mg_L"                        "TP_L_mg_L"                      
##  [83] "SS_mg_L"                         "Year"                           
##  [85] "Period"                          "Campagne"                       
##  [87] "POK_no"                          "Nom"                            
##  [89] "Lat"                             "Long"                           
##  [91] "Ordre"                           "Ordre1_m_amont"                 
##  [93] "Ordre2_m_amont"                  "Ordre3_m_amont"                 
##  [95] "Ordre4_m_amont"                  "Ordre5_m_amont"                 
##  [97] "Somme_ordre_1.5"                 "Dist_amont_station_m"           
##  [99] "Longueur_totale_m_ordre1"        "Longueur_totale_m_ordre2"       
## [101] "Longueur_totale_m_ordre3"        "Longueur_totale_m_ordre4"       
## [103] "Longueur_totale_m_ordre5"        "Longueur_totale_m_sous_bassin"  
## [105] "Proportion_ordre1"               "Proportion_ordre2"              
## [107] "Proportion_ordre3"               "Proportion_ordre4"              
## [109] "Proportion_ordre5"               "sup_km2_sbv"                    
## [111] "sup_drainee_km2_sbv"             "longueur_route_km_sbv"          
## [113] "WA_km2_supdrainee_2020"          "WL_km2_supdrainee_2020"         
## [115] "NF_km2_supdrainee_2020"          "FO_km2_supdrainee_2020"         
## [117] "AGR_km2_supdrainee_2020"         "IND_km2_supdrainee_2020"        
## [119] "INF_km2_supdrainee_2020"         "SET_km2_supdrainee_2020"        
## [121] "REC_km2_supdrainee_2020"         "WIL_km2_supdrainee_2020"        
## [123] "C_km2_supdrainee_2020"           "F_km2_supdrainee_2020"          
## [125] "N_km2_supdrainee_2020"           "B_km2_supdrainee_2020"          
## [127] "NULL_km2_supdrainee_2020"        "WA_km2_supdrainee_1990"         
## [129] "WL_km2_supdrainee_1990"          "NF_km2_supdrainee_1990"         
## [131] "FO_km2_supdrainee_1990"          "AGR_km2_supdrainee_1990"        
## [133] "IND_km2_supdrainee_1990"         "INF_km2_supdrainee_1990"        
## [135] "SET_km2_supdrainee_1990"         "C_km2_supdrainee_1990"          
## [137] "F_km2_supdrainee_1990"           "N_km2_supdrainee_1990"          
## [139] "B_km2_supdrainee_1990"           "NULL_km2_supdrainee_1990"       
## [141] "fraction.drainee"                "Longitude"                      
## [143] "Latitude"                        "Station_meteo"                  
## [145] "ID_climatologique"               "Annee"                          
## [147] "Mois"                            "Jour"                           
## [149] "QualiteDonnees"                  "temp_max_C"                     
## [151] "Temp_max_indic"                  "temp_min_C"                     
## [153] "temp_min_indic"                  "temp_moy_C"                     
## [155] "temp_moy_indic"                  "DJC_C"                          
## [157] "DJC_indic"                       "DJR_C"                          
## [159] "DJR_indic"                       "pluie_tot_mm"                   
## [161] "pluie_tot_indic"                 "neige_tot_cm"                   
## [163] "neige_tot_indic"                 "precip_tot_mm"                  
## [165] "precip_tot_indic"                "neige_sol_cm"                   
## [167] "neige_sol_indic"                 "Dir.raf.max.10s.deg"            
## [169] "Dir.raf.max.indic"               "Vit.raf.max.km_h"               
## [171] "Vit.raf.max.indicateur"          "Tmax2jours"                     
## [173] "Tmax3jours"                      "Tmax4jours"                     
## [175] "Tmax5jours"                      "Tmax6jours"                     
## [177] "Tmax7jours"                      "Tmin2jours"                     
## [179] "Tmin3jours"                      "Tmin4jours"                     
## [181] "Tmin5jours"                      "Tmin6jours"                     
## [183] "Tmin7jours"                      "precip.tot.2jours"              
## [185] "precip.tot.3jours"               "precip.tot.4jours"              
## [187] "precip.tot.5jours"               "precip.tot.6jours"              
## [189] "precip.tot.7jours"               "precip.tot.14jours"             
## [191] "precip.tot.21jours"              "vit.vents.2jours"               
## [193] "vit.vents.3jours"                "vit.vents.4jours"               
## [195] "vit.vents.5jours"                "vit.vents.6jours"               
## [197] "vit.vents.7jours"

# une régression linéaire pour analyser la relation entre la dureté de l'eau 
#(mesurée en mg/L de CaCO3) et la station de mesure.
koko <- lm(Pok2001.2022$sup_drainee_km2_sbv ~ Pok2001.2022$sup_drainee_km2_sbv)
## Warning in model.matrix.default(mt, mf, contrasts): la réponse est apparue dans
## le membre de droite et y a été éliminée
## Warning in model.matrix.default(mt, mf, contrasts): problème avec le terme 1
## dans model.matrix : aucune colonne n'est assignée
summary(koko)
## 
## Call:
## lm(formula = Pok2001.2022$sup_drainee_km2_sbv ~ Pok2001.2022$sup_drainee_km2_sbv)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -17.673  -9.373  -7.478  -4.108  85.067 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)   27.353      1.891   14.47   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 26.2 on 191 degrees of freedom
anova(koko)
## Analysis of Variance Table
## 
## Response: Pok2001.2022$sup_drainee_km2_sbv
##            Df Sum Sq Mean Sq F value Pr(>F)
## Residuals 191 131092  686.34
# Effectuer une analyse de variance pour quantifier la contribution des variables explicatives
anova_model <- aov(sup_drainee_km2_sbv ~ NF_km2_supdrainee_1990 + NF_km2_supdrainee_2020, data = Pok2001.2022)
summary(anova_model)
##                         Df Sum Sq Mean Sq F value Pr(>F)    
## NF_km2_supdrainee_1990   1  79006   79006  1566.8 <2e-16 ***
## NF_km2_supdrainee_2020   1  42555   42555   843.9 <2e-16 ***
## Residuals              189   9530      50                   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

#tapply(Pok2001.2022$sup_km2_sbv, Pok2001.2022$Period, summary)
plot(Pok2001.2022$sup_km2_sbv~Pok2001.2022$sup_drainee_km2_sbv)

cor.test(Pok2001.2022$sup_km2_sbv, Pok2001.2022$sup_drainee_km2_sbv,
method=c('pearson'))
## 
##  Pearson's product-moment correlation
## 
## data:  Pok2001.2022$sup_km2_sbv and Pok2001.2022$sup_drainee_km2_sbv
## t = 62.731, df = 190, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.9691296 0.9824288
## sample estimates:
##       cor 
## 0.9766989

Code Alain ce 03/07/2024

# 2024-07-03
# Créer un sous-tabeau avec les 12 stations (une seule date)
Pok0=subset(Pok2001.2022, Date=="2001-08-01",
       select=c(Station, Station2, Date, Long, Ordre, Dist_amont_station_m, 
                Somme_ordre_1.5))
dim(Pok0)
## [1] 12  7
# 2024-07-03
# Voici comment se suivent les stations de l'ouest vers l'est:
Pok1=Pok0[order(Pok0$Long),]
plot(Pok1$Long, pchr="")
## Warning in plot.window(...): "pchr" n'est pas un paramètre graphique
## Warning in plot.xy(xy, type, ...): "pchr" n'est pas un paramètre graphique
## Warning in axis(side = side, at = at, labels = labels, ...): "pchr" n'est pas
## un paramètre graphique
## Warning in axis(side = side, at = at, labels = labels, ...): "pchr" n'est pas
## un paramètre graphique
## Warning in box(...): "pchr" n'est pas un paramètre graphique
## Warning in title(...): "pchr" n'est pas un paramètre graphique
text(Pok1$Long,, Pok1$Station)

# 2024-07-03
# Ordonner selon le parcours le plus long en amont de la station
 
Pok2=Pok0[order(Pok0$Dist_amont_station_m),]
plot(Pok2$Dist_amont_station_m, pch="")
text(Pok2$Dist_amont_station_m,, Pok2$Station)

# 2024-07-03
# Ordonner selon la somme des longueurs en amont
 
Pok3=Pok0[order(Pok0$Somme_ordre_1.5),]
plot(Pok3$Somme_ordre_1.5, pch="")
text(Pok3$Somme_ordre_1.5,, Pok3$Station)

strwrap("2024-06-26 Le tableau complet des données de chimie, 
        caractéristiques territoriales et météo est enfin assemblé
        et prêt à être analysé.")
## [1] "2024-06-26 Le tableau complet des données de chimie, caractéristiques"
## [2] "territoriales et météo est enfin assemblé et prêt à être analysé."
# Temp_eau_YSI_degC
# Oxyg_dissous_YSI_mg_L
# Conductivity_microS_cm
# pH_units
# Turbidity_NTU
# Colour_TCU
# Carbon_Total_Organic_mg_L
# E.coli_MPN_100.mL
# Phosphorus_Total_mg_L
# Nitrate_as_N_mg_L
  
  
scatterplot(Pok2001.2022$precip.tot.7jours,Pok2001.2022$Colour_TCU,   
              groups=Pok2001.2022$Year, smooth=F, by.groups=T, regLine=F)

scatterplot(Pok2001.2022$Somme_ordre_1.5,Pok2001.2022$Colour_TCU,   
              groups=Pok2001.2022$Year, smooth=F, by.groups=T, regLine=F)

scatterplot(Colour_TCU ~ Carbon_Total_Organic_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)

ggplot(Pok2001.2022,aes(x=Temp_eau_YSI_degC,y=Conductivity_microS_cm)) +
geom_point()
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

sub2=subset(Pok2001.2022,!is.na(Temp_eau_YSI_degC),
            select=c(Ordre1_m_amont, Ordre2_m_amont,Ordre3_m_amont,
                    Temp_eau_YSI_degC, Conductivity_microS_cm, pH_units,SS_mg_L))
 
dim(sub2)
## [1] 190   7
pairs(sub2)

#names(Pok2001.2022)

Gaël essaie avec les données

strwrap("2024-07-03 : Analyse de relation entre les variables")
## [1] "2024-07-03 : Analyse de relation entre les variables"
scatterplot(Pok2001.2022$precip.tot.7jours,Pok2001.2022$Colour_TCU,   
              groups=Pok2001.2022$Year, smooth=F, by.groups=T, regLine=F)

scatterplot(Pok2001.2022$Somme_ordre_1.5,Pok2001.2022$Colour_TCU,   
              groups=Pok2001.2022$Year, smooth=F, by.groups=T, regLine=T)

scatterplot(Colour_TCU ~ Carbon_Total_Organic_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)

ggplot(Pok2001.2022,aes(x=Temp_eau_YSI_degC,y=Conductivity_microS_cm)) +
geom_point()
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

sub2=subset(Pok2001.2022,!is.na(Temp_eau_YSI_degC),
            select=c(Ordre1_m_amont, Ordre2_m_amont,Ordre3_m_amont,
                    Temp_eau_YSI_degC, Conductivity_microS_cm, pH_units,SS_mg_L))
 
dim(sub2)
## [1] 190   7
pairs(sub2)

Ce lundi 08 juillets 2024

la surperficie forêt drainée en 2020

# AP 2024-08-26 Attention à créer les "variables universelles", comme indiqué
# dans mon courriel du 2024-07-17 avec la fonction "ifelse".
# Ces nouvelles variables territoriales présentent les valeurs de 1990
# pour les rangées de 1990, et les valeurs de 2020 pour les rangées de 2020.

 scatterplot(pctAGR_km2_supdrainee_2020 ~ Temp_eau_YSI_degC | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Oxyg_dissous_YSI_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Conductivity_microS_cm | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ pH_units | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Turbidity_NTU | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Colour_TCU | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Carbon_Total_Organic_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ E.coli_MPN_100.mL | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Phosphorus_Total_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)
 scatterplot(AGR_km2_supdrainee_2020 ~ Nitrate_as_N_mg_L | Year,  
            data=Pok2001.2022, smooth=F, by.groups=F)

# names(Pok2001.2022)

Je crée un graphique de dispersion pour montrer la relation entre mes variables dépendant (paramètres de la qualité de l’eau) et indépendant (Caractéristique territoriaux)

Superficie de terre brûlé et paramètre

Temp_VS_superficie_brûlé

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=B_km2_supdrainee_1990, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre Température et la superficies brûlé en 1990",
       x="B_km2_supdrainee_1990",
       y="Temp_eau_YSI_degC")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=B_km2_supdrainee_2020, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre Température et la superficies brûlé en 2020",
       x="B_km2_supdrainee_2020",
       y="Temp_eau_YSI_degC")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Voici une interprétation possible de ce graphique :

La dispersion des point sur le graphique ne montre aucune tendance de hausse et de baisse. Cela suggère qu’il y absence de forte relation linéaire entre la température et les terres brûles en 1990

Au point y=0, on ’a une concentration des points le long de la ligne horizontal ce qui suggère un absence de changement de la température quelque soit la valeur de la superficie brûlé.

La répartition des points au dessus comme en dessous de la ligne horizontale, indique des variation des température pour difféentes valeur de terre brûlé en 1990.

Ce graphique suggère que les terres brûler (déforestations ) n’a pas d’effet direct simple sur la température. Cela pourrait impliquer que d’autres facteurs pourraient influencer les changements de température

# Installer et charger le package rpart
if (!require(rpart)) {
  install.packages("rpart")
}
## Le chargement a nécessité le package : rpart
## Warning: le package 'rpart' a été compilé avec la version R 4.3.3
library(rpart)

# Supposons que df est votre dataframe
# paramètre est la variable indépendante
# TA, WL, MN, DE, AS, EF, SS, DD, SE, DR, AD, SF sont les variables dépendantes

# Créer l'arbre de régression
arbre <- rpart(Temp_eau_YSI_degC ~ Ordre + Dist_amont_station_m + Longueur_totale_m_sous_bassin + sup_km2_sbv + sup_drainee_km2_sbv + longueur_route_km_sbv + temp_min_C + temp_moy_C + temp_max_C + neige_tot_cm + pluie_tot_mm + precip_tot_mm + neige_sol_cm + Tmax2jours + Tmin2jours + precip.tot.2jours + precip.tot.21jours, data = Pok2001.2022, method = "anova")

# Imprimer l'arbre de régression
print(arbre)
## n=190 (2 observations effacées parce que manquantes)
## 
## node), split, n, deviance, yval
##       * denotes terminal node
## 
##  1) root 190 3598.25800 10.219470  
##    2) Tmax2jours< 17.75 71  323.85970  5.616901  
##      4) temp_moy_C< 4.65 23   22.66435  2.873913 *
##      5) temp_moy_C>=4.65 48   45.22312  6.931250 *
##    3) Tmax2jours>=17.75 119  872.98870 12.965550  
##      6) Tmax2jours< 21.1 35   89.81143 11.128570 *
##      7) Tmax2jours>=21.1 84  615.85950 13.730950  
##       14) temp_moy_C>=19.8 12   26.04000 10.600000 *
##       15) temp_moy_C< 19.8 72  452.57940 14.252780  
##         30) Longueur_totale_m_sous_bassin>=33914 48  191.74670 13.716670  
##           60) temp_max_C>=21.15 40  115.44400 13.220000 *
##           61) temp_max_C< 21.15 8   17.10000 16.200000 *
##         31) Longueur_totale_m_sous_bassin< 33914 24  219.44500 15.325000 *
# Tracer l'arbre de régression
plot(arbre, uniform = TRUE, main = "Arbre de régression pour paramètre")
text(arbre, use.n = TRUE, all = TRUE, cex = .8)

# Installer et charger le package rpart
if (!require(rpart)) {
  install.packages("rpart")
}
library(rpart)

# Supposons que df est votre dataframe
# paramètre est la variable indépendante
# TA, WL, MN, DE, AS, EF, SS, DD, SE, DR, AD, SF sont les variables dépendantes

# Créer l'arbre de régression
arbre <- rpart(Ordre ~ Temp_eau_YSI_degC + Oxyg_dissous_YSI_mg_L + Conductivity_microS_cm + pH_units + Turbidity_NTU + Colour_TCU + Carbon_Total_Organic_mg_L + E.coli_MPN_100.mL + Phosphorus_Total_mg_L + Nitrate_as_N_mg_L, data = Pok2001.2022, method = "anova")

# Imprimer l'arbre de régression
printcp(arbre)

# Tracer l'arbre de régression
plot(arbre, uniform = TRUE, main = "Arbre de régression pour paramètre")
text(arbre, use.n = TRUE, all = TRUE, cex = .8)

#

#Ordre + Dist_amont_station_m + Longueur_totale_m_sous_bassin + sup_km2_sbv + sup_drainee_km2_sbv + longueur_route_km_sbv + temp_min_C + temp_moy_C + temp_max_C + neige_tot_cm + pluie_tot_mm + precip_tot_mm + neige_sol_cm + Tmax2jours + Tmin2jours + precip.tot.2jours + precip.tot.21jours
# Installer et charger le package rpart.plot
if (!require(rpart.plot)) {
  install.packages("rpart.plot")
}
## Le chargement a nécessité le package : rpart.plot
## Warning: le package 'rpart.plot' a été compilé avec la version R 4.3.3
library(rpart.plot)

# Créer l'arbre de régression
arbre <- rpart(Ordre ~ Temp_eau_YSI_degC + Oxyg_dissous_YSI_mg_L + Conductivity_microS_cm + pH_units + Turbidity_NTU + Colour_TCU + Carbon_Total_Organic_mg_L + E.coli_MPN_100.mL + Phosphorus_Total_mg_L + Nitrate_as_N_mg_L, data = Pok2001.2022, method = "anova")

# Tracer un arbre de régression plus joli et très présentable
rpart.plot(arbre, type = 3, extra = 101, under = TRUE, fallen.leaves = TRUE,
           main = "Arbre de régression pour paramètre")

#Ce vendredi 12 juillet 2024 les variables en %

Superficie non forestière et paramètre

Temp_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre Température et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Temp_eau_YSI_degC")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre Température et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Temp_eau_YSI_degC")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Oxygène_dissous_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre l'Oxygène_dissous et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Oxyg_dissous_YSI_mg_L")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre l'Oxygène_dissous et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Oxyg_dissous_YSI_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Conductivity_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la Conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Conductivity_microS_cm")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la Conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Conductivity_microS_cm")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

pH_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre le pH et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="pH_units")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre le pH et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="pH_units")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

turbidité_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la turbidité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Turbidity_NTU")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la turbidité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Turbidity_NTU")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Couleur_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la couleur et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Colour_TCU")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la turbidité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Colour_TCU")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

COT_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre le COT et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Carbon_Total_Organic_mg_L")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre le COT et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Carbon_Total_Organic_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coliforme_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre les coliformes et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="E.coli_MPN_100.mL")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre les coliformes et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="E.coli_MPN_100.mL")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

phosphore_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre le phosphore et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Phosphorus_Total_mg_L")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre le phosphore et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Phosphorus_Total_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Nitrate_VS_Précip_2_21_jrs_total

# Créer un graphique pour l'année 2000
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre le nitrate et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Nitrate_as_N_mg_L")
# Créer un graphique pour l'année 2020
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre le nitrate et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Nitrate_as_N_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2,  ncol=2, nrow=1)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Ce lundi 15 juillet 2024

Je refaire le même schéma d’analyse juste avec les données de pourcentage

#je crée tout mes variable de % pour les sous variable de NF pour les deux anéées

# AGR_km2_supdrainee_1990 et AGR_km2_supdrainee_2020

Pok2001.2022$pctAGR_supdrainee_1990 = (Pok2001.2022$AGR_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctAGR_supdrainee_2020 = (Pok2001.2022$AGR_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)


# IND_km2_supdrainee_1990 et IND_km2_supdrainee_2020
Pok2001.2022$pctIND_supdrainee_1990 = (Pok2001.2022$IND_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctIND_supdrainee_2020 = (Pok2001.2022$IND_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)


# INF_km2_supdrainee_1990 et INF_km2_supdrainee_2020
Pok2001.2022$pctINF_supdrainee_1990 = (Pok2001.2022$INF_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctINF_supdrainee_2020 = (Pok2001.2022$INF_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)


# SET_km2_supdrainee_1990 et SET_km2_supdrainee_2020
Pok2001.2022$pctSET_km2_supdrainee_1990 = (Pok2001.2022$SET_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctSET_supdrainee_2020 = (Pok2001.2022$SET_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)

#erreur :Erreur dans `$<-.data.frame`(`*tmp*`, pctREC_km2_supdrainee_1990, value = numeric(0)) :   le tableau de remplacement a 0 lignes, le tableau remplacé en a 192

# REC_km2_supdrainee_1990 et REC_km2_supdrainee_2020
#Pok2001.2022$pctREC_km2_supdrainee_1990 = (Pok2001.2022$REC_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctREC_supdrainee_2020 = (Pok2001.2022$REC_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)

#Erreur dans `$<-.data.frame`(`*tmp*`, pctWIL_supdrainee_1990, value = numeric(0)) :  le tableau de remplacement a 0 lignes, le tableau remplacé en a 192

# WIL_km2_supdrainee_1990 et WIL_km2_supdrainee_2020
#Pok2001.2022$pctWIL_supdrainee_1990 = (Pok2001.2022$WIL_km2_supdrainee_1990 /      Pok2001.2022$sup_drainee_km2_sbv)

Pok2001.2022$pctWIL_supdrainee_2020 = (Pok2001.2022$WIL_km2_supdrainee_2020 /      Pok2001.2022$sup_drainee_km2_sbv)

#essaie du code que Alain ma envoyé par courriel le lundi 15 à 15h46

# Reçu par courriel de Gaël 2024-07-15 lundi au campus pendant les vacances

# Créer les variables par période:

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /

Period1$sup_drainee_km2_sbv


Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /

Period1$sup_drainee_km2_sbv


# Vérifier que les données existent:

subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctAGR_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01             0.03019261              11.5
## 2          Morrison 06 2001-08-01             0.03779528              10.2
## 3              Malt 11 2001-08-01             0.03059581              25.2
## 4           Suggary 02 2001-08-01             0.08780992              14.4
## 5      Waugh sanct. 07 2001-08-01             0.01351351              10.8
## 6           Dempsey 12 2001-08-01             0.03213242              20.4
## 7  Branche sud aval 03 2001-08-01             0.06642438              13.5
## 8            Sewell 08 2001-08-01             0.12364865              12.8
## 9         Pok amont 04 2001-08-01             0.18215845              11.4
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585              14.5
## 11 McConnell Six Rd 05 2001-08-01             0.14803220               9.0
## 12          Pollard 10 2001-08-01             0.19823789              15.1
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585               9.3
## 14          Pollard 10 2001-08-28             0.19823789              12.0
## 15    br. sud amont 01 2001-08-28             0.03019261              10.0
## 16         Morrison 06 2001-08-28             0.03779528               NaN
## 17             Malt 11 2001-08-28             0.03059581               8.8
## 18          Suggary 02 2001-08-28             0.08780992              13.0
## 19     Waugh sanct. 07 2001-08-28             0.01351351              10.6
## 20          Dempsey 12 2001-08-28             0.03213242              13.5
## 21 Branche sud aval 03 2001-08-28             0.06642438              11.5
## 22           Sewell 08 2001-08-28             0.12364865              13.5
## 23        Pok amont 04 2001-08-28             0.18215845               8.4
## 24 McConnell Six Rd 05 2001-08-28             0.14803220              10.9
## 25        Pok amont 04 2001-09-26             0.18215845               9.8
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585              10.7
## 27 McConnell Six Rd 05 2001-09-26             0.14803220              11.8
## 28          Pollard 10 2001-09-26             0.19823789              12.7
## 29    br. sud amont 01 2001-09-26             0.03019261              11.5
## 30         Morrison 06 2001-09-26             0.03779528              11.2
## 31             Malt 11 2001-09-26             0.03059581               9.3
## 32          Suggary 02 2001-09-26             0.08780992              12.9
## 33     Waugh sanct. 07 2001-09-26             0.01351351              10.4
## 34          Dempsey 12 2001-09-26             0.03213242              13.4
## 35 Branche sud aval 03 2001-09-26             0.06642438              12.0
## 36           Sewell 08 2001-09-26             0.12364865              12.9
## 37           Sewell 08 2001-10-31             0.12364865               1.4
## 38        Pok amont 04 2001-10-31             0.18215845               4.8
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585               3.0
## 40         Morrison 06 2001-10-31             0.03779528               1.8
## 41 McConnell Six Rd 05 2001-10-31             0.14803220               2.1
## 42          Pollard 10 2001-10-31             0.19823789               3.3
## 43    br. sud amont 01 2001-10-31             0.03019261               2.7
## 44          Dempsey 12 2001-10-31             0.03213242               3.9
## 45             Malt 11 2001-10-31             0.03059581               4.8
## 46          Suggary 02 2001-10-31             0.08780992               2.1
## 47     Waugh sanct. 07 2001-10-31             0.01351351               2.7
## 48 Branche sud aval 03 2001-10-31             0.06642438               2.3
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585              17.5
## 50 Branche sud aval 03 2002-07-29             0.06642438              15.7
## 51           Sewell 08 2002-07-29             0.12364865              16.8
## 52        Pok amont 04 2002-07-29             0.18215845              13.3
## 53    br. sud amont 01 2002-07-29             0.03019261              14.7
## 54         Morrison 06 2002-07-29             0.03779528              17.3
## 55 McConnell Six Rd 05 2002-07-29             0.14803220              17.4
## 56          Pollard 10 2002-07-29             0.19823789              17.0
## 57     Waugh sanct. 07 2002-07-29             0.01351351              16.4
## 58          Dempsey 12 2002-07-29             0.03213242              15.6
## 59             Malt 11 2002-07-29             0.03059581              14.9
## 60          Suggary 02 2002-07-29             0.08780992              17.9
## 61        Pok amont 04 2002-08-28             0.18215845               8.0
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585              10.2
## 63          Dempsey 12 2002-08-28             0.03213242              13.2
## 64 Branche sud aval 03 2002-08-28             0.06642438              11.3
## 65           Sewell 08 2002-08-28             0.12364865              13.1
## 66          Pollard 10 2002-08-28             0.19823789              11.1
## 67    br. sud amont 01 2002-08-28             0.03019261              11.1
## 68         Morrison 06 2002-08-28             0.03779528               9.9
## 69 McConnell Six Rd 05 2002-08-28             0.14803220              12.9
## 70          Suggary 02 2002-08-28             0.08780992              10.6
## 71     Waugh sanct. 07 2002-08-28             0.01351351              10.1
## 72             Malt 11 2002-08-28             0.03059581               7.9
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585              10.7
## 74           Sewell 08 2002-10-02             0.12364865              12.7
## 75        Pok amont 04 2002-10-02             0.18215845               7.8
## 76     Waugh sanct. 07 2002-10-02             0.01351351              10.7
## 77          Dempsey 12 2002-10-02             0.03213242              11.1
## 78 Branche sud aval 03 2002-10-02             0.06642438              10.9
## 79 McConnell Six Rd 05 2002-10-02             0.14803220              12.9
## 80          Pollard 10 2002-10-02             0.19823789              10.8
## 81    br. sud amont 01 2002-10-02             0.03019261              11.0
## 82         Morrison 06 2002-10-02             0.03779528              10.5
## 83             Malt 11 2002-10-02             0.03059581               7.8
## 84          Suggary 02 2002-10-02             0.08780992              10.3
## 85        Pok amont 04 2002-10-31             0.18215845               4.6
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585               2.7
## 87 Branche sud aval 03 2002-10-31             0.06642438               NaN
## 88           Sewell 08 2002-10-31             0.12364865               1.6
## 89          Suggary 02 2002-10-31             0.08780992               2.7
## 90     Waugh sanct. 07 2002-10-31             0.01351351               2.7
## 91          Dempsey 12 2002-10-31             0.03213242               3.3
## 92         Morrison 06 2002-10-31             0.03779528               1.7
## 93 McConnell Six Rd 05 2002-10-31             0.14803220               2.3
## 94          Pollard 10 2002-10-31             0.19823789               2.7
## 95    br. sud amont 01 2002-10-31             0.03019261               2.5
## 96             Malt 11 2002-10-31             0.03059581               4.4
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctAGR_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28             0.05361791              11.5
## 98           Dempsey 12 2021-07-28             0.03149606              16.1
## 99  Branche sud aval 03 2021-07-28             0.03488996              15.5
## 100           Sewell 08 2021-07-28             0.03822314              14.2
## 101     Waugh sanct. 07 2021-07-28             0.02316602              12.1
## 102    br. sud amont 01 2021-07-28             0.04819864              14.0
## 103         Morrison 06 2021-07-28             0.12471091              15.7
## 104             Malt 11 2021-07-28             0.10337838              11.7
## 105 McConnell Six Rd 05 2021-07-28             0.24142233              16.9
## 106          Pollard 10 2021-07-28             0.13349057              14.6
## 107        Pok amont 04 2021-07-28             0.15787120              11.2
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145              11.9
## 109             Malt 11 2021-08-31             0.13349057              12.0
## 110          Suggary 02 2021-08-31             0.17621145              11.0
## 111     Waugh sanct. 07 2021-08-31             0.05361791              12.8
## 112          Dempsey 12 2021-08-31             0.03149606              15.0
## 113 Branche sud aval 03 2021-08-31             0.03488996              15.0
## 114           Sewell 08 2021-08-31             0.03822314              14.6
## 115          Pollard 10 2021-08-31             0.02316602              15.7
## 116    br. sud amont 01 2021-08-31             0.04819864              13.7
## 117         Morrison 06 2021-08-31             0.12471091              14.9
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838              11.7
## 119 McConnell Six Rd 05 2021-08-31             0.24142233              16.4
## 120        Pok amont 04 2021-08-31             0.15787120              10.8
## 121          Suggary 02 2021-10-05             0.24142233               6.3
## 122         Morrison 06 2021-10-05             0.13349057               7.0
## 123             Malt 11 2021-10-05             0.15787120               8.5
## 124           Sewell 08 2021-10-05             0.17621145               8.0
## 125     Waugh sanct. 07 2021-10-05             0.05361791               9.0
## 126          Dempsey 12 2021-10-05             0.03149606               8.7
## 127 Branche sud aval 03 2021-10-05             0.03488996               7.9
## 128 McConnell Six Rd 05 2021-10-05             0.03822314               7.9
## 129          Pollard 10 2021-10-05             0.02316602               8.7
## 130    br. sud amont 01 2021-10-05             0.04819864               7.3
## 131        Pok amont 04 2021-10-05             0.12471091               7.4
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838               6.4
## 133             Malt 11 2021-10-28             0.10337838               7.1
## 134          Suggary 02 2021-10-28             0.24142233               6.7
## 135    br. sud amont 01 2021-10-28             0.13349057               7.0
## 136         Morrison 06 2021-10-28             0.03149606               6.4
## 137 Branche sud aval 03 2021-10-28             0.15787120               6.7
## 138           Sewell 08 2021-10-28             0.17621145               7.4
## 139     Waugh sanct. 07 2021-10-28             0.05361791               7.3
## 140          Dempsey 12 2021-10-28             0.04819864               7.3
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996               6.7
## 142 McConnell Six Rd 05 2021-10-28             0.03822314               7.2
## 143          Pollard 10 2021-10-28             0.02316602               7.5
## 144        Pok amont 04 2021-10-28             0.12471091               7.2
## 145          Pollard 10 2022-07-28             0.13349057              14.2
## 146         Morrison 06 2022-07-28             0.12471091              13.3
## 147             Malt 11 2022-07-28             0.10337838              12.9
## 148          Suggary 02 2022-07-28             0.24142233              11.4
## 149    br. sud amont 01 2022-07-28             0.05361791              14.9
## 150          Dempsey 12 2022-07-28             0.03149606              15.3
## 151 Branche sud aval 03 2022-07-28             0.15787120              15.5
## 152           Sewell 08 2022-07-28             0.17621145              15.1
## 153     Waugh sanct. 07 2022-07-28             0.02316602              13.1
## 154        Pok amont 04 2022-07-28             0.04819864              11.9
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996              11.1
## 156 McConnell Six Rd 05 2022-07-28             0.03822314              13.8
## 157 McConnell Six Rd 05 2022-09-01             0.24142233              16.2
## 158          Pollard 10 2022-09-01             0.13349057              15.1
## 159    br. sud amont 01 2022-09-01             0.04819864              14.8
## 160         Morrison 06 2022-09-01             0.12471091              15.0
## 161             Malt 11 2022-09-01             0.10337838              12.3
## 162          Suggary 02 2022-09-01             0.17621145              11.9
## 163     Waugh sanct. 07 2022-09-01             0.05361791              14.0
## 164          Dempsey 12 2022-09-01             0.03149606              15.0
## 165 Branche sud aval 03 2022-09-01             0.15787120              16.2
## 166           Sewell 08 2022-09-01             0.03822314              15.9
## 167        Pok amont 04 2022-09-01             0.02316602              12.1
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996              12.9
## 169           Sewell 08 2022-10-03             0.13349057               6.2
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838               4.7
## 171 McConnell Six Rd 05 2022-10-03             0.24142233               6.5
## 172          Pollard 10 2022-10-03             0.02316602               6.5
## 173    br. sud amont 01 2022-10-03             0.04819864               5.6
## 174         Morrison 06 2022-10-03             0.12471091               4.7
## 175             Malt 11 2022-10-03             0.15787120               7.9
## 176          Suggary 02 2022-10-03             0.17621145               4.5
## 177     Waugh sanct. 07 2022-10-03             0.05361791               6.3
## 178          Dempsey 12 2022-10-03             0.03149606               6.0
## 179 Branche sud aval 03 2022-10-03             0.03488996               6.2
## 180        Pok amont 04 2022-10-03             0.03822314               6.5
## 181 Branche sud aval 03 2022-11-01             0.24142233               6.5
## 182           Sewell 08 2022-11-01             0.13349057               7.1
## 183        Pok amont 04 2022-11-01             0.12471091               6.3
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838               6.1
## 185 McConnell Six Rd 05 2022-11-01             0.03822314               7.4
## 186          Pollard 10 2022-11-01             0.02316602               8.0
## 187    br. sud amont 01 2022-11-01             0.04819864               7.0
## 188         Morrison 06 2022-11-01             0.03149606               5.9
## 189             Malt 11 2022-11-01             0.15787120               7.6
## 190          Suggary 02 2022-11-01             0.17621145               6.5
## 191     Waugh sanct. 07 2022-11-01             0.05361791               7.3
## 192          Dempsey 12 2022-11-01             0.03488996               7.8
# Attention à prendre le tableau "Period1" pour les graphiques de 1990

# plutôt que le tableau "Pok2001.2022".


ggplot() +

# Placer d'abord les points de la série "Period1":

geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Temp_eau_YSI_degC,

 color="P1", shape="P1")) +

geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Temp_eau_YSI_degC),

 method=lm, se=FALSE, color="red") +

# Ajouter les points pour la série "Period2"

 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Temp_eau_YSI_degC),

 method=lm, se=FALSE, color="blue") +

# Contrôler la couleur des séries

 scale_color_manual(name="",

values=c("P1"="red", "P2"="blue"),

breaks=c("P1","P2")) +

# Contrôler les symboles des séries

scale_shape_manual(name="",

values=c("P1"=1, "P2"=2),

breaks=c("P1","P2")) +

# Ajuster les titres

 labs(title="Relation entre Température et l'agriculture en 1990",

x="Agriculture (fraction de la superficie du bassin)",

y="Temp_eau_YSI_degC") +

# Utiliser un fond blanc

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

# Montrer la relation pH vs. precip en distinguant les stations


ggplot(data=Pok2001.2022, aes(x=precip.tot.14jours, y=pH_units,

color=Station2, shape=Station2)) +

scale_shape_manual(values=1:nlevels(Pok2001.2022$Station2)) +

geom_point() +

 theme_bw()
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

# Montrer la relation pH vs. precip en distinguant les périodes


ggplot(data=Pok2001.2022, aes(x=precip.tot.14jours, y=pH_units,

color=Period, shape=Period)) +

geom_point() +

 theme_bw()
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

# La disposition des points reste la même, mais on voit qu'il a plus plu

# en 2021-2022 qu'en 2001-2002.
# Montrer la relation pH vs. precip en distinguant les ordre

# Ici, il faut utiliser "as.factor" pour convertir à la volée la

# variable "Ordre" qui est de classe (type) "num" en facteur.



ggplot(data=Pok2001.2022, aes(x=precip.tot.14jours, y=pH_units,

color=as.factor(Ordre), shape=as.factor(Ordre))) +

# Utiliser "geom_jitter" pour décaler les points de gauche à droite et ainsi

# éviter que des points soient cachés derrière d'autres.

geom_jitter() +

 theme_bw()
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

# On voit que les stations d'ordre 4 ou 5 ont généralement des valeurs

# de pH plus élevées que les stations d'ordre 3.
log10(Pok2001.2022$E.coli)
##   [1] 1.0000000 1.9030900 1.4771213 1.0000000 2.4313638 1.6989700 1.0000000
##   [8] 1.3010300 1.0000000 1.0000000 1.4771213 2.0413927 1.0000000 1.6989700
##  [15] 2.0791812 1.9542425 1.3010300 1.9030900 2.6334685 1.3010300 2.0413927
##  [22] 2.3222193 1.0000000 2.3979400 2.7242759 2.9190781 2.0791812 3.0934217
##  [29] 3.3010300 2.3424227 2.1760913 2.1760913 2.7708520 2.1760913 2.8195439
##  [36] 2.2787536 2.1461280 1.3010300 1.0000000 1.0000000 2.4913617 1.6989700
##  [43] 1.3010300 1.0000000 2.0000000 1.4771213 2.6812412 1.4771213 1.0000000
##  [50] 1.4771213 1.7781513 1.0000000 1.3010300 1.0000000 1.0000000 2.8195439
##  [57] 1.9030900 1.3979400 1.0000000 1.0000000 1.4771213 1.0000000 1.0000000
##  [64] 1.3010300 1.0000000 2.2552725 1.9030900 1.3010300 2.4913617 1.1760913
##  [71] 2.6127839 1.4771213 1.0000000 1.3979400 1.0000000 2.8450980 1.4771213
##  [78] 1.6020600 2.1760913 1.0000000 1.3010300 1.0000000 1.9542425 1.3010300
##  [85] 1.0000000 1.0000000 1.0000000 1.0000000 1.6989700 1.6020600 1.0000000
##  [92] 1.0000000 1.4771213 1.0000000 1.0000000 1.0000000 1.3010300 1.7160033
##  [99] 1.8692317 1.9912261 1.7160033 1.8750613 1.4771213 1.0000000 1.8750613
## [106] 1.9912261 1.0000000 1.3010300 1.5943926 2.3727279 1.8344207 1.6954817
## [113] 1.7363965 2.1711412 2.0711453 1.8615344 1.4082400 1.8305887 1.8469553
## [120] 1.1931246 1.6201361 1.3909351 1.6730209 2.1316187 1.4698220 1.7387806
## [127] 1.5717088 1.9818186 1.7972675 1.5502284 1.0334238 1.4393327 1.2041200
## [134] 0.8692317 1.2988531 1.0827854 1.6009729 1.6821451 1.5843312 1.7160033
## [141] 1.3856063 1.4698220 1.5378191 1.1643529 1.7604225 2.1251558 1.8469553
## [148] 1.4393327 1.5145478 1.6201361 1.7767012 1.9571282 1.9698816 1.8870544
## [155] 1.3579348 2.6887757 1.9138139 3.0196147 2.0588055 2.8367670 1.8394780
## [162] 1.6042261 1.9444827 2.3946268 1.8469553 2.2360331 0.7160033 2.0831441
## [169] 1.6884198 1.6444386 1.7715875 1.3820170 1.7604225 1.6757783 0.7160033
## [176] 0.9867717 1.8175654 1.6812412 1.1271048 0.9242793 1.3909351 2.0618293
## [183] 0.7160033 0.4913617 1.8591383 1.3074960 1.5717088 1.6009729 1.6532125
## [190] 0.9294189 2.3970705 1.7307823
# Temp_eau_YSI_degC
# Oxyg_dissous_YSI_mg_L
# Conductivity_microS_cm
# pH_units
# Turbidity_NTU
# Colour_TCU
# Carbon_Total_Organic_mg_L
# E.coli_MPN_100.mL
# Phosphorus_Total_mg_L
# Nitrate_as_N_mg_L
#
names(Pok2001.2022)
##   [1] "Date"                            "Station"                        
##   [3] "Station2"                        "AnalysisSurfaceWater"           
##   [5] "RPCSampleID"                     "ClientSampleID"                 
##   [7] "DateSampled"                     "Sodium_mg_L"                    
##   [9] "Potassium_mg_L"                  "Calcium_mgL"                    
##  [11] "Magnesium_mg_L"                  "AlkalinityCaCO3_mg_L"           
##  [13] "Chloride_mg_L"                   "Fluoride_mg_L"                  
##  [15] "Sulfate_mg_L"                    "Bromine_mg_L"                   
##  [17] "Ammonia_as_N_mg_L"               "Unionized_20degC_mg_L"          
##  [19] "NitrateNitrite_asN_mg_L"         "Nitrite_as_N_mg_L"              
##  [21] "Nitrate_as_N_mg_L"               "Nitrogen_Total_mg_L"            
##  [23] "Phosphorus_Total_mg_L"           "Carbon_Total_Organic_mg_L"      
##  [25] "Colour_TCU"                      "Conductivity_microS_cm"         
##  [27] "pH_units"                        "Turbidity_NTU"                  
##  [29] "Bicarbonate_as_CaCO3_mg_L"       "Carbonate_as_CaCO3_mg_L"        
##  [31] "Hardness_as_CaCO3_mg_L"          "TDS_calc_mg_L"                  
##  [33] "Saturation_pH_20degC_units"      "Langelier_Index_20degC"         
##  [35] "AnalysisSurfaceWater.1"          "RPCSampleID.1"                  
##  [37] "ClientSampleID2"                 "DateSampled2"                   
##  [39] "Analytes_Units"                  "Aluminum_mg_L"                  
##  [41] "Antimony_mg_L"                   "Arsenic_mg_L"                   
##  [43] "Barium_mg_L"                     "Beryllium_mg_L"                 
##  [45] "Bismuth_mg_L"                    "Boron_mg_L"                     
##  [47] "Cadmium_mg_L"                    "Calcium_mg_L"                   
##  [49] "Chromium_mg_L"                   "Cobalt_mg_L"                    
##  [51] "Copper_mg_L"                     "Iron_mg_L"                      
##  [53] "Lead_mg_L"                       "Lithium_mg_L"                   
##  [55] "Magnesium_mg_L.1"                "Manganese_mg_L"                 
##  [57] "Molybdenum_mg_L"                 "Nickel_mg_L"                    
##  [59] "Potassium_mg_L.1"                "Rubidium_mg_L"                  
##  [61] "Selenium_mg_L"                   "Silver_mg_L"                    
##  [63] "Sodium_mg_L.1"                   "Strontium_mg_L"                 
##  [65] "Tellurium_mg_L"                  "Thallium_mg_L"                  
##  [67] "Tin_mg_L"                        "Uranium_mg_L"                   
##  [69] "Vanadium_mg_L"                   "Zinc_mg_L"                      
##  [71] "MicrobiologicalExaminationWater" "RPCSampleID3"                   
##  [73] "ClientsampleID3"                 "Datesampled3"                   
##  [75] "Time.Sampled"                    "E.coli_MPN_100.mL"              
##  [77] "Temp_eau_YSI_degC"               "Oxyg_dissous_YSI_mg_L"          
##  [79] "Cond_YSI_mS_cm"                  "NOX_mg_L"                       
##  [81] "TKN_mg_L"                        "TP_L_mg_L"                      
##  [83] "SS_mg_L"                         "Year"                           
##  [85] "Period"                          "Campagne"                       
##  [87] "POK_no"                          "Nom"                            
##  [89] "Lat"                             "Long"                           
##  [91] "Ordre"                           "Ordre1_m_amont"                 
##  [93] "Ordre2_m_amont"                  "Ordre3_m_amont"                 
##  [95] "Ordre4_m_amont"                  "Ordre5_m_amont"                 
##  [97] "Somme_ordre_1.5"                 "Dist_amont_station_m"           
##  [99] "Longueur_totale_m_ordre1"        "Longueur_totale_m_ordre2"       
## [101] "Longueur_totale_m_ordre3"        "Longueur_totale_m_ordre4"       
## [103] "Longueur_totale_m_ordre5"        "Longueur_totale_m_sous_bassin"  
## [105] "Proportion_ordre1"               "Proportion_ordre2"              
## [107] "Proportion_ordre3"               "Proportion_ordre4"              
## [109] "Proportion_ordre5"               "sup_km2_sbv"                    
## [111] "sup_drainee_km2_sbv"             "longueur_route_km_sbv"          
## [113] "WA_km2_supdrainee_2020"          "WL_km2_supdrainee_2020"         
## [115] "NF_km2_supdrainee_2020"          "FO_km2_supdrainee_2020"         
## [117] "AGR_km2_supdrainee_2020"         "IND_km2_supdrainee_2020"        
## [119] "INF_km2_supdrainee_2020"         "SET_km2_supdrainee_2020"        
## [121] "REC_km2_supdrainee_2020"         "WIL_km2_supdrainee_2020"        
## [123] "C_km2_supdrainee_2020"           "F_km2_supdrainee_2020"          
## [125] "N_km2_supdrainee_2020"           "B_km2_supdrainee_2020"          
## [127] "NULL_km2_supdrainee_2020"        "WA_km2_supdrainee_1990"         
## [129] "WL_km2_supdrainee_1990"          "NF_km2_supdrainee_1990"         
## [131] "FO_km2_supdrainee_1990"          "AGR_km2_supdrainee_1990"        
## [133] "IND_km2_supdrainee_1990"         "INF_km2_supdrainee_1990"        
## [135] "SET_km2_supdrainee_1990"         "C_km2_supdrainee_1990"          
## [137] "F_km2_supdrainee_1990"           "N_km2_supdrainee_1990"          
## [139] "B_km2_supdrainee_1990"           "NULL_km2_supdrainee_1990"       
## [141] "fraction.drainee"                "Longitude"                      
## [143] "Latitude"                        "Station_meteo"                  
## [145] "ID_climatologique"               "Annee"                          
## [147] "Mois"                            "Jour"                           
## [149] "QualiteDonnees"                  "temp_max_C"                     
## [151] "Temp_max_indic"                  "temp_min_C"                     
## [153] "temp_min_indic"                  "temp_moy_C"                     
## [155] "temp_moy_indic"                  "DJC_C"                          
## [157] "DJC_indic"                       "DJR_C"                          
## [159] "DJR_indic"                       "pluie_tot_mm"                   
## [161] "pluie_tot_indic"                 "neige_tot_cm"                   
## [163] "neige_tot_indic"                 "precip_tot_mm"                  
## [165] "precip_tot_indic"                "neige_sol_cm"                   
## [167] "neige_sol_indic"                 "Dir.raf.max.10s.deg"            
## [169] "Dir.raf.max.indic"               "Vit.raf.max.km_h"               
## [171] "Vit.raf.max.indicateur"          "Tmax2jours"                     
## [173] "Tmax3jours"                      "Tmax4jours"                     
## [175] "Tmax5jours"                      "Tmax6jours"                     
## [177] "Tmax7jours"                      "Tmin2jours"                     
## [179] "Tmin3jours"                      "Tmin4jours"                     
## [181] "Tmin5jours"                      "Tmin6jours"                     
## [183] "Tmin7jours"                      "precip.tot.2jours"              
## [185] "precip.tot.3jours"               "precip.tot.4jours"              
## [187] "precip.tot.5jours"               "precip.tot.6jours"              
## [189] "precip.tot.7jours"               "precip.tot.14jours"             
## [191] "precip.tot.21jours"              "vit.vents.2jours"               
## [193] "vit.vents.3jours"                "vit.vents.4jours"               
## [195] "vit.vents.5jours"                "vit.vents.6jours"               
## [197] "vit.vents.7jours"                "pctAGR_supdrainee_1990"         
## [199] "pctAGR_supdrainee_2020"          "pctIND_supdrainee_1990"         
## [201] "pctIND_supdrainee_2020"          "pctINF_supdrainee_1990"         
## [203] "pctINF_supdrainee_2020"          "pctSET_km2_supdrainee_1990"     
## [205] "pctSET_supdrainee_2020"          "pctREC_supdrainee_2020"         
## [207] "pctWIL_supdrainee_2020"

NF: Non forêts

# Crée la variable pourcentage


Period1$pctNF_supdrainee_1990 = Period1$NF_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctNF_supdrainee_2020 = Period1$NF_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

non_foret_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctNF_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01            0.05778240              11.5
## 2          Morrison 06 2001-08-01            0.06876640              10.2
## 3              Malt 11 2001-08-01            0.06655931              25.2
## 4           Suggary 02 2001-08-01            0.11570248              14.4
## 5      Waugh sanct. 07 2001-08-01            0.02857143              10.8
## 6           Dempsey 12 2001-08-01            0.08033106              20.4
## 7  Branche sud aval 03 2001-08-01            0.08344378              13.5
## 8            Sewell 08 2001-08-01            0.16993243              12.8
## 9         Pok amont 04 2001-08-01            0.19026825              11.4
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528              14.5
## 11 McConnell Six Rd 05 2001-08-01            0.23837209               9.0
## 12          Pollard 10 2001-08-01            0.35535977              15.1
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528               9.3
## 14          Pollard 10 2001-08-28            0.35535977              12.0
## 15    br. sud amont 01 2001-08-28            0.05778240              10.0
## 16         Morrison 06 2001-08-28            0.06876640               NaN
## 17             Malt 11 2001-08-28            0.06655931               8.8
## 18          Suggary 02 2001-08-28            0.11570248              13.0
## 19     Waugh sanct. 07 2001-08-28            0.02857143              10.6
## 20          Dempsey 12 2001-08-28            0.08033106              13.5
## 21 Branche sud aval 03 2001-08-28            0.08344378              11.5
## 22           Sewell 08 2001-08-28            0.16993243              13.5
## 23        Pok amont 04 2001-08-28            0.19026825               8.4
## 24 McConnell Six Rd 05 2001-08-28            0.23837209              10.9
## 25        Pok amont 04 2001-09-26            0.19026825               9.8
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528              10.7
## 27 McConnell Six Rd 05 2001-09-26            0.23837209              11.8
## 28          Pollard 10 2001-09-26            0.35535977              12.7
## 29    br. sud amont 01 2001-09-26            0.05778240              11.5
## 30         Morrison 06 2001-09-26            0.06876640              11.2
## 31             Malt 11 2001-09-26            0.06655931               9.3
## 32          Suggary 02 2001-09-26            0.11570248              12.9
## 33     Waugh sanct. 07 2001-09-26            0.02857143              10.4
## 34          Dempsey 12 2001-09-26            0.08033106              13.4
## 35 Branche sud aval 03 2001-09-26            0.08344378              12.0
## 36           Sewell 08 2001-09-26            0.16993243              12.9
## 37           Sewell 08 2001-10-31            0.16993243               1.4
## 38        Pok amont 04 2001-10-31            0.19026825               4.8
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528               3.0
## 40         Morrison 06 2001-10-31            0.06876640               1.8
## 41 McConnell Six Rd 05 2001-10-31            0.23837209               2.1
## 42          Pollard 10 2001-10-31            0.35535977               3.3
## 43    br. sud amont 01 2001-10-31            0.05778240               2.7
## 44          Dempsey 12 2001-10-31            0.08033106               3.9
## 45             Malt 11 2001-10-31            0.06655931               4.8
## 46          Suggary 02 2001-10-31            0.11570248               2.1
## 47     Waugh sanct. 07 2001-10-31            0.02857143               2.7
## 48 Branche sud aval 03 2001-10-31            0.08344378               2.3
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528              17.5
## 50 Branche sud aval 03 2002-07-29            0.08344378              15.7
## 51           Sewell 08 2002-07-29            0.16993243              16.8
## 52        Pok amont 04 2002-07-29            0.19026825              13.3
## 53    br. sud amont 01 2002-07-29            0.05778240              14.7
## 54         Morrison 06 2002-07-29            0.06876640              17.3
## 55 McConnell Six Rd 05 2002-07-29            0.23837209              17.4
## 56          Pollard 10 2002-07-29            0.35535977              17.0
## 57     Waugh sanct. 07 2002-07-29            0.02857143              16.4
## 58          Dempsey 12 2002-07-29            0.08033106              15.6
## 59             Malt 11 2002-07-29            0.06655931              14.9
## 60          Suggary 02 2002-07-29            0.11570248              17.9
## 61        Pok amont 04 2002-08-28            0.19026825               8.0
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528              10.2
## 63          Dempsey 12 2002-08-28            0.08033106              13.2
## 64 Branche sud aval 03 2002-08-28            0.08344378              11.3
## 65           Sewell 08 2002-08-28            0.16993243              13.1
## 66          Pollard 10 2002-08-28            0.35535977              11.1
## 67    br. sud amont 01 2002-08-28            0.05778240              11.1
## 68         Morrison 06 2002-08-28            0.06876640               9.9
## 69 McConnell Six Rd 05 2002-08-28            0.23837209              12.9
## 70          Suggary 02 2002-08-28            0.11570248              10.6
## 71     Waugh sanct. 07 2002-08-28            0.02857143              10.1
## 72             Malt 11 2002-08-28            0.06655931               7.9
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528              10.7
## 74           Sewell 08 2002-10-02            0.16993243              12.7
## 75        Pok amont 04 2002-10-02            0.19026825               7.8
## 76     Waugh sanct. 07 2002-10-02            0.02857143              10.7
## 77          Dempsey 12 2002-10-02            0.08033106              11.1
## 78 Branche sud aval 03 2002-10-02            0.08344378              10.9
## 79 McConnell Six Rd 05 2002-10-02            0.23837209              12.9
## 80          Pollard 10 2002-10-02            0.35535977              10.8
## 81    br. sud amont 01 2002-10-02            0.05778240              11.0
## 82         Morrison 06 2002-10-02            0.06876640              10.5
## 83             Malt 11 2002-10-02            0.06655931               7.8
## 84          Suggary 02 2002-10-02            0.11570248              10.3
## 85        Pok amont 04 2002-10-31            0.19026825               4.6
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528               2.7
## 87 Branche sud aval 03 2002-10-31            0.08344378               NaN
## 88           Sewell 08 2002-10-31            0.16993243               1.6
## 89          Suggary 02 2002-10-31            0.11570248               2.7
## 90     Waugh sanct. 07 2002-10-31            0.02857143               2.7
## 91          Dempsey 12 2002-10-31            0.08033106               3.3
## 92         Morrison 06 2002-10-31            0.06876640               1.7
## 93 McConnell Six Rd 05 2002-10-31            0.23837209               2.3
## 94          Pollard 10 2002-10-31            0.35535977               2.7
## 95    br. sud amont 01 2002-10-31            0.05778240               2.5
## 96             Malt 11 2002-10-31            0.06655931               4.4
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctNF_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28            0.11140031              11.5
## 98           Dempsey 12 2021-07-28            0.06824147              16.1
## 99  Branche sud aval 03 2021-07-28            0.08212560              15.5
## 100           Sewell 08 2021-07-28            0.07747934              14.2
## 101     Waugh sanct. 07 2021-07-28            0.04285714              12.1
## 102    br. sud amont 01 2021-07-28            0.11051607              14.0
## 103         Morrison 06 2021-07-28            0.15779221              15.7
## 104             Malt 11 2021-07-28            0.17432432              11.7
## 105 McConnell Six Rd 05 2021-07-28            0.26200873              16.9
## 106          Pollard 10 2021-07-28            0.19103774              14.6
## 107        Pok amont 04 2021-07-28            0.28354204              11.2
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241              11.9
## 109             Malt 11 2021-08-31            0.19103774              12.0
## 110          Suggary 02 2021-08-31            0.35756241              11.0
## 111     Waugh sanct. 07 2021-08-31            0.11140031              12.8
## 112          Dempsey 12 2021-08-31            0.06824147              15.0
## 113 Branche sud aval 03 2021-08-31            0.08212560              15.0
## 114           Sewell 08 2021-08-31            0.07747934              14.6
## 115          Pollard 10 2021-08-31            0.04285714              15.7
## 116    br. sud amont 01 2021-08-31            0.11051607              13.7
## 117         Morrison 06 2021-08-31            0.15779221              14.9
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432              11.7
## 119 McConnell Six Rd 05 2021-08-31            0.26200873              16.4
## 120        Pok amont 04 2021-08-31            0.28354204              10.8
## 121          Suggary 02 2021-10-05            0.26200873               6.3
## 122         Morrison 06 2021-10-05            0.19103774               7.0
## 123             Malt 11 2021-10-05            0.28354204               8.5
## 124           Sewell 08 2021-10-05            0.35756241               8.0
## 125     Waugh sanct. 07 2021-10-05            0.11140031               9.0
## 126          Dempsey 12 2021-10-05            0.06824147               8.7
## 127 Branche sud aval 03 2021-10-05            0.08212560               7.9
## 128 McConnell Six Rd 05 2021-10-05            0.07747934               7.9
## 129          Pollard 10 2021-10-05            0.04285714               8.7
## 130    br. sud amont 01 2021-10-05            0.11051607               7.3
## 131        Pok amont 04 2021-10-05            0.15779221               7.4
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432               6.4
## 133             Malt 11 2021-10-28            0.17432432               7.1
## 134          Suggary 02 2021-10-28            0.26200873               6.7
## 135    br. sud amont 01 2021-10-28            0.19103774               7.0
## 136         Morrison 06 2021-10-28            0.06824147               6.4
## 137 Branche sud aval 03 2021-10-28            0.28354204               6.7
## 138           Sewell 08 2021-10-28            0.35756241               7.4
## 139     Waugh sanct. 07 2021-10-28            0.11140031               7.3
## 140          Dempsey 12 2021-10-28            0.11051607               7.3
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560               6.7
## 142 McConnell Six Rd 05 2021-10-28            0.07747934               7.2
## 143          Pollard 10 2021-10-28            0.04285714               7.5
## 144        Pok amont 04 2021-10-28            0.15779221               7.2
## 145          Pollard 10 2022-07-28            0.19103774              14.2
## 146         Morrison 06 2022-07-28            0.15779221              13.3
## 147             Malt 11 2022-07-28            0.17432432              12.9
## 148          Suggary 02 2022-07-28            0.26200873              11.4
## 149    br. sud amont 01 2022-07-28            0.11140031              14.9
## 150          Dempsey 12 2022-07-28            0.06824147              15.3
## 151 Branche sud aval 03 2022-07-28            0.28354204              15.5
## 152           Sewell 08 2022-07-28            0.35756241              15.1
## 153     Waugh sanct. 07 2022-07-28            0.04285714              13.1
## 154        Pok amont 04 2022-07-28            0.11051607              11.9
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560              11.1
## 156 McConnell Six Rd 05 2022-07-28            0.07747934              13.8
## 157 McConnell Six Rd 05 2022-09-01            0.26200873              16.2
## 158          Pollard 10 2022-09-01            0.19103774              15.1
## 159    br. sud amont 01 2022-09-01            0.11051607              14.8
## 160         Morrison 06 2022-09-01            0.15779221              15.0
## 161             Malt 11 2022-09-01            0.17432432              12.3
## 162          Suggary 02 2022-09-01            0.35756241              11.9
## 163     Waugh sanct. 07 2022-09-01            0.11140031              14.0
## 164          Dempsey 12 2022-09-01            0.06824147              15.0
## 165 Branche sud aval 03 2022-09-01            0.28354204              16.2
## 166           Sewell 08 2022-09-01            0.07747934              15.9
## 167        Pok amont 04 2022-09-01            0.04285714              12.1
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560              12.9
## 169           Sewell 08 2022-10-03            0.19103774               6.2
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432               4.7
## 171 McConnell Six Rd 05 2022-10-03            0.26200873               6.5
## 172          Pollard 10 2022-10-03            0.04285714               6.5
## 173    br. sud amont 01 2022-10-03            0.11051607               5.6
## 174         Morrison 06 2022-10-03            0.15779221               4.7
## 175             Malt 11 2022-10-03            0.28354204               7.9
## 176          Suggary 02 2022-10-03            0.35756241               4.5
## 177     Waugh sanct. 07 2022-10-03            0.11140031               6.3
## 178          Dempsey 12 2022-10-03            0.06824147               6.0
## 179 Branche sud aval 03 2022-10-03            0.08212560               6.2
## 180        Pok amont 04 2022-10-03            0.07747934               6.5
## 181 Branche sud aval 03 2022-11-01            0.26200873               6.5
## 182           Sewell 08 2022-11-01            0.19103774               7.1
## 183        Pok amont 04 2022-11-01            0.15779221               6.3
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432               6.1
## 185 McConnell Six Rd 05 2022-11-01            0.07747934               7.4
## 186          Pollard 10 2022-11-01            0.04285714               8.0
## 187    br. sud amont 01 2022-11-01            0.11051607               7.0
## 188         Morrison 06 2022-11-01            0.06824147               5.9
## 189             Malt 11 2022-11-01            0.28354204               7.6
## 190          Suggary 02 2022-11-01            0.35756241               6.5
## 191     Waugh sanct. 07 2022-11-01            0.11140031               7.3
## 192          Dempsey 12 2022-11-01            0.08212560               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et la variable non forêt en 1990",
x="Non forêt (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

non_foret_vs_Oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctNF_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01            0.05778240                 11.30
## 2          Morrison 06 2001-08-01            0.06876640                 10.60
## 3              Malt 11 2001-08-01            0.06655931                 11.80
## 4           Suggary 02 2001-08-01            0.11570248                 10.50
## 5      Waugh sanct. 07 2001-08-01            0.02857143                 10.40
## 6           Dempsey 12 2001-08-01            0.08033106                  8.10
## 7  Branche sud aval 03 2001-08-01            0.08344378                 11.00
## 8            Sewell 08 2001-08-01            0.16993243                 11.10
## 9         Pok amont 04 2001-08-01            0.19026825                  9.70
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528                 10.50
## 11 McConnell Six Rd 05 2001-08-01            0.23837209                 12.10
## 12          Pollard 10 2001-08-01            0.35535977                  9.50
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528                 10.60
## 14          Pollard 10 2001-08-28            0.35535977                  9.60
## 15    br. sud amont 01 2001-08-28            0.05778240                 10.12
## 16         Morrison 06 2001-08-28            0.06876640                   NaN
## 17             Malt 11 2001-08-28            0.06655931                 10.60
## 18          Suggary 02 2001-08-28            0.11570248                  9.45
## 19     Waugh sanct. 07 2001-08-28            0.02857143                 10.00
## 20          Dempsey 12 2001-08-28            0.08033106                  8.80
## 21 Branche sud aval 03 2001-08-28            0.08344378                 10.00
## 22           Sewell 08 2001-08-28            0.16993243                  9.40
## 23        Pok amont 04 2001-08-28            0.19026825                 10.50
## 24 McConnell Six Rd 05 2001-08-28            0.23837209                 10.00
## 25        Pok amont 04 2001-09-26            0.19026825                  8.00
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528                  9.00
## 27 McConnell Six Rd 05 2001-09-26            0.23837209                  8.51
## 28          Pollard 10 2001-09-26            0.35535977                  8.40
## 29    br. sud amont 01 2001-09-26            0.05778240                  8.50
## 30         Morrison 06 2001-09-26            0.06876640                  8.60
## 31             Malt 11 2001-09-26            0.06655931                  9.00
## 32          Suggary 02 2001-09-26            0.11570248                  8.44
## 33     Waugh sanct. 07 2001-09-26            0.02857143                  8.62
## 34          Dempsey 12 2001-09-26            0.08033106                  8.30
## 35 Branche sud aval 03 2001-09-26            0.08344378                  9.20
## 36           Sewell 08 2001-09-26            0.16993243                  7.92
## 37           Sewell 08 2001-10-31            0.16993243                  7.70
## 38        Pok amont 04 2001-10-31            0.19026825                  8.40
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528                  9.46
## 40         Morrison 06 2001-10-31            0.06876640                  9.84
## 41 McConnell Six Rd 05 2001-10-31            0.23837209                  8.70
## 42          Pollard 10 2001-10-31            0.35535977                  8.85
## 43    br. sud amont 01 2001-10-31            0.05778240                  7.80
## 44          Dempsey 12 2001-10-31            0.08033106                  8.43
## 45             Malt 11 2001-10-31            0.06655931                  9.20
## 46          Suggary 02 2001-10-31            0.11570248                  7.30
## 47     Waugh sanct. 07 2001-10-31            0.02857143                  8.00
## 48 Branche sud aval 03 2001-10-31            0.08344378                  9.57
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528                  8.01
## 50 Branche sud aval 03 2002-07-29            0.08344378                  8.50
## 51           Sewell 08 2002-07-29            0.16993243                  7.60
## 52        Pok amont 04 2002-07-29            0.19026825                  8.17
## 53    br. sud amont 01 2002-07-29            0.05778240                  8.65
## 54         Morrison 06 2002-07-29            0.06876640                  9.76
## 55 McConnell Six Rd 05 2002-07-29            0.23837209                  7.10
## 56          Pollard 10 2002-07-29            0.35535977                  7.45
## 57     Waugh sanct. 07 2002-07-29            0.02857143                  7.90
## 58          Dempsey 12 2002-07-29            0.08033106                  8.30
## 59             Malt 11 2002-07-29            0.06655931                  8.90
## 60          Suggary 02 2002-07-29            0.11570248                  8.20
## 61        Pok amont 04 2002-08-28            0.19026825                 10.65
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528                  9.46
## 63          Dempsey 12 2002-08-28            0.08033106                  8.20
## 64 Branche sud aval 03 2002-08-28            0.08344378                 10.41
## 65           Sewell 08 2002-08-28            0.16993243                  9.80
## 66          Pollard 10 2002-08-28            0.35535977                  9.02
## 67    br. sud amont 01 2002-08-28            0.05778240                 10.20
## 68         Morrison 06 2002-08-28            0.06876640                 11.17
## 69 McConnell Six Rd 05 2002-08-28            0.23837209                 11.05
## 70          Suggary 02 2002-08-28            0.11570248                 11.24
## 71     Waugh sanct. 07 2002-08-28            0.02857143                 10.00
## 72             Malt 11 2002-08-28            0.06655931                 10.00
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528                  4.42
## 74           Sewell 08 2002-10-02            0.16993243                  6.84
## 75        Pok amont 04 2002-10-02            0.19026825                  7.20
## 76     Waugh sanct. 07 2002-10-02            0.02857143                  6.10
## 77          Dempsey 12 2002-10-02            0.08033106                  5.70
## 78 Branche sud aval 03 2002-10-02            0.08344378                  7.10
## 79 McConnell Six Rd 05 2002-10-02            0.23837209                  7.49
## 80          Pollard 10 2002-10-02            0.35535977                  6.80
## 81    br. sud amont 01 2002-10-02            0.05778240                  7.16
## 82         Morrison 06 2002-10-02            0.06876640                  7.60
## 83             Malt 11 2002-10-02            0.06655931                  6.40
## 84          Suggary 02 2002-10-02            0.11570248                  8.08
## 85        Pok amont 04 2002-10-31            0.19026825                  7.50
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528                  8.50
## 87 Branche sud aval 03 2002-10-31            0.08344378                   NaN
## 88           Sewell 08 2002-10-31            0.16993243                  8.30
## 89          Suggary 02 2002-10-31            0.11570248                  8.60
## 90     Waugh sanct. 07 2002-10-31            0.02857143                  7.00
## 91          Dempsey 12 2002-10-31            0.08033106                  7.40
## 92         Morrison 06 2002-10-31            0.06876640                  8.30
## 93 McConnell Six Rd 05 2002-10-31            0.23837209                  7.60
## 94          Pollard 10 2002-10-31            0.35535977                  7.60
## 95    br. sud amont 01 2002-10-31            0.05778240                  8.20
## 96             Malt 11 2002-10-31            0.06655931                  8.00
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctNF_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28            0.11140031                  9.68
## 98           Dempsey 12 2021-07-28            0.06824147                  9.38
## 99  Branche sud aval 03 2021-07-28            0.08212560                  8.51
## 100           Sewell 08 2021-07-28            0.07747934                  9.29
## 101     Waugh sanct. 07 2021-07-28            0.04285714                  9.84
## 102    br. sud amont 01 2021-07-28            0.11051607                  8.43
## 103         Morrison 06 2021-07-28            0.15779221                  9.04
## 104             Malt 11 2021-07-28            0.17432432                  9.73
## 105 McConnell Six Rd 05 2021-07-28            0.26200873                  8.70
## 106          Pollard 10 2021-07-28            0.19103774                  9.81
## 107        Pok amont 04 2021-07-28            0.28354204                  9.22
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241                 10.29
## 109             Malt 11 2021-08-31            0.19103774                 11.07
## 110          Suggary 02 2021-08-31            0.35756241                 10.16
## 111     Waugh sanct. 07 2021-08-31            0.11140031                 10.03
## 112          Dempsey 12 2021-08-31            0.06824147                  9.51
## 113 Branche sud aval 03 2021-08-31            0.08212560                  8.83
## 114           Sewell 08 2021-08-31            0.07747934                  8.18
## 115          Pollard 10 2021-08-31            0.04285714                  8.15
## 116    br. sud amont 01 2021-08-31            0.11051607                  7.94
## 117         Morrison 06 2021-08-31            0.15779221                  9.14
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432                 10.42
## 119 McConnell Six Rd 05 2021-08-31            0.26200873                  8.54
## 120        Pok amont 04 2021-08-31            0.28354204                  8.70
## 121          Suggary 02 2021-10-05            0.26200873                 12.14
## 122         Morrison 06 2021-10-05            0.19103774                 11.19
## 123             Malt 11 2021-10-05            0.28354204                 10.27
## 124           Sewell 08 2021-10-05            0.35756241                 11.17
## 125     Waugh sanct. 07 2021-10-05            0.11140031                 10.42
## 126          Dempsey 12 2021-10-05            0.06824147                 10.86
## 127 Branche sud aval 03 2021-10-05            0.08212560                 10.40
## 128 McConnell Six Rd 05 2021-10-05            0.07747934                 10.87
## 129          Pollard 10 2021-10-05            0.04285714                 11.29
## 130    br. sud amont 01 2021-10-05            0.11051607                 10.74
## 131        Pok amont 04 2021-10-05            0.15779221                 10.75
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432                 11.40
## 133             Malt 11 2021-10-28            0.17432432                 10.50
## 134          Suggary 02 2021-10-28            0.26200873                 11.68
## 135    br. sud amont 01 2021-10-28            0.19103774                 10.93
## 136         Morrison 06 2021-10-28            0.06824147                 11.66
## 137 Branche sud aval 03 2021-10-28            0.28354204                 11.22
## 138           Sewell 08 2021-10-28            0.35756241                 11.44
## 139     Waugh sanct. 07 2021-10-28            0.11140031                 10.96
## 140          Dempsey 12 2021-10-28            0.11051607                  8.77
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560                 11.26
## 142 McConnell Six Rd 05 2021-10-28            0.07747934                 10.41
## 143          Pollard 10 2021-10-28            0.04285714                 10.54
## 144        Pok amont 04 2021-10-28            0.15779221                 10.80
## 145          Pollard 10 2022-07-28            0.19103774                 10.75
## 146         Morrison 06 2022-07-28            0.15779221                 10.00
## 147             Malt 11 2022-07-28            0.17432432                 11.60
## 148          Suggary 02 2022-07-28            0.26200873                 11.40
## 149    br. sud amont 01 2022-07-28            0.11140031                  8.64
## 150          Dempsey 12 2022-07-28            0.06824147                  9.34
## 151 Branche sud aval 03 2022-07-28            0.28354204                  9.55
## 152           Sewell 08 2022-07-28            0.35756241                  9.50
## 153     Waugh sanct. 07 2022-07-28            0.04285714                  9.90
## 154        Pok amont 04 2022-07-28            0.11051607                  9.52
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560                 11.52
## 156 McConnell Six Rd 05 2022-07-28            0.07747934                 10.40
## 157 McConnell Six Rd 05 2022-09-01            0.26200873                  9.19
## 158          Pollard 10 2022-09-01            0.19103774                 10.25
## 159    br. sud amont 01 2022-09-01            0.11051607                  8.28
## 160         Morrison 06 2022-09-01            0.15779221                  9.52
## 161             Malt 11 2022-09-01            0.17432432                 11.08
## 162          Suggary 02 2022-09-01            0.35756241                 10.24
## 163     Waugh sanct. 07 2022-09-01            0.11140031                  9.22
## 164          Dempsey 12 2022-09-01            0.06824147                  9.44
## 165 Branche sud aval 03 2022-09-01            0.28354204                  8.95
## 166           Sewell 08 2022-09-01            0.07747934                  9.02
## 167        Pok amont 04 2022-09-01            0.04285714                  8.82
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560                 10.06
## 169           Sewell 08 2022-10-03            0.19103774                 10.03
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432                 12.38
## 171 McConnell Six Rd 05 2022-10-03            0.26200873                 12.20
## 172          Pollard 10 2022-10-03            0.04285714                 13.04
## 173    br. sud amont 01 2022-10-03            0.11051607                 11.04
## 174         Morrison 06 2022-10-03            0.15779221                 12.92
## 175             Malt 11 2022-10-03            0.28354204                 12.67
## 176          Suggary 02 2022-10-03            0.35756241                 13.13
## 177     Waugh sanct. 07 2022-10-03            0.11140031                 12.07
## 178          Dempsey 12 2022-10-03            0.06824147                 11.87
## 179 Branche sud aval 03 2022-10-03            0.08212560                 12.21
## 180        Pok amont 04 2022-10-03            0.07747934                 10.04
## 181 Branche sud aval 03 2022-11-01            0.26200873                 12.07
## 182           Sewell 08 2022-11-01            0.19103774                 12.13
## 183        Pok amont 04 2022-11-01            0.15779221                 10.55
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432                 12.12
## 185 McConnell Six Rd 05 2022-11-01            0.07747934                 11.17
## 186          Pollard 10 2022-11-01            0.04285714                 10.85
## 187    br. sud amont 01 2022-11-01            0.11051607                 11.78
## 188         Morrison 06 2022-11-01            0.06824147                 12.66
## 189             Malt 11 2022-11-01            0.28354204                 11.63
## 190          Suggary 02 2022-11-01            0.35756241                 12.35
## 191     Waugh sanct. 07 2022-11-01            0.11140031                  9.42
## 192          Dempsey 12 2022-11-01            0.08212560                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la variable non foret et l'Oxygène dissous en 1990",
x="non foret (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

non_foret_vs_conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctNF_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01            0.05778240                  171.0
## 2          Morrison 06 2001-08-01            0.06876640                  114.0
## 3              Malt 11 2001-08-01            0.06655931                  108.0
## 4           Suggary 02 2001-08-01            0.11570248                  118.0
## 5      Waugh sanct. 07 2001-08-01            0.02857143                  133.0
## 6           Dempsey 12 2001-08-01            0.08033106                  128.0
## 7  Branche sud aval 03 2001-08-01            0.08344378                  115.0
## 8            Sewell 08 2001-08-01            0.16993243                  134.0
## 9         Pok amont 04 2001-08-01            0.19026825                   56.6
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528                  106.0
## 11 McConnell Six Rd 05 2001-08-01            0.23837209                  100.0
## 12          Pollard 10 2001-08-01            0.35535977                  156.0
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528                  105.0
## 14          Pollard 10 2001-08-28            0.35535977                  162.0
## 15    br. sud amont 01 2001-08-28            0.05778240                  177.0
## 16         Morrison 06 2001-08-28            0.06876640                  115.0
## 17             Malt 11 2001-08-28            0.06655931                   90.3
## 18          Suggary 02 2001-08-28            0.11570248                  119.0
## 19     Waugh sanct. 07 2001-08-28            0.02857143                  132.0
## 20          Dempsey 12 2001-08-28            0.08033106                  129.0
## 21 Branche sud aval 03 2001-08-28            0.08344378                  113.0
## 22           Sewell 08 2001-08-28            0.16993243                  150.0
## 23        Pok amont 04 2001-08-28            0.19026825                   60.0
## 24 McConnell Six Rd 05 2001-08-28            0.23837209                  112.0
## 25        Pok amont 04 2001-09-26            0.19026825                   72.1
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528                  115.0
## 27 McConnell Six Rd 05 2001-09-26            0.23837209                  111.0
## 28          Pollard 10 2001-09-26            0.35535977                  153.5
## 29    br. sud amont 01 2001-09-26            0.05778240                  158.0
## 30         Morrison 06 2001-09-26            0.06876640                  117.0
## 31             Malt 11 2001-09-26            0.06655931                   97.7
## 32          Suggary 02 2001-09-26            0.11570248                  139.0
## 33     Waugh sanct. 07 2001-09-26            0.02857143                  136.0
## 34          Dempsey 12 2001-09-26            0.08033106                  137.0
## 35 Branche sud aval 03 2001-09-26            0.08344378                  123.0
## 36           Sewell 08 2001-09-26            0.16993243                  173.0
## 37           Sewell 08 2001-10-31            0.16993243                  111.0
## 38        Pok amont 04 2001-10-31            0.19026825                   68.3
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528                  112.0
## 40         Morrison 06 2001-10-31            0.06876640                  123.0
## 41 McConnell Six Rd 05 2001-10-31            0.23837209                   87.2
## 42          Pollard 10 2001-10-31            0.35535977                  164.0
## 43    br. sud amont 01 2001-10-31            0.05778240                  162.0
## 44          Dempsey 12 2001-10-31            0.08033106                  128.0
## 45             Malt 11 2001-10-31            0.06655931                   98.8
## 46          Suggary 02 2001-10-31            0.11570248                  120.0
## 47     Waugh sanct. 07 2001-10-31            0.02857143                  102.0
## 48 Branche sud aval 03 2001-10-31            0.08344378                  115.0
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528                  112.0
## 50 Branche sud aval 03 2002-07-29            0.08344378                  116.0
## 51           Sewell 08 2002-07-29            0.16993243                  139.0
## 52        Pok amont 04 2002-07-29            0.19026825                   57.1
## 53    br. sud amont 01 2002-07-29            0.05778240                  148.0
## 54         Morrison 06 2002-07-29            0.06876640                  123.0
## 55 McConnell Six Rd 05 2002-07-29            0.23837209                  105.0
## 56          Pollard 10 2002-07-29            0.35535977                  162.0
## 57     Waugh sanct. 07 2002-07-29            0.02857143                  133.0
## 58          Dempsey 12 2002-07-29            0.08033106                  143.0
## 59             Malt 11 2002-07-29            0.06655931                   96.6
## 60          Suggary 02 2002-07-29            0.11570248                  110.0
## 61        Pok amont 04 2002-08-28            0.19026825                   60.3
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528                  115.0
## 63          Dempsey 12 2002-08-28            0.08033106                  144.0
## 64 Branche sud aval 03 2002-08-28            0.08344378                  121.0
## 65           Sewell 08 2002-08-28            0.16993243                  168.0
## 66          Pollard 10 2002-08-28            0.35535977                  164.0
## 67    br. sud amont 01 2002-08-28            0.05778240                  185.0
## 68         Morrison 06 2002-08-28            0.06876640                  125.0
## 69 McConnell Six Rd 05 2002-08-28            0.23837209                  111.0
## 70          Suggary 02 2002-08-28            0.11570248                  110.5
## 71     Waugh sanct. 07 2002-08-28            0.02857143                  135.0
## 72             Malt 11 2002-08-28            0.06655931                  101.0
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528                  120.0
## 74           Sewell 08 2002-10-02            0.16993243                  158.0
## 75        Pok amont 04 2002-10-02            0.19026825                   69.4
## 76     Waugh sanct. 07 2002-10-02            0.02857143                  148.0
## 77          Dempsey 12 2002-10-02            0.08033106                  145.0
## 78 Branche sud aval 03 2002-10-02            0.08344378                  126.0
## 79 McConnell Six Rd 05 2002-10-02            0.23837209                  108.0
## 80          Pollard 10 2002-10-02            0.35535977                  176.0
## 81    br. sud amont 01 2002-10-02            0.05778240                  194.0
## 82         Morrison 06 2002-10-02            0.06876640                  128.0
## 83             Malt 11 2002-10-02            0.06655931                  106.0
## 84          Suggary 02 2002-10-02            0.11570248                  114.0
## 85        Pok amont 04 2002-10-31            0.19026825                   70.9
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528                  122.0
## 87 Branche sud aval 03 2002-10-31            0.08344378                  126.0
## 88           Sewell 08 2002-10-31            0.16993243                  120.0
## 89          Suggary 02 2002-10-31            0.11570248                  118.0
## 90     Waugh sanct. 07 2002-10-31            0.02857143                  129.0
## 91          Dempsey 12 2002-10-31            0.08033106                  141.0
## 92         Morrison 06 2002-10-31            0.06876640                  130.0
## 93 McConnell Six Rd 05 2002-10-31            0.23837209                  103.0
## 94          Pollard 10 2002-10-31            0.35535977                  176.0
## 95    br. sud amont 01 2002-10-31            0.05778240                  175.5
## 96             Malt 11 2002-10-31            0.06655931                  107.0
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctNF_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28            0.11140031                    109
## 98           Dempsey 12 2021-07-28            0.06824147                    139
## 99  Branche sud aval 03 2021-07-28            0.08212560                    119
## 100           Sewell 08 2021-07-28            0.07747934                    131
## 101     Waugh sanct. 07 2021-07-28            0.04285714                    128
## 102    br. sud amont 01 2021-07-28            0.11051607                    177
## 103         Morrison 06 2021-07-28            0.15779221                    122
## 104             Malt 11 2021-07-28            0.17432432                     90
## 105 McConnell Six Rd 05 2021-07-28            0.26200873                    115
## 106          Pollard 10 2021-07-28            0.19103774                    166
## 107        Pok amont 04 2021-07-28            0.28354204                     60
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241                    109
## 109             Malt 11 2021-08-31            0.19103774                     96
## 110          Suggary 02 2021-08-31            0.35756241                    116
## 111     Waugh sanct. 07 2021-08-31            0.11140031                    138
## 112          Dempsey 12 2021-08-31            0.06824147                    152
## 113 Branche sud aval 03 2021-08-31            0.08212560                    125
## 114           Sewell 08 2021-08-31            0.07747934                    161
## 115          Pollard 10 2021-08-31            0.04285714                    196
## 116    br. sud amont 01 2021-08-31            0.11051607                    199
## 117         Morrison 06 2021-08-31            0.15779221                    129
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432                    118
## 119 McConnell Six Rd 05 2021-08-31            0.26200873                    114
## 120        Pok amont 04 2021-08-31            0.28354204                     70
## 121          Suggary 02 2021-10-05            0.26200873                     98
## 122         Morrison 06 2021-10-05            0.19103774                    114
## 123             Malt 11 2021-10-05            0.28354204                     74
## 124           Sewell 08 2021-10-05            0.35756241                     72
## 125     Waugh sanct. 07 2021-10-05            0.11140031                     70
## 126          Dempsey 12 2021-10-05            0.06824147                     96
## 127 Branche sud aval 03 2021-10-05            0.08212560                     86
## 128 McConnell Six Rd 05 2021-10-05            0.07747934                     90
## 129          Pollard 10 2021-10-05            0.04285714                    128
## 130    br. sud amont 01 2021-10-05            0.11051607                     91
## 131        Pok amont 04 2021-10-05            0.15779221                     52
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432                     95
## 133             Malt 11 2021-10-28            0.17432432                     80
## 134          Suggary 02 2021-10-28            0.26200873                    100
## 135    br. sud amont 01 2021-10-28            0.19103774                    114
## 136         Morrison 06 2021-10-28            0.06824147                    118
## 137 Branche sud aval 03 2021-10-28            0.28354204                     97
## 138           Sewell 08 2021-10-28            0.35756241                     81
## 139     Waugh sanct. 07 2021-10-28            0.11140031                     88
## 140          Dempsey 12 2021-10-28            0.11051607                    113
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560                    102
## 142 McConnell Six Rd 05 2021-10-28            0.07747934                     97
## 143          Pollard 10 2021-10-28            0.04285714                    139
## 144        Pok amont 04 2021-10-28            0.15779221                     54
## 145          Pollard 10 2022-07-28            0.19103774                    163
## 146         Morrison 06 2022-07-28            0.15779221                    119
## 147             Malt 11 2022-07-28            0.17432432                     88
## 148          Suggary 02 2022-07-28            0.26200873                    107
## 149    br. sud amont 01 2022-07-28            0.11140031                    161
## 150          Dempsey 12 2022-07-28            0.06824147                    134
## 151 Branche sud aval 03 2022-07-28            0.28354204                    113
## 152           Sewell 08 2022-07-28            0.35756241                    113
## 153     Waugh sanct. 07 2022-07-28            0.04285714                    126
## 154        Pok amont 04 2022-07-28            0.11051607                     59
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560                    108
## 156 McConnell Six Rd 05 2022-07-28            0.07747934                    113
## 157 McConnell Six Rd 05 2022-09-01            0.26200873                    107
## 158          Pollard 10 2022-09-01            0.19103774                    178
## 159    br. sud amont 01 2022-09-01            0.11051607                    180
## 160         Morrison 06 2022-09-01            0.15779221                    117
## 161             Malt 11 2022-09-01            0.17432432                     88
## 162          Suggary 02 2022-09-01            0.35756241                    104
## 163     Waugh sanct. 07 2022-09-01            0.11140031                    114
## 164          Dempsey 12 2022-09-01            0.06824147                    137
## 165 Branche sud aval 03 2022-09-01            0.28354204                    117
## 166           Sewell 08 2022-09-01            0.07747934                    116
## 167        Pok amont 04 2022-09-01            0.04285714                     63
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560                    108
## 169           Sewell 08 2022-10-03            0.19103774                    114
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432                    113
## 171 McConnell Six Rd 05 2022-10-03            0.26200873                     94
## 172          Pollard 10 2022-10-03            0.04285714                    179
## 173    br. sud amont 01 2022-10-03            0.11051607                    182
## 174         Morrison 06 2022-10-03            0.15779221                    120
## 175             Malt 11 2022-10-03            0.28354204                     95
## 176          Suggary 02 2022-10-03            0.35756241                    107
## 177     Waugh sanct. 07 2022-10-03            0.11140031                    114
## 178          Dempsey 12 2022-10-03            0.06824147                    143
## 179 Branche sud aval 03 2022-10-03            0.08212560                    118
## 180        Pok amont 04 2022-10-03            0.07747934                     64
## 181 Branche sud aval 03 2022-11-01            0.26200873                    112
## 182           Sewell 08 2022-11-01            0.19103774                     92
## 183        Pok amont 04 2022-11-01            0.15779221                     69
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432                    112
## 185 McConnell Six Rd 05 2022-11-01            0.07747934                     92
## 186          Pollard 10 2022-11-01            0.04285714                    177
## 187    br. sud amont 01 2022-11-01            0.11051607                    144
## 188         Morrison 06 2022-11-01            0.06824147                    125
## 189             Malt 11 2022-11-01            0.28354204                     91
## 190          Suggary 02 2022-11-01            0.35756241                    108
## 191     Waugh sanct. 07 2022-11-01            0.11140031                     92
## 192          Dempsey 12 2022-11-01            0.08212560                    136
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et la variable non foret ",
x="non foret (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

non_foret_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,pH_units))
##               Station2       Date pctNF_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01            0.05778240    8.200
## 2          Morrison 06 2001-08-01            0.06876640    7.950
## 3              Malt 11 2001-08-01            0.06655931    7.860
## 4           Suggary 02 2001-08-01            0.11570248    8.020
## 5      Waugh sanct. 07 2001-08-01            0.02857143    7.970
## 6           Dempsey 12 2001-08-01            0.08033106    7.960
## 7  Branche sud aval 03 2001-08-01            0.08344378    8.030
## 8            Sewell 08 2001-08-01            0.16993243    8.020
## 9         Pok amont 04 2001-08-01            0.19026825    7.590
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528    8.010
## 11 McConnell Six Rd 05 2001-08-01            0.23837209    7.860
## 12          Pollard 10 2001-08-01            0.35535977    7.890
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528    7.910
## 14          Pollard 10 2001-08-28            0.35535977    7.860
## 15    br. sud amont 01 2001-08-28            0.05778240    7.980
## 16         Morrison 06 2001-08-28            0.06876640    7.940
## 17             Malt 11 2001-08-28            0.06655931    7.460
## 18          Suggary 02 2001-08-28            0.11570248    7.880
## 19     Waugh sanct. 07 2001-08-28            0.02857143    7.890
## 20          Dempsey 12 2001-08-28            0.08033106    7.760
## 21 Branche sud aval 03 2001-08-28            0.08344378    7.890
## 22           Sewell 08 2001-08-28            0.16993243    7.900
## 23        Pok amont 04 2001-08-28            0.19026825    7.490
## 24 McConnell Six Rd 05 2001-08-28            0.23837209    7.770
## 25        Pok amont 04 2001-09-26            0.19026825    7.640
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528    7.960
## 27 McConnell Six Rd 05 2001-09-26            0.23837209    7.870
## 28          Pollard 10 2001-09-26            0.35535977    7.850
## 29    br. sud amont 01 2001-09-26            0.05778240    8.050
## 30         Morrison 06 2001-09-26            0.06876640    8.020
## 31             Malt 11 2001-09-26            0.06655931    7.710
## 32          Suggary 02 2001-09-26            0.11570248    8.080
## 33     Waugh sanct. 07 2001-09-26            0.02857143    8.020
## 34          Dempsey 12 2001-09-26            0.08033106    7.950
## 35 Branche sud aval 03 2001-09-26            0.08344378    8.040
## 36           Sewell 08 2001-09-26            0.16993243    8.060
## 37           Sewell 08 2001-10-31            0.16993243    7.740
## 38        Pok amont 04 2001-10-31            0.19026825    7.420
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528    7.950
## 40         Morrison 06 2001-10-31            0.06876640    8.010
## 41 McConnell Six Rd 05 2001-10-31            0.23837209    7.500
## 42          Pollard 10 2001-10-31            0.35535977    7.870
## 43    br. sud amont 01 2001-10-31            0.05778240    7.960
## 44          Dempsey 12 2001-10-31            0.08033106    7.820
## 45             Malt 11 2001-10-31            0.06655931    7.530
## 46          Suggary 02 2001-10-31            0.11570248    7.650
## 47     Waugh sanct. 07 2001-10-31            0.02857143    7.410
## 48 Branche sud aval 03 2001-10-31            0.08344378    7.890
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528    7.840
## 50 Branche sud aval 03 2002-07-29            0.08344378    7.870
## 51           Sewell 08 2002-07-29            0.16993243    7.840
## 52        Pok amont 04 2002-07-29            0.19026825    7.180
## 53    br. sud amont 01 2002-07-29            0.05778240    7.840
## 54         Morrison 06 2002-07-29            0.06876640    7.920
## 55 McConnell Six Rd 05 2002-07-29            0.23837209    7.580
## 56          Pollard 10 2002-07-29            0.35535977    7.730
## 57     Waugh sanct. 07 2002-07-29            0.02857143    7.700
## 58          Dempsey 12 2002-07-29            0.08033106    7.755
## 59             Malt 11 2002-07-29            0.06655931    7.420
## 60          Suggary 02 2002-07-29            0.11570248    7.740
## 61        Pok amont 04 2002-08-28            0.19026825    7.250
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528    7.800
## 63          Dempsey 12 2002-08-28            0.08033106    7.690
## 64 Branche sud aval 03 2002-08-28            0.08344378    7.850
## 65           Sewell 08 2002-08-28            0.16993243    7.920
## 66          Pollard 10 2002-08-28            0.35535977    7.730
## 67    br. sud amont 01 2002-08-28            0.05778240    8.070
## 68         Morrison 06 2002-08-28            0.06876640    7.900
## 69 McConnell Six Rd 05 2002-08-28            0.23837209    7.790
## 70          Suggary 02 2002-08-28            0.11570248    7.815
## 71     Waugh sanct. 07 2002-08-28            0.02857143    7.750
## 72             Malt 11 2002-08-28            0.06655931    7.380
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528    7.830
## 74           Sewell 08 2002-10-02            0.16993243    7.820
## 75        Pok amont 04 2002-10-02            0.19026825    7.270
## 76     Waugh sanct. 07 2002-10-02            0.02857143    7.760
## 77          Dempsey 12 2002-10-02            0.08033106    7.640
## 78 Branche sud aval 03 2002-10-02            0.08344378    7.820
## 79 McConnell Six Rd 05 2002-10-02            0.23837209    7.650
## 80          Pollard 10 2002-10-02            0.35535977    7.720
## 81    br. sud amont 01 2002-10-02            0.05778240    7.970
## 82         Morrison 06 2002-10-02            0.06876640    7.890
## 83             Malt 11 2002-10-02            0.06655931    7.380
## 84          Suggary 02 2002-10-02            0.11570248    7.830
## 85        Pok amont 04 2002-10-31            0.19026825    7.360
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528    7.820
## 87 Branche sud aval 03 2002-10-31            0.08344378      NaN
## 88           Sewell 08 2002-10-31            0.16993243    7.550
## 89          Suggary 02 2002-10-31            0.11570248    7.770
## 90     Waugh sanct. 07 2002-10-31            0.02857143    7.580
## 91          Dempsey 12 2002-10-31            0.08033106    7.690
## 92         Morrison 06 2002-10-31            0.06876640    7.870
## 93 McConnell Six Rd 05 2002-10-31            0.23837209    7.440
## 94          Pollard 10 2002-10-31            0.35535977    7.780
## 95    br. sud amont 01 2002-10-31            0.05778240    7.865
## 96             Malt 11 2002-10-31            0.06655931    7.560
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,pH_units))
##                Station2       Date pctNF_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28            0.11140031      7.5
## 98           Dempsey 12 2021-07-28            0.06824147      7.6
## 99  Branche sud aval 03 2021-07-28            0.08212560      7.6
## 100           Sewell 08 2021-07-28            0.07747934      7.7
## 101     Waugh sanct. 07 2021-07-28            0.04285714      7.6
## 102    br. sud amont 01 2021-07-28            0.11051607      7.6
## 103         Morrison 06 2021-07-28            0.15779221      7.4
## 104             Malt 11 2021-07-28            0.17432432      7.2
## 105 McConnell Six Rd 05 2021-07-28            0.26200873      7.6
## 106          Pollard 10 2021-07-28            0.19103774      7.6
## 107        Pok amont 04 2021-07-28            0.28354204      6.8
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241      7.6
## 109             Malt 11 2021-08-31            0.19103774      7.3
## 110          Suggary 02 2021-08-31            0.35756241      7.6
## 111     Waugh sanct. 07 2021-08-31            0.11140031      7.8
## 112          Dempsey 12 2021-08-31            0.06824147      7.6
## 113 Branche sud aval 03 2021-08-31            0.08212560      7.8
## 114           Sewell 08 2021-08-31            0.07747934      7.8
## 115          Pollard 10 2021-08-31            0.04285714      7.8
## 116    br. sud amont 01 2021-08-31            0.11051607      7.5
## 117         Morrison 06 2021-08-31            0.15779221      7.8
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432      7.8
## 119 McConnell Six Rd 05 2021-08-31            0.26200873      7.7
## 120        Pok amont 04 2021-08-31            0.28354204      7.1
## 121          Suggary 02 2021-10-05            0.26200873      7.6
## 122         Morrison 06 2021-10-05            0.19103774      7.1
## 123             Malt 11 2021-10-05            0.28354204      7.1
## 124           Sewell 08 2021-10-05            0.35756241      7.5
## 125     Waugh sanct. 07 2021-10-05            0.11140031      7.2
## 126          Dempsey 12 2021-10-05            0.06824147      7.3
## 127 Branche sud aval 03 2021-10-05            0.08212560      7.6
## 128 McConnell Six Rd 05 2021-10-05            0.07747934      7.4
## 129          Pollard 10 2021-10-05            0.04285714      7.5
## 130    br. sud amont 01 2021-10-05            0.11051607      7.2
## 131        Pok amont 04 2021-10-05            0.15779221      6.8
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432      7.2
## 133             Malt 11 2021-10-28            0.17432432      7.0
## 134          Suggary 02 2021-10-28            0.26200873      7.6
## 135    br. sud amont 01 2021-10-28            0.19103774      7.5
## 136         Morrison 06 2021-10-28            0.06824147      7.6
## 137 Branche sud aval 03 2021-10-28            0.28354204      7.6
## 138           Sewell 08 2021-10-28            0.35756241      7.5
## 139     Waugh sanct. 07 2021-10-28            0.11140031      7.5
## 140          Dempsey 12 2021-10-28            0.11051607      7.6
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560      7.5
## 142 McConnell Six Rd 05 2021-10-28            0.07747934      7.5
## 143          Pollard 10 2021-10-28            0.04285714      7.7
## 144        Pok amont 04 2021-10-28            0.15779221      7.5
## 145          Pollard 10 2022-07-28            0.19103774      7.7
## 146         Morrison 06 2022-07-28            0.15779221      7.8
## 147             Malt 11 2022-07-28            0.17432432      7.6
## 148          Suggary 02 2022-07-28            0.26200873      7.7
## 149    br. sud amont 01 2022-07-28            0.11140031      7.9
## 150          Dempsey 12 2022-07-28            0.06824147      7.8
## 151 Branche sud aval 03 2022-07-28            0.28354204      7.8
## 152           Sewell 08 2022-07-28            0.35756241      7.7
## 153     Waugh sanct. 07 2022-07-28            0.04285714      7.8
## 154        Pok amont 04 2022-07-28            0.11051607      7.5
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560      7.8
## 156 McConnell Six Rd 05 2022-07-28            0.07747934      7.7
## 157 McConnell Six Rd 05 2022-09-01            0.26200873      7.8
## 158          Pollard 10 2022-09-01            0.19103774      7.8
## 159    br. sud amont 01 2022-09-01            0.11051607      8.0
## 160         Morrison 06 2022-09-01            0.15779221      8.0
## 161             Malt 11 2022-09-01            0.17432432      7.7
## 162          Suggary 02 2022-09-01            0.35756241      7.8
## 163     Waugh sanct. 07 2022-09-01            0.11140031      7.9
## 164          Dempsey 12 2022-09-01            0.06824147      7.9
## 165 Branche sud aval 03 2022-09-01            0.28354204      7.9
## 166           Sewell 08 2022-09-01            0.07747934      7.9
## 167        Pok amont 04 2022-09-01            0.04285714      7.2
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560      7.8
## 169           Sewell 08 2022-10-03            0.19103774      7.7
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432      7.8
## 171 McConnell Six Rd 05 2022-10-03            0.26200873      7.5
## 172          Pollard 10 2022-10-03            0.04285714      7.8
## 173    br. sud amont 01 2022-10-03            0.11051607      7.9
## 174         Morrison 06 2022-10-03            0.15779221      7.9
## 175             Malt 11 2022-10-03            0.28354204      7.5
## 176          Suggary 02 2022-10-03            0.35756241      7.7
## 177     Waugh sanct. 07 2022-10-03            0.11140031      7.6
## 178          Dempsey 12 2022-10-03            0.06824147      7.7
## 179 Branche sud aval 03 2022-10-03            0.08212560      7.8
## 180        Pok amont 04 2022-10-03            0.07747934      7.1
## 181 Branche sud aval 03 2022-11-01            0.26200873      7.6
## 182           Sewell 08 2022-11-01            0.19103774      7.5
## 183        Pok amont 04 2022-11-01            0.15779221      7.0
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432      7.5
## 185 McConnell Six Rd 05 2022-11-01            0.07747934      7.3
## 186          Pollard 10 2022-11-01            0.04285714      7.6
## 187    br. sud amont 01 2022-11-01            0.11051607      7.5
## 188         Morrison 06 2022-11-01            0.06824147      7.8
## 189             Malt 11 2022-11-01            0.28354204      7.0
## 190          Suggary 02 2022-11-01            0.35756241      7.5
## 191     Waugh sanct. 07 2022-11-01            0.11140031      7.2
## 192          Dempsey 12 2022-11-01            0.08212560      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et la variable non_foret en 1990",
x="Non_foret (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

non_foret_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctNF_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.05778240         6.400
## 2          Morrison 06 2001-08-01            0.06876640         0.600
## 3              Malt 11 2001-08-01            0.06655931         1.600
## 4           Suggary 02 2001-08-01            0.11570248         0.700
## 5      Waugh sanct. 07 2001-08-01            0.02857143         1.200
## 6           Dempsey 12 2001-08-01            0.08033106         1.300
## 7  Branche sud aval 03 2001-08-01            0.08344378         0.500
## 8            Sewell 08 2001-08-01            0.16993243         1.500
## 9         Pok amont 04 2001-08-01            0.19026825         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.23837209         0.100
## 12          Pollard 10 2001-08-01            0.35535977         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528         1.200
## 14          Pollard 10 2001-08-28            0.35535977         0.800
## 15    br. sud amont 01 2001-08-28            0.05778240         6.100
## 16         Morrison 06 2001-08-28            0.06876640         0.700
## 17             Malt 11 2001-08-28            0.06655931         0.500
## 18          Suggary 02 2001-08-28            0.11570248         3.500
## 19     Waugh sanct. 07 2001-08-28            0.02857143         1.000
## 20          Dempsey 12 2001-08-28            0.08033106         1.700
## 21 Branche sud aval 03 2001-08-28            0.08344378         0.900
## 22           Sewell 08 2001-08-28            0.16993243         6.500
## 23        Pok amont 04 2001-08-28            0.19026825         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.23837209         1.000
## 25        Pok amont 04 2001-09-26            0.19026825         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.23837209         1.200
## 28          Pollard 10 2001-09-26            0.35535977         1.150
## 29    br. sud amont 01 2001-09-26            0.05778240        44.800
## 30         Morrison 06 2001-09-26            0.06876640         0.900
## 31             Malt 11 2001-09-26            0.06655931         7.800
## 32          Suggary 02 2001-09-26            0.11570248         1.700
## 33     Waugh sanct. 07 2001-09-26            0.02857143         1.200
## 34          Dempsey 12 2001-09-26            0.08033106         1.500
## 35 Branche sud aval 03 2001-09-26            0.08344378         2.400
## 36           Sewell 08 2001-09-26            0.16993243         3.000
## 37           Sewell 08 2001-10-31            0.16993243         5.500
## 38        Pok amont 04 2001-10-31            0.19026825         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528         1.000
## 40         Morrison 06 2001-10-31            0.06876640         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.23837209         1.400
## 42          Pollard 10 2001-10-31            0.35535977         0.600
## 43    br. sud amont 01 2001-10-31            0.05778240         1.100
## 44          Dempsey 12 2001-10-31            0.08033106         1.700
## 45             Malt 11 2001-10-31            0.06655931         0.800
## 46          Suggary 02 2001-10-31            0.11570248         2.050
## 47     Waugh sanct. 07 2001-10-31            0.02857143         1.200
## 48 Branche sud aval 03 2001-10-31            0.08344378         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528         0.780
## 50 Branche sud aval 03 2002-07-29            0.08344378         1.170
## 51           Sewell 08 2002-07-29            0.16993243         4.960
## 52        Pok amont 04 2002-07-29            0.19026825         0.190
## 53    br. sud amont 01 2002-07-29            0.05778240         0.900
## 54         Morrison 06 2002-07-29            0.06876640         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.23837209         1.520
## 56          Pollard 10 2002-07-29            0.35535977         1.630
## 57     Waugh sanct. 07 2002-07-29            0.02857143         1.110
## 58          Dempsey 12 2002-07-29            0.08033106         1.970
## 59             Malt 11 2002-07-29            0.06655931         0.400
## 60          Suggary 02 2002-07-29            0.11570248         0.430
## 61        Pok amont 04 2002-08-28            0.19026825         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528         1.320
## 63          Dempsey 12 2002-08-28            0.08033106         4.440
## 64 Branche sud aval 03 2002-08-28            0.08344378         1.150
## 65           Sewell 08 2002-08-28            0.16993243         2.960
## 66          Pollard 10 2002-08-28            0.35535977         0.950
## 67    br. sud amont 01 2002-08-28            0.05778240         0.570
## 68         Morrison 06 2002-08-28            0.06876640         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.23837209         1.340
## 70          Suggary 02 2002-08-28            0.11570248         0.820
## 71     Waugh sanct. 07 2002-08-28            0.02857143         1.510
## 72             Malt 11 2002-08-28            0.06655931         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528         0.940
## 74           Sewell 08 2002-10-02            0.16993243         5.255
## 75        Pok amont 04 2002-10-02            0.19026825         0.280
## 76     Waugh sanct. 07 2002-10-02            0.02857143         1.280
## 77          Dempsey 12 2002-10-02            0.08033106         3.770
## 78 Branche sud aval 03 2002-10-02            0.08344378         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.23837209         2.110
## 80          Pollard 10 2002-10-02            0.35535977         0.690
## 81    br. sud amont 01 2002-10-02            0.05778240         0.740
## 82         Morrison 06 2002-10-02            0.06876640         0.770
## 83             Malt 11 2002-10-02            0.06655931         0.600
## 84          Suggary 02 2002-10-02            0.11570248         0.480
## 85        Pok amont 04 2002-10-31            0.19026825         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528         0.870
## 87 Branche sud aval 03 2002-10-31            0.08344378           NaN
## 88           Sewell 08 2002-10-31            0.16993243         8.740
## 89          Suggary 02 2002-10-31            0.11570248         0.410
## 90     Waugh sanct. 07 2002-10-31            0.02857143         1.440
## 91          Dempsey 12 2002-10-31            0.08033106         2.880
## 92         Morrison 06 2002-10-31            0.06876640         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.23837209         1.500
## 94          Pollard 10 2002-10-31            0.35535977         1.060
## 95    br. sud amont 01 2002-10-31            0.05778240         1.220
## 96             Malt 11 2002-10-31            0.06655931         0.900
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctNF_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28            0.11140031           1.2
## 98           Dempsey 12 2021-07-28            0.06824147           1.6
## 99  Branche sud aval 03 2021-07-28            0.08212560           1.8
## 100           Sewell 08 2021-07-28            0.07747934           3.5
## 101     Waugh sanct. 07 2021-07-28            0.04285714           1.1
## 102    br. sud amont 01 2021-07-28            0.11051607           2.3
## 103         Morrison 06 2021-07-28            0.15779221           1.4
## 104             Malt 11 2021-07-28            0.17432432           0.7
## 105 McConnell Six Rd 05 2021-07-28            0.26200873           1.9
## 106          Pollard 10 2021-07-28            0.19103774           1.2
## 107        Pok amont 04 2021-07-28            0.28354204           0.9
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241           1.7
## 109             Malt 11 2021-08-31            0.19103774           0.5
## 110          Suggary 02 2021-08-31            0.35756241           0.7
## 111     Waugh sanct. 07 2021-08-31            0.11140031           1.1
## 112          Dempsey 12 2021-08-31            0.06824147           1.7
## 113 Branche sud aval 03 2021-08-31            0.08212560           1.7
## 114           Sewell 08 2021-08-31            0.07747934           3.0
## 115          Pollard 10 2021-08-31            0.04285714           1.7
## 116    br. sud amont 01 2021-08-31            0.11051607           5.6
## 117         Morrison 06 2021-08-31            0.15779221           2.6
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432           2.0
## 119 McConnell Six Rd 05 2021-08-31            0.26200873           3.2
## 120        Pok amont 04 2021-08-31            0.28354204           1.5
## 121          Suggary 02 2021-10-05            0.26200873           0.7
## 122         Morrison 06 2021-10-05            0.19103774           1.4
## 123             Malt 11 2021-10-05            0.28354204           0.9
## 124           Sewell 08 2021-10-05            0.35756241           4.2
## 125     Waugh sanct. 07 2021-10-05            0.11140031           1.2
## 126          Dempsey 12 2021-10-05            0.06824147           1.8
## 127 Branche sud aval 03 2021-10-05            0.08212560           1.7
## 128 McConnell Six Rd 05 2021-10-05            0.07747934           1.8
## 129          Pollard 10 2021-10-05            0.04285714           1.8
## 130    br. sud amont 01 2021-10-05            0.11051607           3.7
## 131        Pok amont 04 2021-10-05            0.15779221           1.0
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432           1.4
## 133             Malt 11 2021-10-28            0.17432432           0.5
## 134          Suggary 02 2021-10-28            0.26200873           0.2
## 135    br. sud amont 01 2021-10-28            0.19103774           1.9
## 136         Morrison 06 2021-10-28            0.06824147           0.6
## 137 Branche sud aval 03 2021-10-28            0.28354204           1.3
## 138           Sewell 08 2021-10-28            0.35756241           2.8
## 139     Waugh sanct. 07 2021-10-28            0.11140031           1.0
## 140          Dempsey 12 2021-10-28            0.11051607           1.3
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560           0.7
## 142 McConnell Six Rd 05 2021-10-28            0.07747934           1.4
## 143          Pollard 10 2021-10-28            0.04285714           0.8
## 144        Pok amont 04 2021-10-28            0.15779221           0.6
## 145          Pollard 10 2022-07-28            0.19103774           0.4
## 146         Morrison 06 2022-07-28            0.15779221           0.7
## 147             Malt 11 2022-07-28            0.17432432           0.4
## 148          Suggary 02 2022-07-28            0.26200873           0.5
## 149    br. sud amont 01 2022-07-28            0.11140031           2.7
## 150          Dempsey 12 2022-07-28            0.06824147           1.2
## 151 Branche sud aval 03 2022-07-28            0.28354204           2.1
## 152           Sewell 08 2022-07-28            0.35756241           1.8
## 153     Waugh sanct. 07 2022-07-28            0.04285714           1.0
## 154        Pok amont 04 2022-07-28            0.11051607           0.7
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560           0.7
## 156 McConnell Six Rd 05 2022-07-28            0.07747934           0.8
## 157 McConnell Six Rd 05 2022-09-01            0.26200873           1.9
## 158          Pollard 10 2022-09-01            0.19103774           1.3
## 159    br. sud amont 01 2022-09-01            0.11051607           3.0
## 160         Morrison 06 2022-09-01            0.15779221           2.4
## 161             Malt 11 2022-09-01            0.17432432           0.5
## 162          Suggary 02 2022-09-01            0.35756241           0.7
## 163     Waugh sanct. 07 2022-09-01            0.11140031           1.8
## 164          Dempsey 12 2022-09-01            0.06824147           2.2
## 165 Branche sud aval 03 2022-09-01            0.28354204           1.9
## 166           Sewell 08 2022-09-01            0.07747934           2.6
## 167        Pok amont 04 2022-09-01            0.04285714           1.5
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560           1.4
## 169           Sewell 08 2022-10-03            0.19103774           3.6
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432           1.2
## 171 McConnell Six Rd 05 2022-10-03            0.26200873           1.9
## 172          Pollard 10 2022-10-03            0.04285714           0.4
## 173    br. sud amont 01 2022-10-03            0.11051607           2.8
## 174         Morrison 06 2022-10-03            0.15779221           1.0
## 175             Malt 11 2022-10-03            0.28354204           0.4
## 176          Suggary 02 2022-10-03            0.35756241           0.3
## 177     Waugh sanct. 07 2022-10-03            0.11140031           1.3
## 178          Dempsey 12 2022-10-03            0.06824147           1.3
## 179 Branche sud aval 03 2022-10-03            0.08212560           1.6
## 180        Pok amont 04 2022-10-03            0.07747934           1.5
## 181 Branche sud aval 03 2022-11-01            0.26200873           2.6
## 182           Sewell 08 2022-11-01            0.19103774           5.4
## 183        Pok amont 04 2022-11-01            0.15779221           0.8
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432           2.6
## 185 McConnell Six Rd 05 2022-11-01            0.07747934           2.0
## 186          Pollard 10 2022-11-01            0.04285714           0.7
## 187    br. sud amont 01 2022-11-01            0.11051607           4.8
## 188         Morrison 06 2022-11-01            0.06824147           2.8
## 189             Malt 11 2022-11-01            0.28354204           1.5
## 190          Suggary 02 2022-11-01            0.35756241           0.7
## 191     Waugh sanct. 07 2022-11-01            0.11140031           1.6
## 192          Dempsey 12 2022-11-01            0.08212560           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=log10(Turbidity_NTU),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=log10(Turbidity_NTU)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=log10(Turbidity_NTU),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=log10(Turbidity_NTU)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et la variable non_foret",
x="Non_foret (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 3 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

non_foret_vs_Couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Colour_TCU))
##               Station2       Date pctNF_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01            0.05778240        5.0
## 2          Morrison 06 2001-08-01            0.06876640       10.0
## 3              Malt 11 2001-08-01            0.06655931       10.0
## 4           Suggary 02 2001-08-01            0.11570248        5.0
## 5      Waugh sanct. 07 2001-08-01            0.02857143       20.0
## 6           Dempsey 12 2001-08-01            0.08033106       15.0
## 7  Branche sud aval 03 2001-08-01            0.08344378        5.0
## 8            Sewell 08 2001-08-01            0.16993243        5.0
## 9         Pok amont 04 2001-08-01            0.19026825        0.0
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528        0.0
## 11 McConnell Six Rd 05 2001-08-01            0.23837209        5.0
## 12          Pollard 10 2001-08-01            0.35535977        5.0
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528        5.0
## 14          Pollard 10 2001-08-28            0.35535977        5.0
## 15    br. sud amont 01 2001-08-28            0.05778240        5.0
## 16         Morrison 06 2001-08-28            0.06876640        5.0
## 17             Malt 11 2001-08-28            0.06655931        5.0
## 18          Suggary 02 2001-08-28            0.11570248       10.0
## 19     Waugh sanct. 07 2001-08-28            0.02857143       10.0
## 20          Dempsey 12 2001-08-28            0.08033106       15.0
## 21 Branche sud aval 03 2001-08-28            0.08344378        5.0
## 22           Sewell 08 2001-08-28            0.16993243       30.0
## 23        Pok amont 04 2001-08-28            0.19026825        5.0
## 24 McConnell Six Rd 05 2001-08-28            0.23837209        5.0
## 25        Pok amont 04 2001-09-26            0.19026825       10.0
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528       30.0
## 27 McConnell Six Rd 05 2001-09-26            0.23837209       15.0
## 28          Pollard 10 2001-09-26            0.35535977       20.0
## 29    br. sud amont 01 2001-09-26            0.05778240      200.0
## 30         Morrison 06 2001-09-26            0.06876640        5.0
## 31             Malt 11 2001-09-26            0.06655931       20.0
## 32          Suggary 02 2001-09-26            0.11570248        5.0
## 33     Waugh sanct. 07 2001-09-26            0.02857143       10.0
## 34          Dempsey 12 2001-09-26            0.08033106       20.0
## 35 Branche sud aval 03 2001-09-26            0.08344378       10.0
## 36           Sewell 08 2001-09-26            0.16993243       30.0
## 37           Sewell 08 2001-10-31            0.16993243       80.0
## 38        Pok amont 04 2001-10-31            0.19026825        5.0
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528       20.0
## 40         Morrison 06 2001-10-31            0.06876640       15.0
## 41 McConnell Six Rd 05 2001-10-31            0.23837209      120.0
## 42          Pollard 10 2001-10-31            0.35535977       10.0
## 43    br. sud amont 01 2001-10-31            0.05778240       30.0
## 44          Dempsey 12 2001-10-31            0.08033106       30.0
## 45             Malt 11 2001-10-31            0.06655931       10.0
## 46          Suggary 02 2001-10-31            0.11570248       30.0
## 47     Waugh sanct. 07 2001-10-31            0.02857143      100.0
## 48 Branche sud aval 03 2001-10-31            0.08344378       20.0
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528       10.0
## 50 Branche sud aval 03 2002-07-29            0.08344378       15.0
## 51           Sewell 08 2002-07-29            0.16993243       40.0
## 52        Pok amont 04 2002-07-29            0.19026825        5.0
## 53    br. sud amont 01 2002-07-29            0.05778240       15.0
## 54         Morrison 06 2002-07-29            0.06876640       10.0
## 55 McConnell Six Rd 05 2002-07-29            0.23837209       80.0
## 56          Pollard 10 2002-07-29            0.35535977       10.0
## 57     Waugh sanct. 07 2002-07-29            0.02857143       40.0
## 58          Dempsey 12 2002-07-29            0.08033106       20.0
## 59             Malt 11 2002-07-29            0.06655931        5.0
## 60          Suggary 02 2002-07-29            0.11570248        5.0
## 61        Pok amont 04 2002-08-28            0.19026825        5.0
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528       20.0
## 63          Dempsey 12 2002-08-28            0.08033106       40.0
## 64 Branche sud aval 03 2002-08-28            0.08344378       15.0
## 65           Sewell 08 2002-08-28            0.16993243       40.0
## 66          Pollard 10 2002-08-28            0.35535977       10.0
## 67    br. sud amont 01 2002-08-28            0.05778240       10.0
## 68         Morrison 06 2002-08-28            0.06876640       10.0
## 69 McConnell Six Rd 05 2002-08-28            0.23837209       20.0
## 70          Suggary 02 2002-08-28            0.11570248        7.5
## 71     Waugh sanct. 07 2002-08-28            0.02857143       30.0
## 72             Malt 11 2002-08-28            0.06655931       10.0
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528        5.0
## 74           Sewell 08 2002-10-02            0.16993243       60.0
## 75        Pok amont 04 2002-10-02            0.19026825        5.0
## 76     Waugh sanct. 07 2002-10-02            0.02857143       20.0
## 77          Dempsey 12 2002-10-02            0.08033106       20.0
## 78 Branche sud aval 03 2002-10-02            0.08344378       15.0
## 79 McConnell Six Rd 05 2002-10-02            0.23837209       60.0
## 80          Pollard 10 2002-10-02            0.35535977       10.0
## 81    br. sud amont 01 2002-10-02            0.05778240       10.0
## 82         Morrison 06 2002-10-02            0.06876640       10.0
## 83             Malt 11 2002-10-02            0.06655931        5.0
## 84          Suggary 02 2002-10-02            0.11570248        5.0
## 85        Pok amont 04 2002-10-31            0.19026825        5.0
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528       20.0
## 87 Branche sud aval 03 2002-10-31            0.08344378        NaN
## 88           Sewell 08 2002-10-31            0.16993243       60.0
## 89          Suggary 02 2002-10-31            0.11570248        5.0
## 90     Waugh sanct. 07 2002-10-31            0.02857143       60.0
## 91          Dempsey 12 2002-10-31            0.08033106       30.0
## 92         Morrison 06 2002-10-31            0.06876640        5.0
## 93 McConnell Six Rd 05 2002-10-31            0.23837209       75.0
## 94          Pollard 10 2002-10-31            0.35535977        5.0
## 95    br. sud amont 01 2002-10-31            0.05778240       30.0
## 96             Malt 11 2002-10-31            0.06655931       15.0
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Colour_TCU))
##                Station2       Date pctNF_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28            0.11140031          8
## 98           Dempsey 12 2021-07-28            0.06824147         22
## 99  Branche sud aval 03 2021-07-28            0.08212560         19
## 100           Sewell 08 2021-07-28            0.07747934         34
## 101     Waugh sanct. 07 2021-07-28            0.04285714         27
## 102    br. sud amont 01 2021-07-28            0.11051607         15
## 103         Morrison 06 2021-07-28            0.15779221         14
## 104             Malt 11 2021-07-28            0.17432432          7
## 105 McConnell Six Rd 05 2021-07-28            0.26200873         29
## 106          Pollard 10 2021-07-28            0.19103774          8
## 107        Pok amont 04 2021-07-28            0.28354204         11
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241          9
## 109             Malt 11 2021-08-31            0.19103774          5
## 110          Suggary 02 2021-08-31            0.35756241          5
## 111     Waugh sanct. 07 2021-08-31            0.11140031         14
## 112          Dempsey 12 2021-08-31            0.06824147         14
## 113 Branche sud aval 03 2021-08-31            0.08212560         20
## 114           Sewell 08 2021-08-31            0.07747934         24
## 115          Pollard 10 2021-08-31            0.04285714          8
## 116    br. sud amont 01 2021-08-31            0.11051607         12
## 117         Morrison 06 2021-08-31            0.15779221         18
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432          8
## 119 McConnell Six Rd 05 2021-08-31            0.26200873         37
## 120        Pok amont 04 2021-08-31            0.28354204         10
## 121          Suggary 02 2021-10-05            0.26200873          8
## 122         Morrison 06 2021-10-05            0.19103774         22
## 123             Malt 11 2021-10-05            0.28354204         66
## 124           Sewell 08 2021-10-05            0.35756241         47
## 125     Waugh sanct. 07 2021-10-05            0.11140031        190
## 126          Dempsey 12 2021-10-05            0.06824147         55
## 127 Branche sud aval 03 2021-10-05            0.08212560         38
## 128 McConnell Six Rd 05 2021-10-05            0.07747934        141
## 129          Pollard 10 2021-10-05            0.04285714         19
## 130    br. sud amont 01 2021-10-05            0.11051607         44
## 131        Pok amont 04 2021-10-05            0.15779221         21
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432         33
## 133             Malt 11 2021-10-28            0.17432432         47
## 134          Suggary 02 2021-10-28            0.26200873          5
## 135    br. sud amont 01 2021-10-28            0.19103774         32
## 136         Morrison 06 2021-10-28            0.06824147         13
## 137 Branche sud aval 03 2021-10-28            0.28354204         22
## 138           Sewell 08 2021-10-28            0.35756241         43
## 139     Waugh sanct. 07 2021-10-28            0.11140031        130
## 140          Dempsey 12 2021-10-28            0.11051607         33
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560         15
## 142 McConnell Six Rd 05 2021-10-28            0.07747934        107
## 143          Pollard 10 2021-10-28            0.04285714         12
## 144        Pok amont 04 2021-10-28            0.15779221         13
## 145          Pollard 10 2022-07-28            0.19103774          5
## 146         Morrison 06 2022-07-28            0.15779221          7
## 147             Malt 11 2022-07-28            0.17432432          6
## 148          Suggary 02 2022-07-28            0.26200873          5
## 149    br. sud amont 01 2022-07-28            0.11140031         26
## 150          Dempsey 12 2022-07-28            0.06824147         16
## 151 Branche sud aval 03 2022-07-28            0.28354204         18
## 152           Sewell 08 2022-07-28            0.35756241         33
## 153     Waugh sanct. 07 2022-07-28            0.04285714         27
## 154        Pok amont 04 2022-07-28            0.11051607          7
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560          5
## 156 McConnell Six Rd 05 2022-07-28            0.07747934         15
## 157 McConnell Six Rd 05 2022-09-01            0.26200873         48
## 158          Pollard 10 2022-09-01            0.19103774         23
## 159    br. sud amont 01 2022-09-01            0.11051607         23
## 160         Morrison 06 2022-09-01            0.15779221         15
## 161             Malt 11 2022-09-01            0.17432432         10
## 162          Suggary 02 2022-09-01            0.35756241          8
## 163     Waugh sanct. 07 2022-09-01            0.11140031         61
## 164          Dempsey 12 2022-09-01            0.06824147         21
## 165 Branche sud aval 03 2022-09-01            0.28354204         21
## 166           Sewell 08 2022-09-01            0.07747934         43
## 167        Pok amont 04 2022-09-01            0.04285714         14
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560         41
## 169           Sewell 08 2022-10-03            0.19103774         71
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432          8
## 171 McConnell Six Rd 05 2022-10-03            0.26200873        130
## 172          Pollard 10 2022-10-03            0.04285714         10
## 173    br. sud amont 01 2022-10-03            0.11051607         20
## 174         Morrison 06 2022-10-03            0.15779221         10
## 175             Malt 11 2022-10-03            0.28354204          5
## 176          Suggary 02 2022-10-03            0.35756241          5
## 177     Waugh sanct. 07 2022-10-03            0.11140031         53
## 178          Dempsey 12 2022-10-03            0.06824147         16
## 179 Branche sud aval 03 2022-10-03            0.08212560         17
## 180        Pok amont 04 2022-10-03            0.07747934         12
## 181 Branche sud aval 03 2022-11-01            0.26200873         25
## 182           Sewell 08 2022-11-01            0.19103774         60
## 183        Pok amont 04 2022-11-01            0.15779221         11
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432         21
## 185 McConnell Six Rd 05 2022-11-01            0.07747934        148
## 186          Pollard 10 2022-11-01            0.04285714         11
## 187    br. sud amont 01 2022-11-01            0.11051607         42
## 188         Morrison 06 2022-11-01            0.06824147         13
## 189             Malt 11 2022-11-01            0.28354204         22
## 190          Suggary 02 2022-11-01            0.35756241          9
## 191     Waugh sanct. 07 2022-11-01            0.11140031        143
## 192          Dempsey 12 2022-11-01            0.08212560         28
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et la variable non_foret",
x="Non_foret (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

non_foret_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctNF_supdrainee_1990
## 1     br. sud amont 01 2001-08-01            0.05778240
## 2          Morrison 06 2001-08-01            0.06876640
## 3              Malt 11 2001-08-01            0.06655931
## 4           Suggary 02 2001-08-01            0.11570248
## 5      Waugh sanct. 07 2001-08-01            0.02857143
## 6           Dempsey 12 2001-08-01            0.08033106
## 7  Branche sud aval 03 2001-08-01            0.08344378
## 8            Sewell 08 2001-08-01            0.16993243
## 9         Pok amont 04 2001-08-01            0.19026825
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528
## 11 McConnell Six Rd 05 2001-08-01            0.23837209
## 12          Pollard 10 2001-08-01            0.35535977
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528
## 14          Pollard 10 2001-08-28            0.35535977
## 15    br. sud amont 01 2001-08-28            0.05778240
## 16         Morrison 06 2001-08-28            0.06876640
## 17             Malt 11 2001-08-28            0.06655931
## 18          Suggary 02 2001-08-28            0.11570248
## 19     Waugh sanct. 07 2001-08-28            0.02857143
## 20          Dempsey 12 2001-08-28            0.08033106
## 21 Branche sud aval 03 2001-08-28            0.08344378
## 22           Sewell 08 2001-08-28            0.16993243
## 23        Pok amont 04 2001-08-28            0.19026825
## 24 McConnell Six Rd 05 2001-08-28            0.23837209
## 25        Pok amont 04 2001-09-26            0.19026825
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528
## 27 McConnell Six Rd 05 2001-09-26            0.23837209
## 28          Pollard 10 2001-09-26            0.35535977
## 29    br. sud amont 01 2001-09-26            0.05778240
## 30         Morrison 06 2001-09-26            0.06876640
## 31             Malt 11 2001-09-26            0.06655931
## 32          Suggary 02 2001-09-26            0.11570248
## 33     Waugh sanct. 07 2001-09-26            0.02857143
## 34          Dempsey 12 2001-09-26            0.08033106
## 35 Branche sud aval 03 2001-09-26            0.08344378
## 36           Sewell 08 2001-09-26            0.16993243
## 37           Sewell 08 2001-10-31            0.16993243
## 38        Pok amont 04 2001-10-31            0.19026825
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528
## 40         Morrison 06 2001-10-31            0.06876640
## 41 McConnell Six Rd 05 2001-10-31            0.23837209
## 42          Pollard 10 2001-10-31            0.35535977
## 43    br. sud amont 01 2001-10-31            0.05778240
## 44          Dempsey 12 2001-10-31            0.08033106
## 45             Malt 11 2001-10-31            0.06655931
## 46          Suggary 02 2001-10-31            0.11570248
## 47     Waugh sanct. 07 2001-10-31            0.02857143
## 48 Branche sud aval 03 2001-10-31            0.08344378
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528
## 50 Branche sud aval 03 2002-07-29            0.08344378
## 51           Sewell 08 2002-07-29            0.16993243
## 52        Pok amont 04 2002-07-29            0.19026825
## 53    br. sud amont 01 2002-07-29            0.05778240
## 54         Morrison 06 2002-07-29            0.06876640
## 55 McConnell Six Rd 05 2002-07-29            0.23837209
## 56          Pollard 10 2002-07-29            0.35535977
## 57     Waugh sanct. 07 2002-07-29            0.02857143
## 58          Dempsey 12 2002-07-29            0.08033106
## 59             Malt 11 2002-07-29            0.06655931
## 60          Suggary 02 2002-07-29            0.11570248
## 61        Pok amont 04 2002-08-28            0.19026825
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528
## 63          Dempsey 12 2002-08-28            0.08033106
## 64 Branche sud aval 03 2002-08-28            0.08344378
## 65           Sewell 08 2002-08-28            0.16993243
## 66          Pollard 10 2002-08-28            0.35535977
## 67    br. sud amont 01 2002-08-28            0.05778240
## 68         Morrison 06 2002-08-28            0.06876640
## 69 McConnell Six Rd 05 2002-08-28            0.23837209
## 70          Suggary 02 2002-08-28            0.11570248
## 71     Waugh sanct. 07 2002-08-28            0.02857143
## 72             Malt 11 2002-08-28            0.06655931
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528
## 74           Sewell 08 2002-10-02            0.16993243
## 75        Pok amont 04 2002-10-02            0.19026825
## 76     Waugh sanct. 07 2002-10-02            0.02857143
## 77          Dempsey 12 2002-10-02            0.08033106
## 78 Branche sud aval 03 2002-10-02            0.08344378
## 79 McConnell Six Rd 05 2002-10-02            0.23837209
## 80          Pollard 10 2002-10-02            0.35535977
## 81    br. sud amont 01 2002-10-02            0.05778240
## 82         Morrison 06 2002-10-02            0.06876640
## 83             Malt 11 2002-10-02            0.06655931
## 84          Suggary 02 2002-10-02            0.11570248
## 85        Pok amont 04 2002-10-31            0.19026825
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528
## 87 Branche sud aval 03 2002-10-31            0.08344378
## 88           Sewell 08 2002-10-31            0.16993243
## 89          Suggary 02 2002-10-31            0.11570248
## 90     Waugh sanct. 07 2002-10-31            0.02857143
## 91          Dempsey 12 2002-10-31            0.08033106
## 92         Morrison 06 2002-10-31            0.06876640
## 93 McConnell Six Rd 05 2002-10-31            0.23837209
## 94          Pollard 10 2002-10-31            0.35535977
## 95    br. sud amont 01 2002-10-31            0.05778240
## 96             Malt 11 2002-10-31            0.06655931
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctNF_supdrainee_2020
## 97           Suggary 02 2021-07-28            0.11140031
## 98           Dempsey 12 2021-07-28            0.06824147
## 99  Branche sud aval 03 2021-07-28            0.08212560
## 100           Sewell 08 2021-07-28            0.07747934
## 101     Waugh sanct. 07 2021-07-28            0.04285714
## 102    br. sud amont 01 2021-07-28            0.11051607
## 103         Morrison 06 2021-07-28            0.15779221
## 104             Malt 11 2021-07-28            0.17432432
## 105 McConnell Six Rd 05 2021-07-28            0.26200873
## 106          Pollard 10 2021-07-28            0.19103774
## 107        Pok amont 04 2021-07-28            0.28354204
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241
## 109             Malt 11 2021-08-31            0.19103774
## 110          Suggary 02 2021-08-31            0.35756241
## 111     Waugh sanct. 07 2021-08-31            0.11140031
## 112          Dempsey 12 2021-08-31            0.06824147
## 113 Branche sud aval 03 2021-08-31            0.08212560
## 114           Sewell 08 2021-08-31            0.07747934
## 115          Pollard 10 2021-08-31            0.04285714
## 116    br. sud amont 01 2021-08-31            0.11051607
## 117         Morrison 06 2021-08-31            0.15779221
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432
## 119 McConnell Six Rd 05 2021-08-31            0.26200873
## 120        Pok amont 04 2021-08-31            0.28354204
## 121          Suggary 02 2021-10-05            0.26200873
## 122         Morrison 06 2021-10-05            0.19103774
## 123             Malt 11 2021-10-05            0.28354204
## 124           Sewell 08 2021-10-05            0.35756241
## 125     Waugh sanct. 07 2021-10-05            0.11140031
## 126          Dempsey 12 2021-10-05            0.06824147
## 127 Branche sud aval 03 2021-10-05            0.08212560
## 128 McConnell Six Rd 05 2021-10-05            0.07747934
## 129          Pollard 10 2021-10-05            0.04285714
## 130    br. sud amont 01 2021-10-05            0.11051607
## 131        Pok amont 04 2021-10-05            0.15779221
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432
## 133             Malt 11 2021-10-28            0.17432432
## 134          Suggary 02 2021-10-28            0.26200873
## 135    br. sud amont 01 2021-10-28            0.19103774
## 136         Morrison 06 2021-10-28            0.06824147
## 137 Branche sud aval 03 2021-10-28            0.28354204
## 138           Sewell 08 2021-10-28            0.35756241
## 139     Waugh sanct. 07 2021-10-28            0.11140031
## 140          Dempsey 12 2021-10-28            0.11051607
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560
## 142 McConnell Six Rd 05 2021-10-28            0.07747934
## 143          Pollard 10 2021-10-28            0.04285714
## 144        Pok amont 04 2021-10-28            0.15779221
## 145          Pollard 10 2022-07-28            0.19103774
## 146         Morrison 06 2022-07-28            0.15779221
## 147             Malt 11 2022-07-28            0.17432432
## 148          Suggary 02 2022-07-28            0.26200873
## 149    br. sud amont 01 2022-07-28            0.11140031
## 150          Dempsey 12 2022-07-28            0.06824147
## 151 Branche sud aval 03 2022-07-28            0.28354204
## 152           Sewell 08 2022-07-28            0.35756241
## 153     Waugh sanct. 07 2022-07-28            0.04285714
## 154        Pok amont 04 2022-07-28            0.11051607
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560
## 156 McConnell Six Rd 05 2022-07-28            0.07747934
## 157 McConnell Six Rd 05 2022-09-01            0.26200873
## 158          Pollard 10 2022-09-01            0.19103774
## 159    br. sud amont 01 2022-09-01            0.11051607
## 160         Morrison 06 2022-09-01            0.15779221
## 161             Malt 11 2022-09-01            0.17432432
## 162          Suggary 02 2022-09-01            0.35756241
## 163     Waugh sanct. 07 2022-09-01            0.11140031
## 164          Dempsey 12 2022-09-01            0.06824147
## 165 Branche sud aval 03 2022-09-01            0.28354204
## 166           Sewell 08 2022-09-01            0.07747934
## 167        Pok amont 04 2022-09-01            0.04285714
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560
## 169           Sewell 08 2022-10-03            0.19103774
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432
## 171 McConnell Six Rd 05 2022-10-03            0.26200873
## 172          Pollard 10 2022-10-03            0.04285714
## 173    br. sud amont 01 2022-10-03            0.11051607
## 174         Morrison 06 2022-10-03            0.15779221
## 175             Malt 11 2022-10-03            0.28354204
## 176          Suggary 02 2022-10-03            0.35756241
## 177     Waugh sanct. 07 2022-10-03            0.11140031
## 178          Dempsey 12 2022-10-03            0.06824147
## 179 Branche sud aval 03 2022-10-03            0.08212560
## 180        Pok amont 04 2022-10-03            0.07747934
## 181 Branche sud aval 03 2022-11-01            0.26200873
## 182           Sewell 08 2022-11-01            0.19103774
## 183        Pok amont 04 2022-11-01            0.15779221
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432
## 185 McConnell Six Rd 05 2022-11-01            0.07747934
## 186          Pollard 10 2022-11-01            0.04285714
## 187    br. sud amont 01 2022-11-01            0.11051607
## 188         Morrison 06 2022-11-01            0.06824147
## 189             Malt 11 2022-11-01            0.28354204
## 190          Suggary 02 2022-11-01            0.35756241
## 191     Waugh sanct. 07 2022-11-01            0.11140031
## 192          Dempsey 12 2022-11-01            0.08212560
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les COT et la variable non_foret",
x="Non_foret (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

non_foret_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctNF_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01            0.05778240                10
## 2          Morrison 06 2001-08-01            0.06876640                80
## 3              Malt 11 2001-08-01            0.06655931                30
## 4           Suggary 02 2001-08-01            0.11570248                10
## 5      Waugh sanct. 07 2001-08-01            0.02857143               270
## 6           Dempsey 12 2001-08-01            0.08033106                50
## 7  Branche sud aval 03 2001-08-01            0.08344378                10
## 8            Sewell 08 2001-08-01            0.16993243                20
## 9         Pok amont 04 2001-08-01            0.19026825                10
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528                10
## 11 McConnell Six Rd 05 2001-08-01            0.23837209                30
## 12          Pollard 10 2001-08-01            0.35535977               110
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528                10
## 14          Pollard 10 2001-08-28            0.35535977                50
## 15    br. sud amont 01 2001-08-28            0.05778240               120
## 16         Morrison 06 2001-08-28            0.06876640                90
## 17             Malt 11 2001-08-28            0.06655931                20
## 18          Suggary 02 2001-08-28            0.11570248                80
## 19     Waugh sanct. 07 2001-08-28            0.02857143               430
## 20          Dempsey 12 2001-08-28            0.08033106                20
## 21 Branche sud aval 03 2001-08-28            0.08344378               110
## 22           Sewell 08 2001-08-28            0.16993243               210
## 23        Pok amont 04 2001-08-28            0.19026825                10
## 24 McConnell Six Rd 05 2001-08-28            0.23837209               250
## 25        Pok amont 04 2001-09-26            0.19026825               530
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528               830
## 27 McConnell Six Rd 05 2001-09-26            0.23837209               120
## 28          Pollard 10 2001-09-26            0.35535977              1240
## 29    br. sud amont 01 2001-09-26            0.05778240              2000
## 30         Morrison 06 2001-09-26            0.06876640               220
## 31             Malt 11 2001-09-26            0.06655931               150
## 32          Suggary 02 2001-09-26            0.11570248               150
## 33     Waugh sanct. 07 2001-09-26            0.02857143               590
## 34          Dempsey 12 2001-09-26            0.08033106               150
## 35 Branche sud aval 03 2001-09-26            0.08344378               660
## 36           Sewell 08 2001-09-26            0.16993243               190
## 37           Sewell 08 2001-10-31            0.16993243               140
## 38        Pok amont 04 2001-10-31            0.19026825                20
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528                10
## 40         Morrison 06 2001-10-31            0.06876640                10
## 41 McConnell Six Rd 05 2001-10-31            0.23837209               310
## 42          Pollard 10 2001-10-31            0.35535977                50
## 43    br. sud amont 01 2001-10-31            0.05778240                20
## 44          Dempsey 12 2001-10-31            0.08033106                10
## 45             Malt 11 2001-10-31            0.06655931               100
## 46          Suggary 02 2001-10-31            0.11570248                30
## 47     Waugh sanct. 07 2001-10-31            0.02857143               480
## 48 Branche sud aval 03 2001-10-31            0.08344378                30
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528                10
## 50 Branche sud aval 03 2002-07-29            0.08344378                30
## 51           Sewell 08 2002-07-29            0.16993243                60
## 52        Pok amont 04 2002-07-29            0.19026825                10
## 53    br. sud amont 01 2002-07-29            0.05778240                20
## 54         Morrison 06 2002-07-29            0.06876640                10
## 55 McConnell Six Rd 05 2002-07-29            0.23837209                10
## 56          Pollard 10 2002-07-29            0.35535977               660
## 57     Waugh sanct. 07 2002-07-29            0.02857143                80
## 58          Dempsey 12 2002-07-29            0.08033106                25
## 59             Malt 11 2002-07-29            0.06655931                10
## 60          Suggary 02 2002-07-29            0.11570248                10
## 61        Pok amont 04 2002-08-28            0.19026825                30
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528                10
## 63          Dempsey 12 2002-08-28            0.08033106                10
## 64 Branche sud aval 03 2002-08-28            0.08344378                20
## 65           Sewell 08 2002-08-28            0.16993243                10
## 66          Pollard 10 2002-08-28            0.35535977               180
## 67    br. sud amont 01 2002-08-28            0.05778240                80
## 68         Morrison 06 2002-08-28            0.06876640                20
## 69 McConnell Six Rd 05 2002-08-28            0.23837209               310
## 70          Suggary 02 2002-08-28            0.11570248                15
## 71     Waugh sanct. 07 2002-08-28            0.02857143               410
## 72             Malt 11 2002-08-28            0.06655931                30
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528                10
## 74           Sewell 08 2002-10-02            0.16993243                25
## 75        Pok amont 04 2002-10-02            0.19026825                10
## 76     Waugh sanct. 07 2002-10-02            0.02857143               700
## 77          Dempsey 12 2002-10-02            0.08033106                30
## 78 Branche sud aval 03 2002-10-02            0.08344378                40
## 79 McConnell Six Rd 05 2002-10-02            0.23837209               150
## 80          Pollard 10 2002-10-02            0.35535977                10
## 81    br. sud amont 01 2002-10-02            0.05778240                20
## 82         Morrison 06 2002-10-02            0.06876640                10
## 83             Malt 11 2002-10-02            0.06655931                90
## 84          Suggary 02 2002-10-02            0.11570248                20
## 85        Pok amont 04 2002-10-31            0.19026825                10
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528                10
## 87 Branche sud aval 03 2002-10-31            0.08344378                10
## 88           Sewell 08 2002-10-31            0.16993243                10
## 89          Suggary 02 2002-10-31            0.11570248                50
## 90     Waugh sanct. 07 2002-10-31            0.02857143                40
## 91          Dempsey 12 2002-10-31            0.08033106                10
## 92         Morrison 06 2002-10-31            0.06876640                10
## 93 McConnell Six Rd 05 2002-10-31            0.23837209                30
## 94          Pollard 10 2002-10-31            0.35535977                10
## 95    br. sud amont 01 2002-10-31            0.05778240                10
## 96             Malt 11 2002-10-31            0.06655931                10
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctNF_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28            0.11140031              20.0
## 98           Dempsey 12 2021-07-28            0.06824147              52.0
## 99  Branche sud aval 03 2021-07-28            0.08212560              74.0
## 100           Sewell 08 2021-07-28            0.07747934              98.0
## 101     Waugh sanct. 07 2021-07-28            0.04285714              52.0
## 102    br. sud amont 01 2021-07-28            0.11051607              75.0
## 103         Morrison 06 2021-07-28            0.15779221              30.0
## 104             Malt 11 2021-07-28            0.17432432              10.0
## 105 McConnell Six Rd 05 2021-07-28            0.26200873              75.0
## 106          Pollard 10 2021-07-28            0.19103774              98.0
## 107        Pok amont 04 2021-07-28            0.28354204              10.0
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241              20.0
## 109             Malt 11 2021-08-31            0.19103774              39.3
## 110          Suggary 02 2021-08-31            0.35756241             235.9
## 111     Waugh sanct. 07 2021-08-31            0.11140031              68.3
## 112          Dempsey 12 2021-08-31            0.06824147              49.6
## 113 Branche sud aval 03 2021-08-31            0.08212560              54.5
## 114           Sewell 08 2021-08-31            0.07747934             148.3
## 115          Pollard 10 2021-08-31            0.04285714             117.8
## 116    br. sud amont 01 2021-08-31            0.11051607              72.7
## 117         Morrison 06 2021-08-31            0.15779221              25.6
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432              67.7
## 119 McConnell Six Rd 05 2021-08-31            0.26200873              70.3
## 120        Pok amont 04 2021-08-31            0.28354204              15.6
## 121          Suggary 02 2021-10-05            0.26200873              41.7
## 122         Morrison 06 2021-10-05            0.19103774              24.6
## 123             Malt 11 2021-10-05            0.28354204              47.1
## 124           Sewell 08 2021-10-05            0.35756241             135.4
## 125     Waugh sanct. 07 2021-10-05            0.11140031              29.5
## 126          Dempsey 12 2021-10-05            0.06824147              54.8
## 127 Branche sud aval 03 2021-10-05            0.08212560              37.3
## 128 McConnell Six Rd 05 2021-10-05            0.07747934              95.9
## 129          Pollard 10 2021-10-05            0.04285714              62.7
## 130    br. sud amont 01 2021-10-05            0.11051607              35.5
## 131        Pok amont 04 2021-10-05            0.15779221              10.8
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432              27.5
## 133             Malt 11 2021-10-28            0.17432432              16.0
## 134          Suggary 02 2021-10-28            0.26200873               7.4
## 135    br. sud amont 01 2021-10-28            0.19103774              19.9
## 136         Morrison 06 2021-10-28            0.06824147              12.1
## 137 Branche sud aval 03 2021-10-28            0.28354204              39.9
## 138           Sewell 08 2021-10-28            0.35756241              48.1
## 139     Waugh sanct. 07 2021-10-28            0.11140031              38.4
## 140          Dempsey 12 2021-10-28            0.11051607              52.0
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560              24.3
## 142 McConnell Six Rd 05 2021-10-28            0.07747934              29.5
## 143          Pollard 10 2021-10-28            0.04285714              34.5
## 144        Pok amont 04 2021-10-28            0.15779221              14.6
## 145          Pollard 10 2022-07-28            0.19103774              57.6
## 146         Morrison 06 2022-07-28            0.15779221             133.4
## 147             Malt 11 2022-07-28            0.17432432              70.3
## 148          Suggary 02 2022-07-28            0.26200873              27.5
## 149    br. sud amont 01 2022-07-28            0.11140031              32.7
## 150          Dempsey 12 2022-07-28            0.06824147              41.7
## 151 Branche sud aval 03 2022-07-28            0.28354204              59.8
## 152           Sewell 08 2022-07-28            0.35756241              90.6
## 153     Waugh sanct. 07 2022-07-28            0.04285714              93.3
## 154        Pok amont 04 2022-07-28            0.11051607              77.1
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560              22.8
## 156 McConnell Six Rd 05 2022-07-28            0.07747934             488.4
## 157 McConnell Six Rd 05 2022-09-01            0.26200873              82.0
## 158          Pollard 10 2022-09-01            0.19103774            1046.2
## 159    br. sud amont 01 2022-09-01            0.11051607             114.5
## 160         Morrison 06 2022-09-01            0.15779221             686.7
## 161             Malt 11 2022-09-01            0.17432432              69.1
## 162          Suggary 02 2022-09-01            0.35756241              40.2
## 163     Waugh sanct. 07 2022-09-01            0.11140031              88.0
## 164          Dempsey 12 2022-09-01            0.06824147             248.1
## 165 Branche sud aval 03 2022-09-01            0.28354204              70.3
## 166           Sewell 08 2022-09-01            0.07747934             172.2
## 167        Pok amont 04 2022-09-01            0.04285714               5.2
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560             121.1
## 169           Sewell 08 2022-10-03            0.19103774              48.8
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432              44.1
## 171 McConnell Six Rd 05 2022-10-03            0.26200873              59.1
## 172          Pollard 10 2022-10-03            0.04285714              24.1
## 173    br. sud amont 01 2022-10-03            0.11051607              57.6
## 174         Morrison 06 2022-10-03            0.15779221              47.4
## 175             Malt 11 2022-10-03            0.28354204               5.2
## 176          Suggary 02 2022-10-03            0.35756241               9.7
## 177     Waugh sanct. 07 2022-10-03            0.11140031              65.7
## 178          Dempsey 12 2022-10-03            0.06824147              48.0
## 179 Branche sud aval 03 2022-10-03            0.08212560              13.4
## 180        Pok amont 04 2022-10-03            0.07747934               8.4
## 181 Branche sud aval 03 2022-11-01            0.26200873              24.6
## 182           Sewell 08 2022-11-01            0.19103774             115.3
## 183        Pok amont 04 2022-11-01            0.15779221               5.2
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432               3.1
## 185 McConnell Six Rd 05 2022-11-01            0.07747934              72.3
## 186          Pollard 10 2022-11-01            0.04285714              20.3
## 187    br. sud amont 01 2022-11-01            0.11051607              37.3
## 188         Morrison 06 2022-11-01            0.06824147              39.9
## 189             Malt 11 2022-11-01            0.28354204              45.0
## 190          Suggary 02 2022-11-01            0.35756241               8.5
## 191     Waugh sanct. 07 2022-11-01            0.11140031             249.5
## 192          Dempsey 12 2022-11-01            0.08212560              53.8
# AP 2024-08-26 chunk 191; je reformate le code; les parenthèses n'étaient
# pas bien placées.
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="red") +
geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=log10(E.coli_MPN_100.mL),
 color="P2", shape="P2")) +
geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
scale_color_manual(name="",values=c("P1"="red", "P2"="blue"), breaks=c("P1","P2")) +
scale_shape_manual(name="",values=c("P1"=1, "P2"=2), breaks=c("P1","P2")) +
labs(title="Relation entre les coliformes et la variable non_foret",
 x="Non_foret (fraction de la superficie du bassin)",
 y="E.coli_MPN_100.mL") +
theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

non_foret_vs_phosphore

#names(Pok2001.2022) 
# AP 2024-08-26: ce code (chunk 192) est OK
subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctNF_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01            0.05778240                0.0080
## 2          Morrison 06 2001-08-01            0.06876640                0.0080
## 3              Malt 11 2001-08-01            0.06655931                0.0110
## 4           Suggary 02 2001-08-01            0.11570248                0.0090
## 5      Waugh sanct. 07 2001-08-01            0.02857143                0.0150
## 6           Dempsey 12 2001-08-01            0.08033106                0.0140
## 7  Branche sud aval 03 2001-08-01            0.08344378                0.0080
## 8            Sewell 08 2001-08-01            0.16993243                0.0110
## 9         Pok amont 04 2001-08-01            0.19026825                0.0110
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528                0.0090
## 11 McConnell Six Rd 05 2001-08-01            0.23837209                0.0160
## 12          Pollard 10 2001-08-01            0.35535977                0.0150
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528                0.0070
## 14          Pollard 10 2001-08-28            0.35535977                0.0170
## 15    br. sud amont 01 2001-08-28            0.05778240                0.0060
## 16         Morrison 06 2001-08-28            0.06876640                0.0080
## 17             Malt 11 2001-08-28            0.06655931                0.0080
## 18          Suggary 02 2001-08-28            0.11570248                0.0080
## 19     Waugh sanct. 07 2001-08-28            0.02857143                0.0090
## 20          Dempsey 12 2001-08-28            0.08033106                0.0110
## 21 Branche sud aval 03 2001-08-28            0.08344378                0.0070
## 22           Sewell 08 2001-08-28            0.16993243                0.0170
## 23        Pok amont 04 2001-08-28            0.19026825                0.0060
## 24 McConnell Six Rd 05 2001-08-28            0.23837209                0.0130
## 25        Pok amont 04 2001-09-26            0.19026825                0.0130
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528                0.0140
## 27 McConnell Six Rd 05 2001-09-26            0.23837209                0.0130
## 28          Pollard 10 2001-09-26            0.35535977                0.0155
## 29    br. sud amont 01 2001-09-26            0.05778240                0.0130
## 30         Morrison 06 2001-09-26            0.06876640                0.0080
## 31             Malt 11 2001-09-26            0.06655931                0.0120
## 32          Suggary 02 2001-09-26            0.11570248                0.0090
## 33     Waugh sanct. 07 2001-09-26            0.02857143                0.0140
## 34          Dempsey 12 2001-09-26            0.08033106                0.0190
## 35 Branche sud aval 03 2001-09-26            0.08344378                0.0090
## 36           Sewell 08 2001-09-26            0.16993243                0.0120
## 37           Sewell 08 2001-10-31            0.16993243                0.0120
## 38        Pok amont 04 2001-10-31            0.19026825                0.0050
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528                0.0050
## 40         Morrison 06 2001-10-31            0.06876640                0.0060
## 41 McConnell Six Rd 05 2001-10-31            0.23837209                0.0110
## 42          Pollard 10 2001-10-31            0.35535977                0.0080
## 43    br. sud amont 01 2001-10-31            0.05778240                0.0050
## 44          Dempsey 12 2001-10-31            0.08033106                0.0090
## 45             Malt 11 2001-10-31            0.06655931                0.0070
## 46          Suggary 02 2001-10-31            0.11570248                0.0080
## 47     Waugh sanct. 07 2001-10-31            0.02857143                0.0120
## 48 Branche sud aval 03 2001-10-31            0.08344378                0.0050
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528                0.0050
## 50 Branche sud aval 03 2002-07-29            0.08344378                0.0070
## 51           Sewell 08 2002-07-29            0.16993243                0.0200
## 52        Pok amont 04 2002-07-29            0.19026825                0.0060
## 53    br. sud amont 01 2002-07-29            0.05778240                0.0060
## 54         Morrison 06 2002-07-29            0.06876640                0.0080
## 55 McConnell Six Rd 05 2002-07-29            0.23837209                0.0130
## 56          Pollard 10 2002-07-29            0.35535977                0.0230
## 57     Waugh sanct. 07 2002-07-29            0.02857143                0.0120
## 58          Dempsey 12 2002-07-29            0.08033106                0.0100
## 59             Malt 11 2002-07-29            0.06655931                0.0090
## 60          Suggary 02 2002-07-29            0.11570248                0.0070
## 61        Pok amont 04 2002-08-28            0.19026825                0.0100
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528                0.0090
## 63          Dempsey 12 2002-08-28            0.08033106                0.0130
## 64 Branche sud aval 03 2002-08-28            0.08344378                0.0080
## 65           Sewell 08 2002-08-28            0.16993243                0.0100
## 66          Pollard 10 2002-08-28            0.35535977                0.0160
## 67    br. sud amont 01 2002-08-28            0.05778240                0.0070
## 68         Morrison 06 2002-08-28            0.06876640                0.0090
## 69 McConnell Six Rd 05 2002-08-28            0.23837209                0.0140
## 70          Suggary 02 2002-08-28            0.11570248                0.0100
## 71     Waugh sanct. 07 2002-08-28            0.02857143                0.0130
## 72             Malt 11 2002-08-28            0.06655931                0.0110
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528                0.0070
## 74           Sewell 08 2002-10-02            0.16993243                0.0155
## 75        Pok amont 04 2002-10-02            0.19026825                0.0060
## 76     Waugh sanct. 07 2002-10-02            0.02857143                0.0090
## 77          Dempsey 12 2002-10-02            0.08033106                0.0120
## 78 Branche sud aval 03 2002-10-02            0.08344378                0.0080
## 79 McConnell Six Rd 05 2002-10-02            0.23837209                0.0110
## 80          Pollard 10 2002-10-02            0.35535977                0.0110
## 81    br. sud amont 01 2002-10-02            0.05778240                0.0050
## 82         Morrison 06 2002-10-02            0.06876640                0.0050
## 83             Malt 11 2002-10-02            0.06655931                0.0080
## 84          Suggary 02 2002-10-02            0.11570248                0.0070
## 85        Pok amont 04 2002-10-31            0.19026825                0.0060
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528                0.0050
## 87 Branche sud aval 03 2002-10-31            0.08344378                0.0050
## 88           Sewell 08 2002-10-31            0.16993243                0.0130
## 89          Suggary 02 2002-10-31            0.11570248                0.0050
## 90     Waugh sanct. 07 2002-10-31            0.02857143                0.0080
## 91          Dempsey 12 2002-10-31            0.08033106                0.0080
## 92         Morrison 06 2002-10-31            0.06876640                0.0050
## 93 McConnell Six Rd 05 2002-10-31            0.23837209                0.0090
## 94          Pollard 10 2002-10-31            0.35535977                0.0060
## 95    br. sud amont 01 2002-10-31            0.05778240                0.0065
## 96             Malt 11 2002-10-31            0.06655931                0.0050
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctNF_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28            0.11140031                 0.018
## 98           Dempsey 12 2021-07-28            0.06824147                 0.024
## 99  Branche sud aval 03 2021-07-28            0.08212560                 0.022
## 100           Sewell 08 2021-07-28            0.07747934                 0.028
## 101     Waugh sanct. 07 2021-07-28            0.04285714                 0.017
## 102    br. sud amont 01 2021-07-28            0.11051607                 0.016
## 103         Morrison 06 2021-07-28            0.15779221                 0.019
## 104             Malt 11 2021-07-28            0.17432432                 0.014
## 105 McConnell Six Rd 05 2021-07-28            0.26200873                 0.026
## 106          Pollard 10 2021-07-28            0.19103774                 0.051
## 107        Pok amont 04 2021-07-28            0.28354204                 0.022
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241                 0.014
## 109             Malt 11 2021-08-31            0.19103774                 0.005
## 110          Suggary 02 2021-08-31            0.35756241                 0.011
## 111     Waugh sanct. 07 2021-08-31            0.11140031                 0.006
## 112          Dempsey 12 2021-08-31            0.06824147                 0.014
## 113 Branche sud aval 03 2021-08-31            0.08212560                 0.009
## 114           Sewell 08 2021-08-31            0.07747934                 0.015
## 115          Pollard 10 2021-08-31            0.04285714                 0.073
## 116    br. sud amont 01 2021-08-31            0.11051607                 0.016
## 117         Morrison 06 2021-08-31            0.15779221                 0.016
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432                 0.012
## 119 McConnell Six Rd 05 2021-08-31            0.26200873                 0.029
## 120        Pok amont 04 2021-08-31            0.28354204                 0.008
## 121          Suggary 02 2021-10-05            0.26200873                 0.007
## 122         Morrison 06 2021-10-05            0.19103774                 0.010
## 123             Malt 11 2021-10-05            0.28354204                 0.012
## 124           Sewell 08 2021-10-05            0.35756241                 0.024
## 125     Waugh sanct. 07 2021-10-05            0.11140031                 0.019
## 126          Dempsey 12 2021-10-05            0.06824147                 0.018
## 127 Branche sud aval 03 2021-10-05            0.08212560                 0.015
## 128 McConnell Six Rd 05 2021-10-05            0.07747934                 0.025
## 129          Pollard 10 2021-10-05            0.04285714                 0.037
## 130    br. sud amont 01 2021-10-05            0.11051607                 0.019
## 131        Pok amont 04 2021-10-05            0.15779221                 0.008
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432                 0.011
## 133             Malt 11 2021-10-28            0.17432432                 0.009
## 134          Suggary 02 2021-10-28            0.26200873                 0.009
## 135    br. sud amont 01 2021-10-28            0.19103774                 0.013
## 136         Morrison 06 2021-10-28            0.06824147                 0.011
## 137 Branche sud aval 03 2021-10-28            0.28354204                 0.022
## 138           Sewell 08 2021-10-28            0.35756241                 0.020
## 139     Waugh sanct. 07 2021-10-28            0.11140031                 0.018
## 140          Dempsey 12 2021-10-28            0.11051607                 0.015
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560                 0.010
## 142 McConnell Six Rd 05 2021-10-28            0.07747934                 0.018
## 143          Pollard 10 2021-10-28            0.04285714                 0.033
## 144        Pok amont 04 2021-10-28            0.15779221                 0.013
## 145          Pollard 10 2022-07-28            0.19103774                 0.034
## 146         Morrison 06 2022-07-28            0.15779221                 0.014
## 147             Malt 11 2022-07-28            0.17432432                 0.008
## 148          Suggary 02 2022-07-28            0.26200873                 0.009
## 149    br. sud amont 01 2022-07-28            0.11140031                 0.016
## 150          Dempsey 12 2022-07-28            0.06824147                 0.017
## 151 Branche sud aval 03 2022-07-28            0.28354204                 0.013
## 152           Sewell 08 2022-07-28            0.35756241                 0.019
## 153     Waugh sanct. 07 2022-07-28            0.04285714                 0.011
## 154        Pok amont 04 2022-07-28            0.11051607                 0.009
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560                 0.009
## 156 McConnell Six Rd 05 2022-07-28            0.07747934                 0.019
## 157 McConnell Six Rd 05 2022-09-01            0.26200873                 0.024
## 158          Pollard 10 2022-09-01            0.19103774                 0.075
## 159    br. sud amont 01 2022-09-01            0.11051607                 0.015
## 160         Morrison 06 2022-09-01            0.15779221                 0.021
## 161             Malt 11 2022-09-01            0.17432432                 0.008
## 162          Suggary 02 2022-09-01            0.35756241                 0.010
## 163     Waugh sanct. 07 2022-09-01            0.11140031                 0.021
## 164          Dempsey 12 2022-09-01            0.06824147                 0.021
## 165 Branche sud aval 03 2022-09-01            0.28354204                 0.016
## 166           Sewell 08 2022-09-01            0.07747934                 0.019
## 167        Pok amont 04 2022-09-01            0.04285714                 0.010
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560                 0.012
## 169           Sewell 08 2022-10-03            0.19103774                 0.016
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432                 0.019
## 171 McConnell Six Rd 05 2022-10-03            0.26200873                 0.022
## 172          Pollard 10 2022-10-03            0.04285714                 0.049
## 173    br. sud amont 01 2022-10-03            0.11051607                 0.016
## 174         Morrison 06 2022-10-03            0.15779221                 0.014
## 175             Malt 11 2022-10-03            0.28354204                 0.007
## 176          Suggary 02 2022-10-03            0.35756241                 0.005
## 177     Waugh sanct. 07 2022-10-03            0.11140031                 0.013
## 178          Dempsey 12 2022-10-03            0.06824147                 0.013
## 179 Branche sud aval 03 2022-10-03            0.08212560                 0.009
## 180        Pok amont 04 2022-10-03            0.07747934                 0.013
## 181 Branche sud aval 03 2022-11-01            0.26200873                 0.013
## 182           Sewell 08 2022-11-01            0.19103774                 0.021
## 183        Pok amont 04 2022-11-01            0.15779221                 0.011
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432                 0.017
## 185 McConnell Six Rd 05 2022-11-01            0.07747934                 0.020
## 186          Pollard 10 2022-11-01            0.04285714                 0.041
## 187    br. sud amont 01 2022-11-01            0.11051607                 0.020
## 188         Morrison 06 2022-11-01            0.06824147                 0.018
## 189             Malt 11 2022-11-01            0.28354204                 0.009
## 190          Suggary 02 2022-11-01            0.35756241                 0.010
## 191     Waugh sanct. 07 2022-11-01            0.11140031                 0.017
## 192          Dempsey 12 2022-11-01            0.08212560                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et la variable non_foret",
x="Non_foret (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

non_foret_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctNF_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctNF_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01            0.05778240            0.0500
## 2          Morrison 06 2001-08-01            0.06876640            0.0940
## 3              Malt 11 2001-08-01            0.06655931            0.0500
## 4           Suggary 02 2001-08-01            0.11570248            0.0500
## 5      Waugh sanct. 07 2001-08-01            0.02857143            0.0500
## 6           Dempsey 12 2001-08-01            0.08033106            0.0500
## 7  Branche sud aval 03 2001-08-01            0.08344378            0.0500
## 8            Sewell 08 2001-08-01            0.16993243            0.1360
## 9         Pok amont 04 2001-08-01            0.19026825            0.0500
## 10 Trout Val-Doucet 09 2001-08-01            0.10424528            0.0500
## 11 McConnell Six Rd 05 2001-08-01            0.23837209            0.2510
## 12          Pollard 10 2001-08-01            0.35535977            0.2600
## 13 Trout Val-Doucet 09 2001-08-28            0.10424528            0.0500
## 14          Pollard 10 2001-08-28            0.35535977            0.3010
## 15    br. sud amont 01 2001-08-28            0.05778240            0.0500
## 16         Morrison 06 2001-08-28            0.06876640            0.0910
## 17             Malt 11 2001-08-28            0.06655931            0.0500
## 18          Suggary 02 2001-08-28            0.11570248            0.0500
## 19     Waugh sanct. 07 2001-08-28            0.02857143            0.0500
## 20          Dempsey 12 2001-08-28            0.08033106            0.0500
## 21 Branche sud aval 03 2001-08-28            0.08344378            0.0500
## 22           Sewell 08 2001-08-28            0.16993243            0.1330
## 23        Pok amont 04 2001-08-28            0.19026825            0.0500
## 24 McConnell Six Rd 05 2001-08-28            0.23837209            0.2810
## 25        Pok amont 04 2001-09-26            0.19026825            0.0500
## 26 Trout Val-Doucet 09 2001-09-26            0.10424528            0.0500
## 27 McConnell Six Rd 05 2001-09-26            0.23837209            0.2110
## 28          Pollard 10 2001-09-26            0.35535977            0.1845
## 29    br. sud amont 01 2001-09-26            0.05778240            0.0770
## 30         Morrison 06 2001-09-26            0.06876640            0.0500
## 31             Malt 11 2001-09-26            0.06655931            0.0500
## 32          Suggary 02 2001-09-26            0.11570248            0.0500
## 33     Waugh sanct. 07 2001-09-26            0.02857143            0.0500
## 34          Dempsey 12 2001-09-26            0.08033106            0.0500
## 35 Branche sud aval 03 2001-09-26            0.08344378            0.0500
## 36           Sewell 08 2001-09-26            0.16993243            0.0500
## 37           Sewell 08 2001-10-31            0.16993243            0.0500
## 38        Pok amont 04 2001-10-31            0.19026825            0.0500
## 39 Trout Val-Doucet 09 2001-10-31            0.10424528            0.0500
## 40         Morrison 06 2001-10-31            0.06876640            0.0500
## 41 McConnell Six Rd 05 2001-10-31            0.23837209            0.0500
## 42          Pollard 10 2001-10-31            0.35535977            0.2300
## 43    br. sud amont 01 2001-10-31            0.05778240            0.0500
## 44          Dempsey 12 2001-10-31            0.08033106            0.0500
## 45             Malt 11 2001-10-31            0.06655931            0.0500
## 46          Suggary 02 2001-10-31            0.11570248            0.0500
## 47     Waugh sanct. 07 2001-10-31            0.02857143            0.0500
## 48 Branche sud aval 03 2001-10-31            0.08344378            0.0500
## 49 Trout Val-Doucet 09 2002-07-29            0.10424528            0.0500
## 50 Branche sud aval 03 2002-07-29            0.08344378            0.0500
## 51           Sewell 08 2002-07-29            0.16993243            0.2200
## 52        Pok amont 04 2002-07-29            0.19026825            0.0700
## 53    br. sud amont 01 2002-07-29            0.05778240            0.0500
## 54         Morrison 06 2002-07-29            0.06876640            0.0700
## 55 McConnell Six Rd 05 2002-07-29            0.23837209            0.2800
## 56          Pollard 10 2002-07-29            0.35535977            0.3300
## 57     Waugh sanct. 07 2002-07-29            0.02857143            0.0500
## 58          Dempsey 12 2002-07-29            0.08033106            0.0500
## 59             Malt 11 2002-07-29            0.06655931            0.0500
## 60          Suggary 02 2002-07-29            0.11570248            0.1900
## 61        Pok amont 04 2002-08-28            0.19026825            0.0700
## 62 Trout Val-Doucet 09 2002-08-28            0.10424528            0.0500
## 63          Dempsey 12 2002-08-28            0.08033106            0.0500
## 64 Branche sud aval 03 2002-08-28            0.08344378            0.0500
## 65           Sewell 08 2002-08-28            0.16993243            0.0500
## 66          Pollard 10 2002-08-28            0.35535977            0.1800
## 67    br. sud amont 01 2002-08-28            0.05778240            0.0500
## 68         Morrison 06 2002-08-28            0.06876640            0.0700
## 69 McConnell Six Rd 05 2002-08-28            0.23837209            0.3000
## 70          Suggary 02 2002-08-28            0.11570248            0.1750
## 71     Waugh sanct. 07 2002-08-28            0.02857143            0.0500
## 72             Malt 11 2002-08-28            0.06655931            0.0500
## 73 Trout Val-Doucet 09 2002-10-02            0.10424528            0.0500
## 74           Sewell 08 2002-10-02            0.16993243            0.0500
## 75        Pok amont 04 2002-10-02            0.19026825            0.0500
## 76     Waugh sanct. 07 2002-10-02            0.02857143            0.0500
## 77          Dempsey 12 2002-10-02            0.08033106            0.0500
## 78 Branche sud aval 03 2002-10-02            0.08344378            0.0500
## 79 McConnell Six Rd 05 2002-10-02            0.23837209            0.1900
## 80          Pollard 10 2002-10-02            0.35535977            0.1300
## 81    br. sud amont 01 2002-10-02            0.05778240            0.0500
## 82         Morrison 06 2002-10-02            0.06876640            0.0500
## 83             Malt 11 2002-10-02            0.06655931            0.0500
## 84          Suggary 02 2002-10-02            0.11570248            0.1300
## 85        Pok amont 04 2002-10-31            0.19026825            0.0500
## 86 Trout Val-Doucet 09 2002-10-31            0.10424528            0.0500
## 87 Branche sud aval 03 2002-10-31            0.08344378            0.0500
## 88           Sewell 08 2002-10-31            0.16993243            0.2300
## 89          Suggary 02 2002-10-31            0.11570248            0.1500
## 90     Waugh sanct. 07 2002-10-31            0.02857143            0.0800
## 91          Dempsey 12 2002-10-31            0.08033106            0.0500
## 92         Morrison 06 2002-10-31            0.06876640            0.0700
## 93 McConnell Six Rd 05 2002-10-31            0.23837209            0.2200
## 94          Pollard 10 2002-10-31            0.35535977            0.1900
## 95    br. sud amont 01 2002-10-31            0.05778240            0.0500
## 96             Malt 11 2002-10-31            0.06655931            0.1300
subset(Period2, select=c(Station2, Date, pctNF_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctNF_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28            0.11140031              0.11
## 98           Dempsey 12 2021-07-28            0.06824147              0.08
## 99  Branche sud aval 03 2021-07-28            0.08212560              0.05
## 100           Sewell 08 2021-07-28            0.07747934              0.17
## 101     Waugh sanct. 07 2021-07-28            0.04285714              0.06
## 102    br. sud amont 01 2021-07-28            0.11051607              0.08
## 103         Morrison 06 2021-07-28            0.15779221              0.05
## 104             Malt 11 2021-07-28            0.17432432              0.06
## 105 McConnell Six Rd 05 2021-07-28            0.26200873              0.21
## 106          Pollard 10 2021-07-28            0.19103774              0.40
## 107        Pok amont 04 2021-07-28            0.28354204              0.12
## 108 Trout Val-Doucet 09 2021-07-28            0.35756241              0.18
## 109             Malt 11 2021-08-31            0.19103774              0.06
## 110          Suggary 02 2021-08-31            0.35756241              0.12
## 111     Waugh sanct. 07 2021-08-31            0.11140031              0.05
## 112          Dempsey 12 2021-08-31            0.06824147              0.08
## 113 Branche sud aval 03 2021-08-31            0.08212560              0.06
## 114           Sewell 08 2021-08-31            0.07747934              0.12
## 115          Pollard 10 2021-08-31            0.04285714              0.32
## 116    br. sud amont 01 2021-08-31            0.11051607              0.05
## 117         Morrison 06 2021-08-31            0.15779221              0.05
## 118 Trout Val-Doucet 09 2021-08-31            0.17432432              0.14
## 119 McConnell Six Rd 05 2021-08-31            0.26200873              0.21
## 120        Pok amont 04 2021-08-31            0.28354204              0.10
## 121          Suggary 02 2021-10-05            0.26200873              0.17
## 122         Morrison 06 2021-10-05            0.19103774              0.06
## 123             Malt 11 2021-10-05            0.28354204              0.12
## 124           Sewell 08 2021-10-05            0.35756241              0.13
## 125     Waugh sanct. 07 2021-10-05            0.11140031              0.05
## 126          Dempsey 12 2021-10-05            0.06824147              0.09
## 127 Branche sud aval 03 2021-10-05            0.08212560              0.05
## 128 McConnell Six Rd 05 2021-10-05            0.07747934              0.33
## 129          Pollard 10 2021-10-05            0.04285714              0.38
## 130    br. sud amont 01 2021-10-05            0.11051607              0.05
## 131        Pok amont 04 2021-10-05            0.15779221              0.11
## 132 Trout Val-Doucet 09 2021-10-05            0.17432432              0.22
## 133             Malt 11 2021-10-28            0.17432432              0.07
## 134          Suggary 02 2021-10-28            0.26200873              0.15
## 135    br. sud amont 01 2021-10-28            0.19103774              0.05
## 136         Morrison 06 2021-10-28            0.06824147              0.08
## 137 Branche sud aval 03 2021-10-28            0.28354204              0.07
## 138           Sewell 08 2021-10-28            0.35756241              0.14
## 139     Waugh sanct. 07 2021-10-28            0.11140031              0.05
## 140          Dempsey 12 2021-10-28            0.11051607              0.10
## 141 Trout Val-Doucet 09 2021-10-28            0.08212560              0.27
## 142 McConnell Six Rd 05 2021-10-28            0.07747934              0.36
## 143          Pollard 10 2021-10-28            0.04285714              0.38
## 144        Pok amont 04 2021-10-28            0.15779221              0.13
## 145          Pollard 10 2022-07-28            0.19103774              0.40
## 146         Morrison 06 2022-07-28            0.15779221              0.08
## 147             Malt 11 2022-07-28            0.17432432              0.06
## 148          Suggary 02 2022-07-28            0.26200873              0.11
## 149    br. sud amont 01 2022-07-28            0.11140031              0.05
## 150          Dempsey 12 2022-07-28            0.06824147              0.11
## 151 Branche sud aval 03 2022-07-28            0.28354204              0.07
## 152           Sewell 08 2022-07-28            0.35756241              0.17
## 153     Waugh sanct. 07 2022-07-28            0.04285714              0.05
## 154        Pok amont 04 2022-07-28            0.11051607              0.07
## 155 Trout Val-Doucet 09 2022-07-28            0.08212560              0.15
## 156 McConnell Six Rd 05 2022-07-28            0.07747934              0.36
## 157 McConnell Six Rd 05 2022-09-01            0.26200873              0.26
## 158          Pollard 10 2022-09-01            0.19103774              0.53
## 159    br. sud amont 01 2022-09-01            0.11051607              0.05
## 160         Morrison 06 2022-09-01            0.15779221              0.06
## 161             Malt 11 2022-09-01            0.17432432              0.10
## 162          Suggary 02 2022-09-01            0.35756241              0.13
## 163     Waugh sanct. 07 2022-09-01            0.11140031              0.10
## 164          Dempsey 12 2022-09-01            0.06824147              0.15
## 165 Branche sud aval 03 2022-09-01            0.28354204              0.06
## 166           Sewell 08 2022-09-01            0.07747934              0.17
## 167        Pok amont 04 2022-09-01            0.04285714              0.06
## 168 Trout Val-Doucet 09 2022-09-01            0.08212560              0.12
## 169           Sewell 08 2022-10-03            0.19103774              0.08
## 170 Trout Val-Doucet 09 2022-10-03            0.17432432              0.11
## 171 McConnell Six Rd 05 2022-10-03            0.26200873              0.27
## 172          Pollard 10 2022-10-03            0.04285714              0.50
## 173    br. sud amont 01 2022-10-03            0.11051607              0.06
## 174         Morrison 06 2022-10-03            0.15779221              0.05
## 175             Malt 11 2022-10-03            0.28354204              0.06
## 176          Suggary 02 2022-10-03            0.35756241              0.15
## 177     Waugh sanct. 07 2022-10-03            0.11140031              0.09
## 178          Dempsey 12 2022-10-03            0.06824147              0.09
## 179 Branche sud aval 03 2022-10-03            0.08212560              0.05
## 180        Pok amont 04 2022-10-03            0.07747934              0.05
## 181 Branche sud aval 03 2022-11-01            0.26200873              0.05
## 182           Sewell 08 2022-11-01            0.19103774              0.15
## 183        Pok amont 04 2022-11-01            0.15779221              0.07
## 184 Trout Val-Doucet 09 2022-11-01            0.17432432              0.14
## 185 McConnell Six Rd 05 2022-11-01            0.07747934              0.25
## 186          Pollard 10 2022-11-01            0.04285714              0.54
## 187    br. sud amont 01 2022-11-01            0.11051607              0.07
## 188         Morrison 06 2022-11-01            0.06824147              0.09
## 189             Malt 11 2022-11-01            0.28354204              0.07
## 190          Suggary 02 2022-11-01            0.35756241              0.16
## 191     Waugh sanct. 07 2022-11-01            0.11140031              0.06
## 192          Dempsey 12 2022-11-01            0.08212560              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctNF_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctNF_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctNF_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctNF_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et la variable non_foret",
x="Non_foret (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

AGR: Agriculture

#crée la variable pourcentage

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Agriculture_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctAGR_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01             0.03019261              11.5
## 2          Morrison 06 2001-08-01             0.03779528              10.2
## 3              Malt 11 2001-08-01             0.03059581              25.2
## 4           Suggary 02 2001-08-01             0.08780992              14.4
## 5      Waugh sanct. 07 2001-08-01             0.01351351              10.8
## 6           Dempsey 12 2001-08-01             0.03213242              20.4
## 7  Branche sud aval 03 2001-08-01             0.06642438              13.5
## 8            Sewell 08 2001-08-01             0.12364865              12.8
## 9         Pok amont 04 2001-08-01             0.18215845              11.4
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585              14.5
## 11 McConnell Six Rd 05 2001-08-01             0.14803220               9.0
## 12          Pollard 10 2001-08-01             0.19823789              15.1
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585               9.3
## 14          Pollard 10 2001-08-28             0.19823789              12.0
## 15    br. sud amont 01 2001-08-28             0.03019261              10.0
## 16         Morrison 06 2001-08-28             0.03779528               NaN
## 17             Malt 11 2001-08-28             0.03059581               8.8
## 18          Suggary 02 2001-08-28             0.08780992              13.0
## 19     Waugh sanct. 07 2001-08-28             0.01351351              10.6
## 20          Dempsey 12 2001-08-28             0.03213242              13.5
## 21 Branche sud aval 03 2001-08-28             0.06642438              11.5
## 22           Sewell 08 2001-08-28             0.12364865              13.5
## 23        Pok amont 04 2001-08-28             0.18215845               8.4
## 24 McConnell Six Rd 05 2001-08-28             0.14803220              10.9
## 25        Pok amont 04 2001-09-26             0.18215845               9.8
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585              10.7
## 27 McConnell Six Rd 05 2001-09-26             0.14803220              11.8
## 28          Pollard 10 2001-09-26             0.19823789              12.7
## 29    br. sud amont 01 2001-09-26             0.03019261              11.5
## 30         Morrison 06 2001-09-26             0.03779528              11.2
## 31             Malt 11 2001-09-26             0.03059581               9.3
## 32          Suggary 02 2001-09-26             0.08780992              12.9
## 33     Waugh sanct. 07 2001-09-26             0.01351351              10.4
## 34          Dempsey 12 2001-09-26             0.03213242              13.4
## 35 Branche sud aval 03 2001-09-26             0.06642438              12.0
## 36           Sewell 08 2001-09-26             0.12364865              12.9
## 37           Sewell 08 2001-10-31             0.12364865               1.4
## 38        Pok amont 04 2001-10-31             0.18215845               4.8
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585               3.0
## 40         Morrison 06 2001-10-31             0.03779528               1.8
## 41 McConnell Six Rd 05 2001-10-31             0.14803220               2.1
## 42          Pollard 10 2001-10-31             0.19823789               3.3
## 43    br. sud amont 01 2001-10-31             0.03019261               2.7
## 44          Dempsey 12 2001-10-31             0.03213242               3.9
## 45             Malt 11 2001-10-31             0.03059581               4.8
## 46          Suggary 02 2001-10-31             0.08780992               2.1
## 47     Waugh sanct. 07 2001-10-31             0.01351351               2.7
## 48 Branche sud aval 03 2001-10-31             0.06642438               2.3
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585              17.5
## 50 Branche sud aval 03 2002-07-29             0.06642438              15.7
## 51           Sewell 08 2002-07-29             0.12364865              16.8
## 52        Pok amont 04 2002-07-29             0.18215845              13.3
## 53    br. sud amont 01 2002-07-29             0.03019261              14.7
## 54         Morrison 06 2002-07-29             0.03779528              17.3
## 55 McConnell Six Rd 05 2002-07-29             0.14803220              17.4
## 56          Pollard 10 2002-07-29             0.19823789              17.0
## 57     Waugh sanct. 07 2002-07-29             0.01351351              16.4
## 58          Dempsey 12 2002-07-29             0.03213242              15.6
## 59             Malt 11 2002-07-29             0.03059581              14.9
## 60          Suggary 02 2002-07-29             0.08780992              17.9
## 61        Pok amont 04 2002-08-28             0.18215845               8.0
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585              10.2
## 63          Dempsey 12 2002-08-28             0.03213242              13.2
## 64 Branche sud aval 03 2002-08-28             0.06642438              11.3
## 65           Sewell 08 2002-08-28             0.12364865              13.1
## 66          Pollard 10 2002-08-28             0.19823789              11.1
## 67    br. sud amont 01 2002-08-28             0.03019261              11.1
## 68         Morrison 06 2002-08-28             0.03779528               9.9
## 69 McConnell Six Rd 05 2002-08-28             0.14803220              12.9
## 70          Suggary 02 2002-08-28             0.08780992              10.6
## 71     Waugh sanct. 07 2002-08-28             0.01351351              10.1
## 72             Malt 11 2002-08-28             0.03059581               7.9
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585              10.7
## 74           Sewell 08 2002-10-02             0.12364865              12.7
## 75        Pok amont 04 2002-10-02             0.18215845               7.8
## 76     Waugh sanct. 07 2002-10-02             0.01351351              10.7
## 77          Dempsey 12 2002-10-02             0.03213242              11.1
## 78 Branche sud aval 03 2002-10-02             0.06642438              10.9
## 79 McConnell Six Rd 05 2002-10-02             0.14803220              12.9
## 80          Pollard 10 2002-10-02             0.19823789              10.8
## 81    br. sud amont 01 2002-10-02             0.03019261              11.0
## 82         Morrison 06 2002-10-02             0.03779528              10.5
## 83             Malt 11 2002-10-02             0.03059581               7.8
## 84          Suggary 02 2002-10-02             0.08780992              10.3
## 85        Pok amont 04 2002-10-31             0.18215845               4.6
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585               2.7
## 87 Branche sud aval 03 2002-10-31             0.06642438               NaN
## 88           Sewell 08 2002-10-31             0.12364865               1.6
## 89          Suggary 02 2002-10-31             0.08780992               2.7
## 90     Waugh sanct. 07 2002-10-31             0.01351351               2.7
## 91          Dempsey 12 2002-10-31             0.03213242               3.3
## 92         Morrison 06 2002-10-31             0.03779528               1.7
## 93 McConnell Six Rd 05 2002-10-31             0.14803220               2.3
## 94          Pollard 10 2002-10-31             0.19823789               2.7
## 95    br. sud amont 01 2002-10-31             0.03019261               2.5
## 96             Malt 11 2002-10-31             0.03059581               4.4
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctAGR_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28             0.05361791              11.5
## 98           Dempsey 12 2021-07-28             0.03149606              16.1
## 99  Branche sud aval 03 2021-07-28             0.03488996              15.5
## 100           Sewell 08 2021-07-28             0.03822314              14.2
## 101     Waugh sanct. 07 2021-07-28             0.02316602              12.1
## 102    br. sud amont 01 2021-07-28             0.04819864              14.0
## 103         Morrison 06 2021-07-28             0.12471091              15.7
## 104             Malt 11 2021-07-28             0.10337838              11.7
## 105 McConnell Six Rd 05 2021-07-28             0.24142233              16.9
## 106          Pollard 10 2021-07-28             0.13349057              14.6
## 107        Pok amont 04 2021-07-28             0.15787120              11.2
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145              11.9
## 109             Malt 11 2021-08-31             0.13349057              12.0
## 110          Suggary 02 2021-08-31             0.17621145              11.0
## 111     Waugh sanct. 07 2021-08-31             0.05361791              12.8
## 112          Dempsey 12 2021-08-31             0.03149606              15.0
## 113 Branche sud aval 03 2021-08-31             0.03488996              15.0
## 114           Sewell 08 2021-08-31             0.03822314              14.6
## 115          Pollard 10 2021-08-31             0.02316602              15.7
## 116    br. sud amont 01 2021-08-31             0.04819864              13.7
## 117         Morrison 06 2021-08-31             0.12471091              14.9
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838              11.7
## 119 McConnell Six Rd 05 2021-08-31             0.24142233              16.4
## 120        Pok amont 04 2021-08-31             0.15787120              10.8
## 121          Suggary 02 2021-10-05             0.24142233               6.3
## 122         Morrison 06 2021-10-05             0.13349057               7.0
## 123             Malt 11 2021-10-05             0.15787120               8.5
## 124           Sewell 08 2021-10-05             0.17621145               8.0
## 125     Waugh sanct. 07 2021-10-05             0.05361791               9.0
## 126          Dempsey 12 2021-10-05             0.03149606               8.7
## 127 Branche sud aval 03 2021-10-05             0.03488996               7.9
## 128 McConnell Six Rd 05 2021-10-05             0.03822314               7.9
## 129          Pollard 10 2021-10-05             0.02316602               8.7
## 130    br. sud amont 01 2021-10-05             0.04819864               7.3
## 131        Pok amont 04 2021-10-05             0.12471091               7.4
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838               6.4
## 133             Malt 11 2021-10-28             0.10337838               7.1
## 134          Suggary 02 2021-10-28             0.24142233               6.7
## 135    br. sud amont 01 2021-10-28             0.13349057               7.0
## 136         Morrison 06 2021-10-28             0.03149606               6.4
## 137 Branche sud aval 03 2021-10-28             0.15787120               6.7
## 138           Sewell 08 2021-10-28             0.17621145               7.4
## 139     Waugh sanct. 07 2021-10-28             0.05361791               7.3
## 140          Dempsey 12 2021-10-28             0.04819864               7.3
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996               6.7
## 142 McConnell Six Rd 05 2021-10-28             0.03822314               7.2
## 143          Pollard 10 2021-10-28             0.02316602               7.5
## 144        Pok amont 04 2021-10-28             0.12471091               7.2
## 145          Pollard 10 2022-07-28             0.13349057              14.2
## 146         Morrison 06 2022-07-28             0.12471091              13.3
## 147             Malt 11 2022-07-28             0.10337838              12.9
## 148          Suggary 02 2022-07-28             0.24142233              11.4
## 149    br. sud amont 01 2022-07-28             0.05361791              14.9
## 150          Dempsey 12 2022-07-28             0.03149606              15.3
## 151 Branche sud aval 03 2022-07-28             0.15787120              15.5
## 152           Sewell 08 2022-07-28             0.17621145              15.1
## 153     Waugh sanct. 07 2022-07-28             0.02316602              13.1
## 154        Pok amont 04 2022-07-28             0.04819864              11.9
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996              11.1
## 156 McConnell Six Rd 05 2022-07-28             0.03822314              13.8
## 157 McConnell Six Rd 05 2022-09-01             0.24142233              16.2
## 158          Pollard 10 2022-09-01             0.13349057              15.1
## 159    br. sud amont 01 2022-09-01             0.04819864              14.8
## 160         Morrison 06 2022-09-01             0.12471091              15.0
## 161             Malt 11 2022-09-01             0.10337838              12.3
## 162          Suggary 02 2022-09-01             0.17621145              11.9
## 163     Waugh sanct. 07 2022-09-01             0.05361791              14.0
## 164          Dempsey 12 2022-09-01             0.03149606              15.0
## 165 Branche sud aval 03 2022-09-01             0.15787120              16.2
## 166           Sewell 08 2022-09-01             0.03822314              15.9
## 167        Pok amont 04 2022-09-01             0.02316602              12.1
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996              12.9
## 169           Sewell 08 2022-10-03             0.13349057               6.2
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838               4.7
## 171 McConnell Six Rd 05 2022-10-03             0.24142233               6.5
## 172          Pollard 10 2022-10-03             0.02316602               6.5
## 173    br. sud amont 01 2022-10-03             0.04819864               5.6
## 174         Morrison 06 2022-10-03             0.12471091               4.7
## 175             Malt 11 2022-10-03             0.15787120               7.9
## 176          Suggary 02 2022-10-03             0.17621145               4.5
## 177     Waugh sanct. 07 2022-10-03             0.05361791               6.3
## 178          Dempsey 12 2022-10-03             0.03149606               6.0
## 179 Branche sud aval 03 2022-10-03             0.03488996               6.2
## 180        Pok amont 04 2022-10-03             0.03822314               6.5
## 181 Branche sud aval 03 2022-11-01             0.24142233               6.5
## 182           Sewell 08 2022-11-01             0.13349057               7.1
## 183        Pok amont 04 2022-11-01             0.12471091               6.3
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838               6.1
## 185 McConnell Six Rd 05 2022-11-01             0.03822314               7.4
## 186          Pollard 10 2022-11-01             0.02316602               8.0
## 187    br. sud amont 01 2022-11-01             0.04819864               7.0
## 188         Morrison 06 2022-11-01             0.03149606               5.9
## 189             Malt 11 2022-11-01             0.15787120               7.6
## 190          Suggary 02 2022-11-01             0.17621145               6.5
## 191     Waugh sanct. 07 2022-11-01             0.05361791               7.3
## 192          Dempsey 12 2022-11-01             0.03488996               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Agriculture_vs_Oxygène

#names(Pok2001.2022) 

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctAGR_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01             0.03019261                 11.30
## 2          Morrison 06 2001-08-01             0.03779528                 10.60
## 3              Malt 11 2001-08-01             0.03059581                 11.80
## 4           Suggary 02 2001-08-01             0.08780992                 10.50
## 5      Waugh sanct. 07 2001-08-01             0.01351351                 10.40
## 6           Dempsey 12 2001-08-01             0.03213242                  8.10
## 7  Branche sud aval 03 2001-08-01             0.06642438                 11.00
## 8            Sewell 08 2001-08-01             0.12364865                 11.10
## 9         Pok amont 04 2001-08-01             0.18215845                  9.70
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585                 10.50
## 11 McConnell Six Rd 05 2001-08-01             0.14803220                 12.10
## 12          Pollard 10 2001-08-01             0.19823789                  9.50
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585                 10.60
## 14          Pollard 10 2001-08-28             0.19823789                  9.60
## 15    br. sud amont 01 2001-08-28             0.03019261                 10.12
## 16         Morrison 06 2001-08-28             0.03779528                   NaN
## 17             Malt 11 2001-08-28             0.03059581                 10.60
## 18          Suggary 02 2001-08-28             0.08780992                  9.45
## 19     Waugh sanct. 07 2001-08-28             0.01351351                 10.00
## 20          Dempsey 12 2001-08-28             0.03213242                  8.80
## 21 Branche sud aval 03 2001-08-28             0.06642438                 10.00
## 22           Sewell 08 2001-08-28             0.12364865                  9.40
## 23        Pok amont 04 2001-08-28             0.18215845                 10.50
## 24 McConnell Six Rd 05 2001-08-28             0.14803220                 10.00
## 25        Pok amont 04 2001-09-26             0.18215845                  8.00
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585                  9.00
## 27 McConnell Six Rd 05 2001-09-26             0.14803220                  8.51
## 28          Pollard 10 2001-09-26             0.19823789                  8.40
## 29    br. sud amont 01 2001-09-26             0.03019261                  8.50
## 30         Morrison 06 2001-09-26             0.03779528                  8.60
## 31             Malt 11 2001-09-26             0.03059581                  9.00
## 32          Suggary 02 2001-09-26             0.08780992                  8.44
## 33     Waugh sanct. 07 2001-09-26             0.01351351                  8.62
## 34          Dempsey 12 2001-09-26             0.03213242                  8.30
## 35 Branche sud aval 03 2001-09-26             0.06642438                  9.20
## 36           Sewell 08 2001-09-26             0.12364865                  7.92
## 37           Sewell 08 2001-10-31             0.12364865                  7.70
## 38        Pok amont 04 2001-10-31             0.18215845                  8.40
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585                  9.46
## 40         Morrison 06 2001-10-31             0.03779528                  9.84
## 41 McConnell Six Rd 05 2001-10-31             0.14803220                  8.70
## 42          Pollard 10 2001-10-31             0.19823789                  8.85
## 43    br. sud amont 01 2001-10-31             0.03019261                  7.80
## 44          Dempsey 12 2001-10-31             0.03213242                  8.43
## 45             Malt 11 2001-10-31             0.03059581                  9.20
## 46          Suggary 02 2001-10-31             0.08780992                  7.30
## 47     Waugh sanct. 07 2001-10-31             0.01351351                  8.00
## 48 Branche sud aval 03 2001-10-31             0.06642438                  9.57
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585                  8.01
## 50 Branche sud aval 03 2002-07-29             0.06642438                  8.50
## 51           Sewell 08 2002-07-29             0.12364865                  7.60
## 52        Pok amont 04 2002-07-29             0.18215845                  8.17
## 53    br. sud amont 01 2002-07-29             0.03019261                  8.65
## 54         Morrison 06 2002-07-29             0.03779528                  9.76
## 55 McConnell Six Rd 05 2002-07-29             0.14803220                  7.10
## 56          Pollard 10 2002-07-29             0.19823789                  7.45
## 57     Waugh sanct. 07 2002-07-29             0.01351351                  7.90
## 58          Dempsey 12 2002-07-29             0.03213242                  8.30
## 59             Malt 11 2002-07-29             0.03059581                  8.90
## 60          Suggary 02 2002-07-29             0.08780992                  8.20
## 61        Pok amont 04 2002-08-28             0.18215845                 10.65
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585                  9.46
## 63          Dempsey 12 2002-08-28             0.03213242                  8.20
## 64 Branche sud aval 03 2002-08-28             0.06642438                 10.41
## 65           Sewell 08 2002-08-28             0.12364865                  9.80
## 66          Pollard 10 2002-08-28             0.19823789                  9.02
## 67    br. sud amont 01 2002-08-28             0.03019261                 10.20
## 68         Morrison 06 2002-08-28             0.03779528                 11.17
## 69 McConnell Six Rd 05 2002-08-28             0.14803220                 11.05
## 70          Suggary 02 2002-08-28             0.08780992                 11.24
## 71     Waugh sanct. 07 2002-08-28             0.01351351                 10.00
## 72             Malt 11 2002-08-28             0.03059581                 10.00
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585                  4.42
## 74           Sewell 08 2002-10-02             0.12364865                  6.84
## 75        Pok amont 04 2002-10-02             0.18215845                  7.20
## 76     Waugh sanct. 07 2002-10-02             0.01351351                  6.10
## 77          Dempsey 12 2002-10-02             0.03213242                  5.70
## 78 Branche sud aval 03 2002-10-02             0.06642438                  7.10
## 79 McConnell Six Rd 05 2002-10-02             0.14803220                  7.49
## 80          Pollard 10 2002-10-02             0.19823789                  6.80
## 81    br. sud amont 01 2002-10-02             0.03019261                  7.16
## 82         Morrison 06 2002-10-02             0.03779528                  7.60
## 83             Malt 11 2002-10-02             0.03059581                  6.40
## 84          Suggary 02 2002-10-02             0.08780992                  8.08
## 85        Pok amont 04 2002-10-31             0.18215845                  7.50
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585                  8.50
## 87 Branche sud aval 03 2002-10-31             0.06642438                   NaN
## 88           Sewell 08 2002-10-31             0.12364865                  8.30
## 89          Suggary 02 2002-10-31             0.08780992                  8.60
## 90     Waugh sanct. 07 2002-10-31             0.01351351                  7.00
## 91          Dempsey 12 2002-10-31             0.03213242                  7.40
## 92         Morrison 06 2002-10-31             0.03779528                  8.30
## 93 McConnell Six Rd 05 2002-10-31             0.14803220                  7.60
## 94          Pollard 10 2002-10-31             0.19823789                  7.60
## 95    br. sud amont 01 2002-10-31             0.03019261                  8.20
## 96             Malt 11 2002-10-31             0.03059581                  8.00
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctAGR_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28             0.05361791                  9.68
## 98           Dempsey 12 2021-07-28             0.03149606                  9.38
## 99  Branche sud aval 03 2021-07-28             0.03488996                  8.51
## 100           Sewell 08 2021-07-28             0.03822314                  9.29
## 101     Waugh sanct. 07 2021-07-28             0.02316602                  9.84
## 102    br. sud amont 01 2021-07-28             0.04819864                  8.43
## 103         Morrison 06 2021-07-28             0.12471091                  9.04
## 104             Malt 11 2021-07-28             0.10337838                  9.73
## 105 McConnell Six Rd 05 2021-07-28             0.24142233                  8.70
## 106          Pollard 10 2021-07-28             0.13349057                  9.81
## 107        Pok amont 04 2021-07-28             0.15787120                  9.22
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145                 10.29
## 109             Malt 11 2021-08-31             0.13349057                 11.07
## 110          Suggary 02 2021-08-31             0.17621145                 10.16
## 111     Waugh sanct. 07 2021-08-31             0.05361791                 10.03
## 112          Dempsey 12 2021-08-31             0.03149606                  9.51
## 113 Branche sud aval 03 2021-08-31             0.03488996                  8.83
## 114           Sewell 08 2021-08-31             0.03822314                  8.18
## 115          Pollard 10 2021-08-31             0.02316602                  8.15
## 116    br. sud amont 01 2021-08-31             0.04819864                  7.94
## 117         Morrison 06 2021-08-31             0.12471091                  9.14
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838                 10.42
## 119 McConnell Six Rd 05 2021-08-31             0.24142233                  8.54
## 120        Pok amont 04 2021-08-31             0.15787120                  8.70
## 121          Suggary 02 2021-10-05             0.24142233                 12.14
## 122         Morrison 06 2021-10-05             0.13349057                 11.19
## 123             Malt 11 2021-10-05             0.15787120                 10.27
## 124           Sewell 08 2021-10-05             0.17621145                 11.17
## 125     Waugh sanct. 07 2021-10-05             0.05361791                 10.42
## 126          Dempsey 12 2021-10-05             0.03149606                 10.86
## 127 Branche sud aval 03 2021-10-05             0.03488996                 10.40
## 128 McConnell Six Rd 05 2021-10-05             0.03822314                 10.87
## 129          Pollard 10 2021-10-05             0.02316602                 11.29
## 130    br. sud amont 01 2021-10-05             0.04819864                 10.74
## 131        Pok amont 04 2021-10-05             0.12471091                 10.75
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838                 11.40
## 133             Malt 11 2021-10-28             0.10337838                 10.50
## 134          Suggary 02 2021-10-28             0.24142233                 11.68
## 135    br. sud amont 01 2021-10-28             0.13349057                 10.93
## 136         Morrison 06 2021-10-28             0.03149606                 11.66
## 137 Branche sud aval 03 2021-10-28             0.15787120                 11.22
## 138           Sewell 08 2021-10-28             0.17621145                 11.44
## 139     Waugh sanct. 07 2021-10-28             0.05361791                 10.96
## 140          Dempsey 12 2021-10-28             0.04819864                  8.77
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996                 11.26
## 142 McConnell Six Rd 05 2021-10-28             0.03822314                 10.41
## 143          Pollard 10 2021-10-28             0.02316602                 10.54
## 144        Pok amont 04 2021-10-28             0.12471091                 10.80
## 145          Pollard 10 2022-07-28             0.13349057                 10.75
## 146         Morrison 06 2022-07-28             0.12471091                 10.00
## 147             Malt 11 2022-07-28             0.10337838                 11.60
## 148          Suggary 02 2022-07-28             0.24142233                 11.40
## 149    br. sud amont 01 2022-07-28             0.05361791                  8.64
## 150          Dempsey 12 2022-07-28             0.03149606                  9.34
## 151 Branche sud aval 03 2022-07-28             0.15787120                  9.55
## 152           Sewell 08 2022-07-28             0.17621145                  9.50
## 153     Waugh sanct. 07 2022-07-28             0.02316602                  9.90
## 154        Pok amont 04 2022-07-28             0.04819864                  9.52
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996                 11.52
## 156 McConnell Six Rd 05 2022-07-28             0.03822314                 10.40
## 157 McConnell Six Rd 05 2022-09-01             0.24142233                  9.19
## 158          Pollard 10 2022-09-01             0.13349057                 10.25
## 159    br. sud amont 01 2022-09-01             0.04819864                  8.28
## 160         Morrison 06 2022-09-01             0.12471091                  9.52
## 161             Malt 11 2022-09-01             0.10337838                 11.08
## 162          Suggary 02 2022-09-01             0.17621145                 10.24
## 163     Waugh sanct. 07 2022-09-01             0.05361791                  9.22
## 164          Dempsey 12 2022-09-01             0.03149606                  9.44
## 165 Branche sud aval 03 2022-09-01             0.15787120                  8.95
## 166           Sewell 08 2022-09-01             0.03822314                  9.02
## 167        Pok amont 04 2022-09-01             0.02316602                  8.82
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996                 10.06
## 169           Sewell 08 2022-10-03             0.13349057                 10.03
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838                 12.38
## 171 McConnell Six Rd 05 2022-10-03             0.24142233                 12.20
## 172          Pollard 10 2022-10-03             0.02316602                 13.04
## 173    br. sud amont 01 2022-10-03             0.04819864                 11.04
## 174         Morrison 06 2022-10-03             0.12471091                 12.92
## 175             Malt 11 2022-10-03             0.15787120                 12.67
## 176          Suggary 02 2022-10-03             0.17621145                 13.13
## 177     Waugh sanct. 07 2022-10-03             0.05361791                 12.07
## 178          Dempsey 12 2022-10-03             0.03149606                 11.87
## 179 Branche sud aval 03 2022-10-03             0.03488996                 12.21
## 180        Pok amont 04 2022-10-03             0.03822314                 10.04
## 181 Branche sud aval 03 2022-11-01             0.24142233                 12.07
## 182           Sewell 08 2022-11-01             0.13349057                 12.13
## 183        Pok amont 04 2022-11-01             0.12471091                 10.55
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838                 12.12
## 185 McConnell Six Rd 05 2022-11-01             0.03822314                 11.17
## 186          Pollard 10 2022-11-01             0.02316602                 10.85
## 187    br. sud amont 01 2022-11-01             0.04819864                 11.78
## 188         Morrison 06 2022-11-01             0.03149606                 12.66
## 189             Malt 11 2022-11-01             0.15787120                 11.63
## 190          Suggary 02 2022-11-01             0.17621145                 12.35
## 191     Waugh sanct. 07 2022-11-01             0.05361791                  9.42
## 192          Dempsey 12 2022-11-01             0.03488996                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Agriculture_vs_conductivité

#names(Pok2001.2022) 

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctAGR_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01             0.03019261                  171.0
## 2          Morrison 06 2001-08-01             0.03779528                  114.0
## 3              Malt 11 2001-08-01             0.03059581                  108.0
## 4           Suggary 02 2001-08-01             0.08780992                  118.0
## 5      Waugh sanct. 07 2001-08-01             0.01351351                  133.0
## 6           Dempsey 12 2001-08-01             0.03213242                  128.0
## 7  Branche sud aval 03 2001-08-01             0.06642438                  115.0
## 8            Sewell 08 2001-08-01             0.12364865                  134.0
## 9         Pok amont 04 2001-08-01             0.18215845                   56.6
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585                  106.0
## 11 McConnell Six Rd 05 2001-08-01             0.14803220                  100.0
## 12          Pollard 10 2001-08-01             0.19823789                  156.0
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585                  105.0
## 14          Pollard 10 2001-08-28             0.19823789                  162.0
## 15    br. sud amont 01 2001-08-28             0.03019261                  177.0
## 16         Morrison 06 2001-08-28             0.03779528                  115.0
## 17             Malt 11 2001-08-28             0.03059581                   90.3
## 18          Suggary 02 2001-08-28             0.08780992                  119.0
## 19     Waugh sanct. 07 2001-08-28             0.01351351                  132.0
## 20          Dempsey 12 2001-08-28             0.03213242                  129.0
## 21 Branche sud aval 03 2001-08-28             0.06642438                  113.0
## 22           Sewell 08 2001-08-28             0.12364865                  150.0
## 23        Pok amont 04 2001-08-28             0.18215845                   60.0
## 24 McConnell Six Rd 05 2001-08-28             0.14803220                  112.0
## 25        Pok amont 04 2001-09-26             0.18215845                   72.1
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585                  115.0
## 27 McConnell Six Rd 05 2001-09-26             0.14803220                  111.0
## 28          Pollard 10 2001-09-26             0.19823789                  153.5
## 29    br. sud amont 01 2001-09-26             0.03019261                  158.0
## 30         Morrison 06 2001-09-26             0.03779528                  117.0
## 31             Malt 11 2001-09-26             0.03059581                   97.7
## 32          Suggary 02 2001-09-26             0.08780992                  139.0
## 33     Waugh sanct. 07 2001-09-26             0.01351351                  136.0
## 34          Dempsey 12 2001-09-26             0.03213242                  137.0
## 35 Branche sud aval 03 2001-09-26             0.06642438                  123.0
## 36           Sewell 08 2001-09-26             0.12364865                  173.0
## 37           Sewell 08 2001-10-31             0.12364865                  111.0
## 38        Pok amont 04 2001-10-31             0.18215845                   68.3
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585                  112.0
## 40         Morrison 06 2001-10-31             0.03779528                  123.0
## 41 McConnell Six Rd 05 2001-10-31             0.14803220                   87.2
## 42          Pollard 10 2001-10-31             0.19823789                  164.0
## 43    br. sud amont 01 2001-10-31             0.03019261                  162.0
## 44          Dempsey 12 2001-10-31             0.03213242                  128.0
## 45             Malt 11 2001-10-31             0.03059581                   98.8
## 46          Suggary 02 2001-10-31             0.08780992                  120.0
## 47     Waugh sanct. 07 2001-10-31             0.01351351                  102.0
## 48 Branche sud aval 03 2001-10-31             0.06642438                  115.0
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585                  112.0
## 50 Branche sud aval 03 2002-07-29             0.06642438                  116.0
## 51           Sewell 08 2002-07-29             0.12364865                  139.0
## 52        Pok amont 04 2002-07-29             0.18215845                   57.1
## 53    br. sud amont 01 2002-07-29             0.03019261                  148.0
## 54         Morrison 06 2002-07-29             0.03779528                  123.0
## 55 McConnell Six Rd 05 2002-07-29             0.14803220                  105.0
## 56          Pollard 10 2002-07-29             0.19823789                  162.0
## 57     Waugh sanct. 07 2002-07-29             0.01351351                  133.0
## 58          Dempsey 12 2002-07-29             0.03213242                  143.0
## 59             Malt 11 2002-07-29             0.03059581                   96.6
## 60          Suggary 02 2002-07-29             0.08780992                  110.0
## 61        Pok amont 04 2002-08-28             0.18215845                   60.3
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585                  115.0
## 63          Dempsey 12 2002-08-28             0.03213242                  144.0
## 64 Branche sud aval 03 2002-08-28             0.06642438                  121.0
## 65           Sewell 08 2002-08-28             0.12364865                  168.0
## 66          Pollard 10 2002-08-28             0.19823789                  164.0
## 67    br. sud amont 01 2002-08-28             0.03019261                  185.0
## 68         Morrison 06 2002-08-28             0.03779528                  125.0
## 69 McConnell Six Rd 05 2002-08-28             0.14803220                  111.0
## 70          Suggary 02 2002-08-28             0.08780992                  110.5
## 71     Waugh sanct. 07 2002-08-28             0.01351351                  135.0
## 72             Malt 11 2002-08-28             0.03059581                  101.0
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585                  120.0
## 74           Sewell 08 2002-10-02             0.12364865                  158.0
## 75        Pok amont 04 2002-10-02             0.18215845                   69.4
## 76     Waugh sanct. 07 2002-10-02             0.01351351                  148.0
## 77          Dempsey 12 2002-10-02             0.03213242                  145.0
## 78 Branche sud aval 03 2002-10-02             0.06642438                  126.0
## 79 McConnell Six Rd 05 2002-10-02             0.14803220                  108.0
## 80          Pollard 10 2002-10-02             0.19823789                  176.0
## 81    br. sud amont 01 2002-10-02             0.03019261                  194.0
## 82         Morrison 06 2002-10-02             0.03779528                  128.0
## 83             Malt 11 2002-10-02             0.03059581                  106.0
## 84          Suggary 02 2002-10-02             0.08780992                  114.0
## 85        Pok amont 04 2002-10-31             0.18215845                   70.9
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585                  122.0
## 87 Branche sud aval 03 2002-10-31             0.06642438                  126.0
## 88           Sewell 08 2002-10-31             0.12364865                  120.0
## 89          Suggary 02 2002-10-31             0.08780992                  118.0
## 90     Waugh sanct. 07 2002-10-31             0.01351351                  129.0
## 91          Dempsey 12 2002-10-31             0.03213242                  141.0
## 92         Morrison 06 2002-10-31             0.03779528                  130.0
## 93 McConnell Six Rd 05 2002-10-31             0.14803220                  103.0
## 94          Pollard 10 2002-10-31             0.19823789                  176.0
## 95    br. sud amont 01 2002-10-31             0.03019261                  175.5
## 96             Malt 11 2002-10-31             0.03059581                  107.0
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctAGR_supdrainee_2020
## 97           Suggary 02 2021-07-28             0.05361791
## 98           Dempsey 12 2021-07-28             0.03149606
## 99  Branche sud aval 03 2021-07-28             0.03488996
## 100           Sewell 08 2021-07-28             0.03822314
## 101     Waugh sanct. 07 2021-07-28             0.02316602
## 102    br. sud amont 01 2021-07-28             0.04819864
## 103         Morrison 06 2021-07-28             0.12471091
## 104             Malt 11 2021-07-28             0.10337838
## 105 McConnell Six Rd 05 2021-07-28             0.24142233
## 106          Pollard 10 2021-07-28             0.13349057
## 107        Pok amont 04 2021-07-28             0.15787120
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145
## 109             Malt 11 2021-08-31             0.13349057
## 110          Suggary 02 2021-08-31             0.17621145
## 111     Waugh sanct. 07 2021-08-31             0.05361791
## 112          Dempsey 12 2021-08-31             0.03149606
## 113 Branche sud aval 03 2021-08-31             0.03488996
## 114           Sewell 08 2021-08-31             0.03822314
## 115          Pollard 10 2021-08-31             0.02316602
## 116    br. sud amont 01 2021-08-31             0.04819864
## 117         Morrison 06 2021-08-31             0.12471091
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838
## 119 McConnell Six Rd 05 2021-08-31             0.24142233
## 120        Pok amont 04 2021-08-31             0.15787120
## 121          Suggary 02 2021-10-05             0.24142233
## 122         Morrison 06 2021-10-05             0.13349057
## 123             Malt 11 2021-10-05             0.15787120
## 124           Sewell 08 2021-10-05             0.17621145
## 125     Waugh sanct. 07 2021-10-05             0.05361791
## 126          Dempsey 12 2021-10-05             0.03149606
## 127 Branche sud aval 03 2021-10-05             0.03488996
## 128 McConnell Six Rd 05 2021-10-05             0.03822314
## 129          Pollard 10 2021-10-05             0.02316602
## 130    br. sud amont 01 2021-10-05             0.04819864
## 131        Pok amont 04 2021-10-05             0.12471091
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838
## 133             Malt 11 2021-10-28             0.10337838
## 134          Suggary 02 2021-10-28             0.24142233
## 135    br. sud amont 01 2021-10-28             0.13349057
## 136         Morrison 06 2021-10-28             0.03149606
## 137 Branche sud aval 03 2021-10-28             0.15787120
## 138           Sewell 08 2021-10-28             0.17621145
## 139     Waugh sanct. 07 2021-10-28             0.05361791
## 140          Dempsey 12 2021-10-28             0.04819864
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996
## 142 McConnell Six Rd 05 2021-10-28             0.03822314
## 143          Pollard 10 2021-10-28             0.02316602
## 144        Pok amont 04 2021-10-28             0.12471091
## 145          Pollard 10 2022-07-28             0.13349057
## 146         Morrison 06 2022-07-28             0.12471091
## 147             Malt 11 2022-07-28             0.10337838
## 148          Suggary 02 2022-07-28             0.24142233
## 149    br. sud amont 01 2022-07-28             0.05361791
## 150          Dempsey 12 2022-07-28             0.03149606
## 151 Branche sud aval 03 2022-07-28             0.15787120
## 152           Sewell 08 2022-07-28             0.17621145
## 153     Waugh sanct. 07 2022-07-28             0.02316602
## 154        Pok amont 04 2022-07-28             0.04819864
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996
## 156 McConnell Six Rd 05 2022-07-28             0.03822314
## 157 McConnell Six Rd 05 2022-09-01             0.24142233
## 158          Pollard 10 2022-09-01             0.13349057
## 159    br. sud amont 01 2022-09-01             0.04819864
## 160         Morrison 06 2022-09-01             0.12471091
## 161             Malt 11 2022-09-01             0.10337838
## 162          Suggary 02 2022-09-01             0.17621145
## 163     Waugh sanct. 07 2022-09-01             0.05361791
## 164          Dempsey 12 2022-09-01             0.03149606
## 165 Branche sud aval 03 2022-09-01             0.15787120
## 166           Sewell 08 2022-09-01             0.03822314
## 167        Pok amont 04 2022-09-01             0.02316602
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996
## 169           Sewell 08 2022-10-03             0.13349057
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838
## 171 McConnell Six Rd 05 2022-10-03             0.24142233
## 172          Pollard 10 2022-10-03             0.02316602
## 173    br. sud amont 01 2022-10-03             0.04819864
## 174         Morrison 06 2022-10-03             0.12471091
## 175             Malt 11 2022-10-03             0.15787120
## 176          Suggary 02 2022-10-03             0.17621145
## 177     Waugh sanct. 07 2022-10-03             0.05361791
## 178          Dempsey 12 2022-10-03             0.03149606
## 179 Branche sud aval 03 2022-10-03             0.03488996
## 180        Pok amont 04 2022-10-03             0.03822314
## 181 Branche sud aval 03 2022-11-01             0.24142233
## 182           Sewell 08 2022-11-01             0.13349057
## 183        Pok amont 04 2022-11-01             0.12471091
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838
## 185 McConnell Six Rd 05 2022-11-01             0.03822314
## 186          Pollard 10 2022-11-01             0.02316602
## 187    br. sud amont 01 2022-11-01             0.04819864
## 188         Morrison 06 2022-11-01             0.03149606
## 189             Malt 11 2022-11-01             0.15787120
## 190          Suggary 02 2022-11-01             0.17621145
## 191     Waugh sanct. 07 2022-11-01             0.05361791
## 192          Dempsey 12 2022-11-01             0.03488996
##     Conductivity_microS_cm
## 97                     109
## 98                     139
## 99                     119
## 100                    131
## 101                    128
## 102                    177
## 103                    122
## 104                     90
## 105                    115
## 106                    166
## 107                     60
## 108                    109
## 109                     96
## 110                    116
## 111                    138
## 112                    152
## 113                    125
## 114                    161
## 115                    196
## 116                    199
## 117                    129
## 118                    118
## 119                    114
## 120                     70
## 121                     98
## 122                    114
## 123                     74
## 124                     72
## 125                     70
## 126                     96
## 127                     86
## 128                     90
## 129                    128
## 130                     91
## 131                     52
## 132                     95
## 133                     80
## 134                    100
## 135                    114
## 136                    118
## 137                     97
## 138                     81
## 139                     88
## 140                    113
## 141                    102
## 142                     97
## 143                    139
## 144                     54
## 145                    163
## 146                    119
## 147                     88
## 148                    107
## 149                    161
## 150                    134
## 151                    113
## 152                    113
## 153                    126
## 154                     59
## 155                    108
## 156                    113
## 157                    107
## 158                    178
## 159                    180
## 160                    117
## 161                     88
## 162                    104
## 163                    114
## 164                    137
## 165                    117
## 166                    116
## 167                     63
## 168                    108
## 169                    114
## 170                    113
## 171                     94
## 172                    179
## 173                    182
## 174                    120
## 175                     95
## 176                    107
## 177                    114
## 178                    143
## 179                    118
## 180                     64
## 181                    112
## 182                     92
## 183                     69
## 184                    112
## 185                     92
## 186                    177
## 187                    144
## 188                    125
## 189                     91
## 190                    108
## 191                     92
## 192                    136
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Agriculture_vs_pH

#names(Pok2001.2022) 

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,pH_units))
##               Station2       Date pctAGR_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01             0.03019261    8.200
## 2          Morrison 06 2001-08-01             0.03779528    7.950
## 3              Malt 11 2001-08-01             0.03059581    7.860
## 4           Suggary 02 2001-08-01             0.08780992    8.020
## 5      Waugh sanct. 07 2001-08-01             0.01351351    7.970
## 6           Dempsey 12 2001-08-01             0.03213242    7.960
## 7  Branche sud aval 03 2001-08-01             0.06642438    8.030
## 8            Sewell 08 2001-08-01             0.12364865    8.020
## 9         Pok amont 04 2001-08-01             0.18215845    7.590
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585    8.010
## 11 McConnell Six Rd 05 2001-08-01             0.14803220    7.860
## 12          Pollard 10 2001-08-01             0.19823789    7.890
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585    7.910
## 14          Pollard 10 2001-08-28             0.19823789    7.860
## 15    br. sud amont 01 2001-08-28             0.03019261    7.980
## 16         Morrison 06 2001-08-28             0.03779528    7.940
## 17             Malt 11 2001-08-28             0.03059581    7.460
## 18          Suggary 02 2001-08-28             0.08780992    7.880
## 19     Waugh sanct. 07 2001-08-28             0.01351351    7.890
## 20          Dempsey 12 2001-08-28             0.03213242    7.760
## 21 Branche sud aval 03 2001-08-28             0.06642438    7.890
## 22           Sewell 08 2001-08-28             0.12364865    7.900
## 23        Pok amont 04 2001-08-28             0.18215845    7.490
## 24 McConnell Six Rd 05 2001-08-28             0.14803220    7.770
## 25        Pok amont 04 2001-09-26             0.18215845    7.640
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585    7.960
## 27 McConnell Six Rd 05 2001-09-26             0.14803220    7.870
## 28          Pollard 10 2001-09-26             0.19823789    7.850
## 29    br. sud amont 01 2001-09-26             0.03019261    8.050
## 30         Morrison 06 2001-09-26             0.03779528    8.020
## 31             Malt 11 2001-09-26             0.03059581    7.710
## 32          Suggary 02 2001-09-26             0.08780992    8.080
## 33     Waugh sanct. 07 2001-09-26             0.01351351    8.020
## 34          Dempsey 12 2001-09-26             0.03213242    7.950
## 35 Branche sud aval 03 2001-09-26             0.06642438    8.040
## 36           Sewell 08 2001-09-26             0.12364865    8.060
## 37           Sewell 08 2001-10-31             0.12364865    7.740
## 38        Pok amont 04 2001-10-31             0.18215845    7.420
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585    7.950
## 40         Morrison 06 2001-10-31             0.03779528    8.010
## 41 McConnell Six Rd 05 2001-10-31             0.14803220    7.500
## 42          Pollard 10 2001-10-31             0.19823789    7.870
## 43    br. sud amont 01 2001-10-31             0.03019261    7.960
## 44          Dempsey 12 2001-10-31             0.03213242    7.820
## 45             Malt 11 2001-10-31             0.03059581    7.530
## 46          Suggary 02 2001-10-31             0.08780992    7.650
## 47     Waugh sanct. 07 2001-10-31             0.01351351    7.410
## 48 Branche sud aval 03 2001-10-31             0.06642438    7.890
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585    7.840
## 50 Branche sud aval 03 2002-07-29             0.06642438    7.870
## 51           Sewell 08 2002-07-29             0.12364865    7.840
## 52        Pok amont 04 2002-07-29             0.18215845    7.180
## 53    br. sud amont 01 2002-07-29             0.03019261    7.840
## 54         Morrison 06 2002-07-29             0.03779528    7.920
## 55 McConnell Six Rd 05 2002-07-29             0.14803220    7.580
## 56          Pollard 10 2002-07-29             0.19823789    7.730
## 57     Waugh sanct. 07 2002-07-29             0.01351351    7.700
## 58          Dempsey 12 2002-07-29             0.03213242    7.755
## 59             Malt 11 2002-07-29             0.03059581    7.420
## 60          Suggary 02 2002-07-29             0.08780992    7.740
## 61        Pok amont 04 2002-08-28             0.18215845    7.250
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585    7.800
## 63          Dempsey 12 2002-08-28             0.03213242    7.690
## 64 Branche sud aval 03 2002-08-28             0.06642438    7.850
## 65           Sewell 08 2002-08-28             0.12364865    7.920
## 66          Pollard 10 2002-08-28             0.19823789    7.730
## 67    br. sud amont 01 2002-08-28             0.03019261    8.070
## 68         Morrison 06 2002-08-28             0.03779528    7.900
## 69 McConnell Six Rd 05 2002-08-28             0.14803220    7.790
## 70          Suggary 02 2002-08-28             0.08780992    7.815
## 71     Waugh sanct. 07 2002-08-28             0.01351351    7.750
## 72             Malt 11 2002-08-28             0.03059581    7.380
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585    7.830
## 74           Sewell 08 2002-10-02             0.12364865    7.820
## 75        Pok amont 04 2002-10-02             0.18215845    7.270
## 76     Waugh sanct. 07 2002-10-02             0.01351351    7.760
## 77          Dempsey 12 2002-10-02             0.03213242    7.640
## 78 Branche sud aval 03 2002-10-02             0.06642438    7.820
## 79 McConnell Six Rd 05 2002-10-02             0.14803220    7.650
## 80          Pollard 10 2002-10-02             0.19823789    7.720
## 81    br. sud amont 01 2002-10-02             0.03019261    7.970
## 82         Morrison 06 2002-10-02             0.03779528    7.890
## 83             Malt 11 2002-10-02             0.03059581    7.380
## 84          Suggary 02 2002-10-02             0.08780992    7.830
## 85        Pok amont 04 2002-10-31             0.18215845    7.360
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585    7.820
## 87 Branche sud aval 03 2002-10-31             0.06642438      NaN
## 88           Sewell 08 2002-10-31             0.12364865    7.550
## 89          Suggary 02 2002-10-31             0.08780992    7.770
## 90     Waugh sanct. 07 2002-10-31             0.01351351    7.580
## 91          Dempsey 12 2002-10-31             0.03213242    7.690
## 92         Morrison 06 2002-10-31             0.03779528    7.870
## 93 McConnell Six Rd 05 2002-10-31             0.14803220    7.440
## 94          Pollard 10 2002-10-31             0.19823789    7.780
## 95    br. sud amont 01 2002-10-31             0.03019261    7.865
## 96             Malt 11 2002-10-31             0.03059581    7.560
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,pH_units))
##                Station2       Date pctAGR_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28             0.05361791      7.5
## 98           Dempsey 12 2021-07-28             0.03149606      7.6
## 99  Branche sud aval 03 2021-07-28             0.03488996      7.6
## 100           Sewell 08 2021-07-28             0.03822314      7.7
## 101     Waugh sanct. 07 2021-07-28             0.02316602      7.6
## 102    br. sud amont 01 2021-07-28             0.04819864      7.6
## 103         Morrison 06 2021-07-28             0.12471091      7.4
## 104             Malt 11 2021-07-28             0.10337838      7.2
## 105 McConnell Six Rd 05 2021-07-28             0.24142233      7.6
## 106          Pollard 10 2021-07-28             0.13349057      7.6
## 107        Pok amont 04 2021-07-28             0.15787120      6.8
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145      7.6
## 109             Malt 11 2021-08-31             0.13349057      7.3
## 110          Suggary 02 2021-08-31             0.17621145      7.6
## 111     Waugh sanct. 07 2021-08-31             0.05361791      7.8
## 112          Dempsey 12 2021-08-31             0.03149606      7.6
## 113 Branche sud aval 03 2021-08-31             0.03488996      7.8
## 114           Sewell 08 2021-08-31             0.03822314      7.8
## 115          Pollard 10 2021-08-31             0.02316602      7.8
## 116    br. sud amont 01 2021-08-31             0.04819864      7.5
## 117         Morrison 06 2021-08-31             0.12471091      7.8
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838      7.8
## 119 McConnell Six Rd 05 2021-08-31             0.24142233      7.7
## 120        Pok amont 04 2021-08-31             0.15787120      7.1
## 121          Suggary 02 2021-10-05             0.24142233      7.6
## 122         Morrison 06 2021-10-05             0.13349057      7.1
## 123             Malt 11 2021-10-05             0.15787120      7.1
## 124           Sewell 08 2021-10-05             0.17621145      7.5
## 125     Waugh sanct. 07 2021-10-05             0.05361791      7.2
## 126          Dempsey 12 2021-10-05             0.03149606      7.3
## 127 Branche sud aval 03 2021-10-05             0.03488996      7.6
## 128 McConnell Six Rd 05 2021-10-05             0.03822314      7.4
## 129          Pollard 10 2021-10-05             0.02316602      7.5
## 130    br. sud amont 01 2021-10-05             0.04819864      7.2
## 131        Pok amont 04 2021-10-05             0.12471091      6.8
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838      7.2
## 133             Malt 11 2021-10-28             0.10337838      7.0
## 134          Suggary 02 2021-10-28             0.24142233      7.6
## 135    br. sud amont 01 2021-10-28             0.13349057      7.5
## 136         Morrison 06 2021-10-28             0.03149606      7.6
## 137 Branche sud aval 03 2021-10-28             0.15787120      7.6
## 138           Sewell 08 2021-10-28             0.17621145      7.5
## 139     Waugh sanct. 07 2021-10-28             0.05361791      7.5
## 140          Dempsey 12 2021-10-28             0.04819864      7.6
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996      7.5
## 142 McConnell Six Rd 05 2021-10-28             0.03822314      7.5
## 143          Pollard 10 2021-10-28             0.02316602      7.7
## 144        Pok amont 04 2021-10-28             0.12471091      7.5
## 145          Pollard 10 2022-07-28             0.13349057      7.7
## 146         Morrison 06 2022-07-28             0.12471091      7.8
## 147             Malt 11 2022-07-28             0.10337838      7.6
## 148          Suggary 02 2022-07-28             0.24142233      7.7
## 149    br. sud amont 01 2022-07-28             0.05361791      7.9
## 150          Dempsey 12 2022-07-28             0.03149606      7.8
## 151 Branche sud aval 03 2022-07-28             0.15787120      7.8
## 152           Sewell 08 2022-07-28             0.17621145      7.7
## 153     Waugh sanct. 07 2022-07-28             0.02316602      7.8
## 154        Pok amont 04 2022-07-28             0.04819864      7.5
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996      7.8
## 156 McConnell Six Rd 05 2022-07-28             0.03822314      7.7
## 157 McConnell Six Rd 05 2022-09-01             0.24142233      7.8
## 158          Pollard 10 2022-09-01             0.13349057      7.8
## 159    br. sud amont 01 2022-09-01             0.04819864      8.0
## 160         Morrison 06 2022-09-01             0.12471091      8.0
## 161             Malt 11 2022-09-01             0.10337838      7.7
## 162          Suggary 02 2022-09-01             0.17621145      7.8
## 163     Waugh sanct. 07 2022-09-01             0.05361791      7.9
## 164          Dempsey 12 2022-09-01             0.03149606      7.9
## 165 Branche sud aval 03 2022-09-01             0.15787120      7.9
## 166           Sewell 08 2022-09-01             0.03822314      7.9
## 167        Pok amont 04 2022-09-01             0.02316602      7.2
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996      7.8
## 169           Sewell 08 2022-10-03             0.13349057      7.7
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838      7.8
## 171 McConnell Six Rd 05 2022-10-03             0.24142233      7.5
## 172          Pollard 10 2022-10-03             0.02316602      7.8
## 173    br. sud amont 01 2022-10-03             0.04819864      7.9
## 174         Morrison 06 2022-10-03             0.12471091      7.9
## 175             Malt 11 2022-10-03             0.15787120      7.5
## 176          Suggary 02 2022-10-03             0.17621145      7.7
## 177     Waugh sanct. 07 2022-10-03             0.05361791      7.6
## 178          Dempsey 12 2022-10-03             0.03149606      7.7
## 179 Branche sud aval 03 2022-10-03             0.03488996      7.8
## 180        Pok amont 04 2022-10-03             0.03822314      7.1
## 181 Branche sud aval 03 2022-11-01             0.24142233      7.6
## 182           Sewell 08 2022-11-01             0.13349057      7.5
## 183        Pok amont 04 2022-11-01             0.12471091      7.0
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838      7.5
## 185 McConnell Six Rd 05 2022-11-01             0.03822314      7.3
## 186          Pollard 10 2022-11-01             0.02316602      7.6
## 187    br. sud amont 01 2022-11-01             0.04819864      7.5
## 188         Morrison 06 2022-11-01             0.03149606      7.8
## 189             Malt 11 2022-11-01             0.15787120      7.0
## 190          Suggary 02 2022-11-01             0.17621145      7.5
## 191     Waugh sanct. 07 2022-11-01             0.05361791      7.2
## 192          Dempsey 12 2022-11-01             0.03488996      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Agriculture_vs_turbidité

#names(Pok2001.2022) 

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctAGR_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01             0.03019261         6.400
## 2          Morrison 06 2001-08-01             0.03779528         0.600
## 3              Malt 11 2001-08-01             0.03059581         1.600
## 4           Suggary 02 2001-08-01             0.08780992         0.700
## 5      Waugh sanct. 07 2001-08-01             0.01351351         1.200
## 6           Dempsey 12 2001-08-01             0.03213242         1.300
## 7  Branche sud aval 03 2001-08-01             0.06642438         0.500
## 8            Sewell 08 2001-08-01             0.12364865         1.500
## 9         Pok amont 04 2001-08-01             0.18215845         0.000
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585         0.700
## 11 McConnell Six Rd 05 2001-08-01             0.14803220         0.100
## 12          Pollard 10 2001-08-01             0.19823789         0.500
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585         1.200
## 14          Pollard 10 2001-08-28             0.19823789         0.800
## 15    br. sud amont 01 2001-08-28             0.03019261         6.100
## 16         Morrison 06 2001-08-28             0.03779528         0.700
## 17             Malt 11 2001-08-28             0.03059581         0.500
## 18          Suggary 02 2001-08-28             0.08780992         3.500
## 19     Waugh sanct. 07 2001-08-28             0.01351351         1.000
## 20          Dempsey 12 2001-08-28             0.03213242         1.700
## 21 Branche sud aval 03 2001-08-28             0.06642438         0.900
## 22           Sewell 08 2001-08-28             0.12364865         6.500
## 23        Pok amont 04 2001-08-28             0.18215845         0.000
## 24 McConnell Six Rd 05 2001-08-28             0.14803220         1.000
## 25        Pok amont 04 2001-09-26             0.18215845         0.800
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585         9.500
## 27 McConnell Six Rd 05 2001-09-26             0.14803220         1.200
## 28          Pollard 10 2001-09-26             0.19823789         1.150
## 29    br. sud amont 01 2001-09-26             0.03019261        44.800
## 30         Morrison 06 2001-09-26             0.03779528         0.900
## 31             Malt 11 2001-09-26             0.03059581         7.800
## 32          Suggary 02 2001-09-26             0.08780992         1.700
## 33     Waugh sanct. 07 2001-09-26             0.01351351         1.200
## 34          Dempsey 12 2001-09-26             0.03213242         1.500
## 35 Branche sud aval 03 2001-09-26             0.06642438         2.400
## 36           Sewell 08 2001-09-26             0.12364865         3.000
## 37           Sewell 08 2001-10-31             0.12364865         5.500
## 38        Pok amont 04 2001-10-31             0.18215845         0.200
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585         1.000
## 40         Morrison 06 2001-10-31             0.03779528         0.500
## 41 McConnell Six Rd 05 2001-10-31             0.14803220         1.400
## 42          Pollard 10 2001-10-31             0.19823789         0.600
## 43    br. sud amont 01 2001-10-31             0.03019261         1.100
## 44          Dempsey 12 2001-10-31             0.03213242         1.700
## 45             Malt 11 2001-10-31             0.03059581         0.800
## 46          Suggary 02 2001-10-31             0.08780992         2.050
## 47     Waugh sanct. 07 2001-10-31             0.01351351         1.200
## 48 Branche sud aval 03 2001-10-31             0.06642438         0.800
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585         0.780
## 50 Branche sud aval 03 2002-07-29             0.06642438         1.170
## 51           Sewell 08 2002-07-29             0.12364865         4.960
## 52        Pok amont 04 2002-07-29             0.18215845         0.190
## 53    br. sud amont 01 2002-07-29             0.03019261         0.900
## 54         Morrison 06 2002-07-29             0.03779528         0.690
## 55 McConnell Six Rd 05 2002-07-29             0.14803220         1.520
## 56          Pollard 10 2002-07-29             0.19823789         1.630
## 57     Waugh sanct. 07 2002-07-29             0.01351351         1.110
## 58          Dempsey 12 2002-07-29             0.03213242         1.970
## 59             Malt 11 2002-07-29             0.03059581         0.400
## 60          Suggary 02 2002-07-29             0.08780992         0.430
## 61        Pok amont 04 2002-08-28             0.18215845         0.390
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585         1.320
## 63          Dempsey 12 2002-08-28             0.03213242         4.440
## 64 Branche sud aval 03 2002-08-28             0.06642438         1.150
## 65           Sewell 08 2002-08-28             0.12364865         2.960
## 66          Pollard 10 2002-08-28             0.19823789         0.950
## 67    br. sud amont 01 2002-08-28             0.03019261         0.570
## 68         Morrison 06 2002-08-28             0.03779528         0.940
## 69 McConnell Six Rd 05 2002-08-28             0.14803220         1.340
## 70          Suggary 02 2002-08-28             0.08780992         0.820
## 71     Waugh sanct. 07 2002-08-28             0.01351351         1.510
## 72             Malt 11 2002-08-28             0.03059581         0.480
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585         0.940
## 74           Sewell 08 2002-10-02             0.12364865         5.255
## 75        Pok amont 04 2002-10-02             0.18215845         0.280
## 76     Waugh sanct. 07 2002-10-02             0.01351351         1.280
## 77          Dempsey 12 2002-10-02             0.03213242         3.770
## 78 Branche sud aval 03 2002-10-02             0.06642438         1.070
## 79 McConnell Six Rd 05 2002-10-02             0.14803220         2.110
## 80          Pollard 10 2002-10-02             0.19823789         0.690
## 81    br. sud amont 01 2002-10-02             0.03019261         0.740
## 82         Morrison 06 2002-10-02             0.03779528         0.770
## 83             Malt 11 2002-10-02             0.03059581         0.600
## 84          Suggary 02 2002-10-02             0.08780992         0.480
## 85        Pok amont 04 2002-10-31             0.18215845         0.580
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585         0.870
## 87 Branche sud aval 03 2002-10-31             0.06642438           NaN
## 88           Sewell 08 2002-10-31             0.12364865         8.740
## 89          Suggary 02 2002-10-31             0.08780992         0.410
## 90     Waugh sanct. 07 2002-10-31             0.01351351         1.440
## 91          Dempsey 12 2002-10-31             0.03213242         2.880
## 92         Morrison 06 2002-10-31             0.03779528         0.620
## 93 McConnell Six Rd 05 2002-10-31             0.14803220         1.500
## 94          Pollard 10 2002-10-31             0.19823789         1.060
## 95    br. sud amont 01 2002-10-31             0.03019261         1.220
## 96             Malt 11 2002-10-31             0.03059581         0.900
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctAGR_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28             0.05361791           1.2
## 98           Dempsey 12 2021-07-28             0.03149606           1.6
## 99  Branche sud aval 03 2021-07-28             0.03488996           1.8
## 100           Sewell 08 2021-07-28             0.03822314           3.5
## 101     Waugh sanct. 07 2021-07-28             0.02316602           1.1
## 102    br. sud amont 01 2021-07-28             0.04819864           2.3
## 103         Morrison 06 2021-07-28             0.12471091           1.4
## 104             Malt 11 2021-07-28             0.10337838           0.7
## 105 McConnell Six Rd 05 2021-07-28             0.24142233           1.9
## 106          Pollard 10 2021-07-28             0.13349057           1.2
## 107        Pok amont 04 2021-07-28             0.15787120           0.9
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145           1.7
## 109             Malt 11 2021-08-31             0.13349057           0.5
## 110          Suggary 02 2021-08-31             0.17621145           0.7
## 111     Waugh sanct. 07 2021-08-31             0.05361791           1.1
## 112          Dempsey 12 2021-08-31             0.03149606           1.7
## 113 Branche sud aval 03 2021-08-31             0.03488996           1.7
## 114           Sewell 08 2021-08-31             0.03822314           3.0
## 115          Pollard 10 2021-08-31             0.02316602           1.7
## 116    br. sud amont 01 2021-08-31             0.04819864           5.6
## 117         Morrison 06 2021-08-31             0.12471091           2.6
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838           2.0
## 119 McConnell Six Rd 05 2021-08-31             0.24142233           3.2
## 120        Pok amont 04 2021-08-31             0.15787120           1.5
## 121          Suggary 02 2021-10-05             0.24142233           0.7
## 122         Morrison 06 2021-10-05             0.13349057           1.4
## 123             Malt 11 2021-10-05             0.15787120           0.9
## 124           Sewell 08 2021-10-05             0.17621145           4.2
## 125     Waugh sanct. 07 2021-10-05             0.05361791           1.2
## 126          Dempsey 12 2021-10-05             0.03149606           1.8
## 127 Branche sud aval 03 2021-10-05             0.03488996           1.7
## 128 McConnell Six Rd 05 2021-10-05             0.03822314           1.8
## 129          Pollard 10 2021-10-05             0.02316602           1.8
## 130    br. sud amont 01 2021-10-05             0.04819864           3.7
## 131        Pok amont 04 2021-10-05             0.12471091           1.0
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838           1.4
## 133             Malt 11 2021-10-28             0.10337838           0.5
## 134          Suggary 02 2021-10-28             0.24142233           0.2
## 135    br. sud amont 01 2021-10-28             0.13349057           1.9
## 136         Morrison 06 2021-10-28             0.03149606           0.6
## 137 Branche sud aval 03 2021-10-28             0.15787120           1.3
## 138           Sewell 08 2021-10-28             0.17621145           2.8
## 139     Waugh sanct. 07 2021-10-28             0.05361791           1.0
## 140          Dempsey 12 2021-10-28             0.04819864           1.3
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996           0.7
## 142 McConnell Six Rd 05 2021-10-28             0.03822314           1.4
## 143          Pollard 10 2021-10-28             0.02316602           0.8
## 144        Pok amont 04 2021-10-28             0.12471091           0.6
## 145          Pollard 10 2022-07-28             0.13349057           0.4
## 146         Morrison 06 2022-07-28             0.12471091           0.7
## 147             Malt 11 2022-07-28             0.10337838           0.4
## 148          Suggary 02 2022-07-28             0.24142233           0.5
## 149    br. sud amont 01 2022-07-28             0.05361791           2.7
## 150          Dempsey 12 2022-07-28             0.03149606           1.2
## 151 Branche sud aval 03 2022-07-28             0.15787120           2.1
## 152           Sewell 08 2022-07-28             0.17621145           1.8
## 153     Waugh sanct. 07 2022-07-28             0.02316602           1.0
## 154        Pok amont 04 2022-07-28             0.04819864           0.7
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996           0.7
## 156 McConnell Six Rd 05 2022-07-28             0.03822314           0.8
## 157 McConnell Six Rd 05 2022-09-01             0.24142233           1.9
## 158          Pollard 10 2022-09-01             0.13349057           1.3
## 159    br. sud amont 01 2022-09-01             0.04819864           3.0
## 160         Morrison 06 2022-09-01             0.12471091           2.4
## 161             Malt 11 2022-09-01             0.10337838           0.5
## 162          Suggary 02 2022-09-01             0.17621145           0.7
## 163     Waugh sanct. 07 2022-09-01             0.05361791           1.8
## 164          Dempsey 12 2022-09-01             0.03149606           2.2
## 165 Branche sud aval 03 2022-09-01             0.15787120           1.9
## 166           Sewell 08 2022-09-01             0.03822314           2.6
## 167        Pok amont 04 2022-09-01             0.02316602           1.5
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996           1.4
## 169           Sewell 08 2022-10-03             0.13349057           3.6
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838           1.2
## 171 McConnell Six Rd 05 2022-10-03             0.24142233           1.9
## 172          Pollard 10 2022-10-03             0.02316602           0.4
## 173    br. sud amont 01 2022-10-03             0.04819864           2.8
## 174         Morrison 06 2022-10-03             0.12471091           1.0
## 175             Malt 11 2022-10-03             0.15787120           0.4
## 176          Suggary 02 2022-10-03             0.17621145           0.3
## 177     Waugh sanct. 07 2022-10-03             0.05361791           1.3
## 178          Dempsey 12 2022-10-03             0.03149606           1.3
## 179 Branche sud aval 03 2022-10-03             0.03488996           1.6
## 180        Pok amont 04 2022-10-03             0.03822314           1.5
## 181 Branche sud aval 03 2022-11-01             0.24142233           2.6
## 182           Sewell 08 2022-11-01             0.13349057           5.4
## 183        Pok amont 04 2022-11-01             0.12471091           0.8
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838           2.6
## 185 McConnell Six Rd 05 2022-11-01             0.03822314           2.0
## 186          Pollard 10 2022-11-01             0.02316602           0.7
## 187    br. sud amont 01 2022-11-01             0.04819864           4.8
## 188         Morrison 06 2022-11-01             0.03149606           2.8
## 189             Malt 11 2022-11-01             0.15787120           1.5
## 190          Suggary 02 2022-11-01             0.17621145           0.7
## 191     Waugh sanct. 07 2022-11-01             0.05361791           1.6
## 192          Dempsey 12 2022-11-01             0.03488996           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=log10(Turbidity_NTU),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=log10(Turbidity_NTU)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=log10(Turbidity_NTU),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=log10(Turbidity_NTU)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 3 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Agriculture_vs_couleur

#names(Pok2001.2022) 

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Colour_TCU))
##               Station2       Date pctAGR_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01             0.03019261        5.0
## 2          Morrison 06 2001-08-01             0.03779528       10.0
## 3              Malt 11 2001-08-01             0.03059581       10.0
## 4           Suggary 02 2001-08-01             0.08780992        5.0
## 5      Waugh sanct. 07 2001-08-01             0.01351351       20.0
## 6           Dempsey 12 2001-08-01             0.03213242       15.0
## 7  Branche sud aval 03 2001-08-01             0.06642438        5.0
## 8            Sewell 08 2001-08-01             0.12364865        5.0
## 9         Pok amont 04 2001-08-01             0.18215845        0.0
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585        0.0
## 11 McConnell Six Rd 05 2001-08-01             0.14803220        5.0
## 12          Pollard 10 2001-08-01             0.19823789        5.0
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585        5.0
## 14          Pollard 10 2001-08-28             0.19823789        5.0
## 15    br. sud amont 01 2001-08-28             0.03019261        5.0
## 16         Morrison 06 2001-08-28             0.03779528        5.0
## 17             Malt 11 2001-08-28             0.03059581        5.0
## 18          Suggary 02 2001-08-28             0.08780992       10.0
## 19     Waugh sanct. 07 2001-08-28             0.01351351       10.0
## 20          Dempsey 12 2001-08-28             0.03213242       15.0
## 21 Branche sud aval 03 2001-08-28             0.06642438        5.0
## 22           Sewell 08 2001-08-28             0.12364865       30.0
## 23        Pok amont 04 2001-08-28             0.18215845        5.0
## 24 McConnell Six Rd 05 2001-08-28             0.14803220        5.0
## 25        Pok amont 04 2001-09-26             0.18215845       10.0
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585       30.0
## 27 McConnell Six Rd 05 2001-09-26             0.14803220       15.0
## 28          Pollard 10 2001-09-26             0.19823789       20.0
## 29    br. sud amont 01 2001-09-26             0.03019261      200.0
## 30         Morrison 06 2001-09-26             0.03779528        5.0
## 31             Malt 11 2001-09-26             0.03059581       20.0
## 32          Suggary 02 2001-09-26             0.08780992        5.0
## 33     Waugh sanct. 07 2001-09-26             0.01351351       10.0
## 34          Dempsey 12 2001-09-26             0.03213242       20.0
## 35 Branche sud aval 03 2001-09-26             0.06642438       10.0
## 36           Sewell 08 2001-09-26             0.12364865       30.0
## 37           Sewell 08 2001-10-31             0.12364865       80.0
## 38        Pok amont 04 2001-10-31             0.18215845        5.0
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585       20.0
## 40         Morrison 06 2001-10-31             0.03779528       15.0
## 41 McConnell Six Rd 05 2001-10-31             0.14803220      120.0
## 42          Pollard 10 2001-10-31             0.19823789       10.0
## 43    br. sud amont 01 2001-10-31             0.03019261       30.0
## 44          Dempsey 12 2001-10-31             0.03213242       30.0
## 45             Malt 11 2001-10-31             0.03059581       10.0
## 46          Suggary 02 2001-10-31             0.08780992       30.0
## 47     Waugh sanct. 07 2001-10-31             0.01351351      100.0
## 48 Branche sud aval 03 2001-10-31             0.06642438       20.0
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585       10.0
## 50 Branche sud aval 03 2002-07-29             0.06642438       15.0
## 51           Sewell 08 2002-07-29             0.12364865       40.0
## 52        Pok amont 04 2002-07-29             0.18215845        5.0
## 53    br. sud amont 01 2002-07-29             0.03019261       15.0
## 54         Morrison 06 2002-07-29             0.03779528       10.0
## 55 McConnell Six Rd 05 2002-07-29             0.14803220       80.0
## 56          Pollard 10 2002-07-29             0.19823789       10.0
## 57     Waugh sanct. 07 2002-07-29             0.01351351       40.0
## 58          Dempsey 12 2002-07-29             0.03213242       20.0
## 59             Malt 11 2002-07-29             0.03059581        5.0
## 60          Suggary 02 2002-07-29             0.08780992        5.0
## 61        Pok amont 04 2002-08-28             0.18215845        5.0
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585       20.0
## 63          Dempsey 12 2002-08-28             0.03213242       40.0
## 64 Branche sud aval 03 2002-08-28             0.06642438       15.0
## 65           Sewell 08 2002-08-28             0.12364865       40.0
## 66          Pollard 10 2002-08-28             0.19823789       10.0
## 67    br. sud amont 01 2002-08-28             0.03019261       10.0
## 68         Morrison 06 2002-08-28             0.03779528       10.0
## 69 McConnell Six Rd 05 2002-08-28             0.14803220       20.0
## 70          Suggary 02 2002-08-28             0.08780992        7.5
## 71     Waugh sanct. 07 2002-08-28             0.01351351       30.0
## 72             Malt 11 2002-08-28             0.03059581       10.0
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585        5.0
## 74           Sewell 08 2002-10-02             0.12364865       60.0
## 75        Pok amont 04 2002-10-02             0.18215845        5.0
## 76     Waugh sanct. 07 2002-10-02             0.01351351       20.0
## 77          Dempsey 12 2002-10-02             0.03213242       20.0
## 78 Branche sud aval 03 2002-10-02             0.06642438       15.0
## 79 McConnell Six Rd 05 2002-10-02             0.14803220       60.0
## 80          Pollard 10 2002-10-02             0.19823789       10.0
## 81    br. sud amont 01 2002-10-02             0.03019261       10.0
## 82         Morrison 06 2002-10-02             0.03779528       10.0
## 83             Malt 11 2002-10-02             0.03059581        5.0
## 84          Suggary 02 2002-10-02             0.08780992        5.0
## 85        Pok amont 04 2002-10-31             0.18215845        5.0
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585       20.0
## 87 Branche sud aval 03 2002-10-31             0.06642438        NaN
## 88           Sewell 08 2002-10-31             0.12364865       60.0
## 89          Suggary 02 2002-10-31             0.08780992        5.0
## 90     Waugh sanct. 07 2002-10-31             0.01351351       60.0
## 91          Dempsey 12 2002-10-31             0.03213242       30.0
## 92         Morrison 06 2002-10-31             0.03779528        5.0
## 93 McConnell Six Rd 05 2002-10-31             0.14803220       75.0
## 94          Pollard 10 2002-10-31             0.19823789        5.0
## 95    br. sud amont 01 2002-10-31             0.03019261       30.0
## 96             Malt 11 2002-10-31             0.03059581       15.0
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Colour_TCU))
##                Station2       Date pctAGR_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28             0.05361791          8
## 98           Dempsey 12 2021-07-28             0.03149606         22
## 99  Branche sud aval 03 2021-07-28             0.03488996         19
## 100           Sewell 08 2021-07-28             0.03822314         34
## 101     Waugh sanct. 07 2021-07-28             0.02316602         27
## 102    br. sud amont 01 2021-07-28             0.04819864         15
## 103         Morrison 06 2021-07-28             0.12471091         14
## 104             Malt 11 2021-07-28             0.10337838          7
## 105 McConnell Six Rd 05 2021-07-28             0.24142233         29
## 106          Pollard 10 2021-07-28             0.13349057          8
## 107        Pok amont 04 2021-07-28             0.15787120         11
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145          9
## 109             Malt 11 2021-08-31             0.13349057          5
## 110          Suggary 02 2021-08-31             0.17621145          5
## 111     Waugh sanct. 07 2021-08-31             0.05361791         14
## 112          Dempsey 12 2021-08-31             0.03149606         14
## 113 Branche sud aval 03 2021-08-31             0.03488996         20
## 114           Sewell 08 2021-08-31             0.03822314         24
## 115          Pollard 10 2021-08-31             0.02316602          8
## 116    br. sud amont 01 2021-08-31             0.04819864         12
## 117         Morrison 06 2021-08-31             0.12471091         18
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838          8
## 119 McConnell Six Rd 05 2021-08-31             0.24142233         37
## 120        Pok amont 04 2021-08-31             0.15787120         10
## 121          Suggary 02 2021-10-05             0.24142233          8
## 122         Morrison 06 2021-10-05             0.13349057         22
## 123             Malt 11 2021-10-05             0.15787120         66
## 124           Sewell 08 2021-10-05             0.17621145         47
## 125     Waugh sanct. 07 2021-10-05             0.05361791        190
## 126          Dempsey 12 2021-10-05             0.03149606         55
## 127 Branche sud aval 03 2021-10-05             0.03488996         38
## 128 McConnell Six Rd 05 2021-10-05             0.03822314        141
## 129          Pollard 10 2021-10-05             0.02316602         19
## 130    br. sud amont 01 2021-10-05             0.04819864         44
## 131        Pok amont 04 2021-10-05             0.12471091         21
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838         33
## 133             Malt 11 2021-10-28             0.10337838         47
## 134          Suggary 02 2021-10-28             0.24142233          5
## 135    br. sud amont 01 2021-10-28             0.13349057         32
## 136         Morrison 06 2021-10-28             0.03149606         13
## 137 Branche sud aval 03 2021-10-28             0.15787120         22
## 138           Sewell 08 2021-10-28             0.17621145         43
## 139     Waugh sanct. 07 2021-10-28             0.05361791        130
## 140          Dempsey 12 2021-10-28             0.04819864         33
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996         15
## 142 McConnell Six Rd 05 2021-10-28             0.03822314        107
## 143          Pollard 10 2021-10-28             0.02316602         12
## 144        Pok amont 04 2021-10-28             0.12471091         13
## 145          Pollard 10 2022-07-28             0.13349057          5
## 146         Morrison 06 2022-07-28             0.12471091          7
## 147             Malt 11 2022-07-28             0.10337838          6
## 148          Suggary 02 2022-07-28             0.24142233          5
## 149    br. sud amont 01 2022-07-28             0.05361791         26
## 150          Dempsey 12 2022-07-28             0.03149606         16
## 151 Branche sud aval 03 2022-07-28             0.15787120         18
## 152           Sewell 08 2022-07-28             0.17621145         33
## 153     Waugh sanct. 07 2022-07-28             0.02316602         27
## 154        Pok amont 04 2022-07-28             0.04819864          7
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996          5
## 156 McConnell Six Rd 05 2022-07-28             0.03822314         15
## 157 McConnell Six Rd 05 2022-09-01             0.24142233         48
## 158          Pollard 10 2022-09-01             0.13349057         23
## 159    br. sud amont 01 2022-09-01             0.04819864         23
## 160         Morrison 06 2022-09-01             0.12471091         15
## 161             Malt 11 2022-09-01             0.10337838         10
## 162          Suggary 02 2022-09-01             0.17621145          8
## 163     Waugh sanct. 07 2022-09-01             0.05361791         61
## 164          Dempsey 12 2022-09-01             0.03149606         21
## 165 Branche sud aval 03 2022-09-01             0.15787120         21
## 166           Sewell 08 2022-09-01             0.03822314         43
## 167        Pok amont 04 2022-09-01             0.02316602         14
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996         41
## 169           Sewell 08 2022-10-03             0.13349057         71
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838          8
## 171 McConnell Six Rd 05 2022-10-03             0.24142233        130
## 172          Pollard 10 2022-10-03             0.02316602         10
## 173    br. sud amont 01 2022-10-03             0.04819864         20
## 174         Morrison 06 2022-10-03             0.12471091         10
## 175             Malt 11 2022-10-03             0.15787120          5
## 176          Suggary 02 2022-10-03             0.17621145          5
## 177     Waugh sanct. 07 2022-10-03             0.05361791         53
## 178          Dempsey 12 2022-10-03             0.03149606         16
## 179 Branche sud aval 03 2022-10-03             0.03488996         17
## 180        Pok amont 04 2022-10-03             0.03822314         12
## 181 Branche sud aval 03 2022-11-01             0.24142233         25
## 182           Sewell 08 2022-11-01             0.13349057         60
## 183        Pok amont 04 2022-11-01             0.12471091         11
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838         21
## 185 McConnell Six Rd 05 2022-11-01             0.03822314        148
## 186          Pollard 10 2022-11-01             0.02316602         11
## 187    br. sud amont 01 2022-11-01             0.04819864         42
## 188         Morrison 06 2022-11-01             0.03149606         13
## 189             Malt 11 2022-11-01             0.15787120         22
## 190          Suggary 02 2022-11-01             0.17621145          9
## 191     Waugh sanct. 07 2022-11-01             0.05361791        143
## 192          Dempsey 12 2022-11-01             0.03488996         28
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Agriculture_vs_COT

#names(Pok2001.2022)

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctAGR_supdrainee_1990
## 1     br. sud amont 01 2001-08-01             0.03019261
## 2          Morrison 06 2001-08-01             0.03779528
## 3              Malt 11 2001-08-01             0.03059581
## 4           Suggary 02 2001-08-01             0.08780992
## 5      Waugh sanct. 07 2001-08-01             0.01351351
## 6           Dempsey 12 2001-08-01             0.03213242
## 7  Branche sud aval 03 2001-08-01             0.06642438
## 8            Sewell 08 2001-08-01             0.12364865
## 9         Pok amont 04 2001-08-01             0.18215845
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585
## 11 McConnell Six Rd 05 2001-08-01             0.14803220
## 12          Pollard 10 2001-08-01             0.19823789
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585
## 14          Pollard 10 2001-08-28             0.19823789
## 15    br. sud amont 01 2001-08-28             0.03019261
## 16         Morrison 06 2001-08-28             0.03779528
## 17             Malt 11 2001-08-28             0.03059581
## 18          Suggary 02 2001-08-28             0.08780992
## 19     Waugh sanct. 07 2001-08-28             0.01351351
## 20          Dempsey 12 2001-08-28             0.03213242
## 21 Branche sud aval 03 2001-08-28             0.06642438
## 22           Sewell 08 2001-08-28             0.12364865
## 23        Pok amont 04 2001-08-28             0.18215845
## 24 McConnell Six Rd 05 2001-08-28             0.14803220
## 25        Pok amont 04 2001-09-26             0.18215845
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585
## 27 McConnell Six Rd 05 2001-09-26             0.14803220
## 28          Pollard 10 2001-09-26             0.19823789
## 29    br. sud amont 01 2001-09-26             0.03019261
## 30         Morrison 06 2001-09-26             0.03779528
## 31             Malt 11 2001-09-26             0.03059581
## 32          Suggary 02 2001-09-26             0.08780992
## 33     Waugh sanct. 07 2001-09-26             0.01351351
## 34          Dempsey 12 2001-09-26             0.03213242
## 35 Branche sud aval 03 2001-09-26             0.06642438
## 36           Sewell 08 2001-09-26             0.12364865
## 37           Sewell 08 2001-10-31             0.12364865
## 38        Pok amont 04 2001-10-31             0.18215845
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585
## 40         Morrison 06 2001-10-31             0.03779528
## 41 McConnell Six Rd 05 2001-10-31             0.14803220
## 42          Pollard 10 2001-10-31             0.19823789
## 43    br. sud amont 01 2001-10-31             0.03019261
## 44          Dempsey 12 2001-10-31             0.03213242
## 45             Malt 11 2001-10-31             0.03059581
## 46          Suggary 02 2001-10-31             0.08780992
## 47     Waugh sanct. 07 2001-10-31             0.01351351
## 48 Branche sud aval 03 2001-10-31             0.06642438
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585
## 50 Branche sud aval 03 2002-07-29             0.06642438
## 51           Sewell 08 2002-07-29             0.12364865
## 52        Pok amont 04 2002-07-29             0.18215845
## 53    br. sud amont 01 2002-07-29             0.03019261
## 54         Morrison 06 2002-07-29             0.03779528
## 55 McConnell Six Rd 05 2002-07-29             0.14803220
## 56          Pollard 10 2002-07-29             0.19823789
## 57     Waugh sanct. 07 2002-07-29             0.01351351
## 58          Dempsey 12 2002-07-29             0.03213242
## 59             Malt 11 2002-07-29             0.03059581
## 60          Suggary 02 2002-07-29             0.08780992
## 61        Pok amont 04 2002-08-28             0.18215845
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585
## 63          Dempsey 12 2002-08-28             0.03213242
## 64 Branche sud aval 03 2002-08-28             0.06642438
## 65           Sewell 08 2002-08-28             0.12364865
## 66          Pollard 10 2002-08-28             0.19823789
## 67    br. sud amont 01 2002-08-28             0.03019261
## 68         Morrison 06 2002-08-28             0.03779528
## 69 McConnell Six Rd 05 2002-08-28             0.14803220
## 70          Suggary 02 2002-08-28             0.08780992
## 71     Waugh sanct. 07 2002-08-28             0.01351351
## 72             Malt 11 2002-08-28             0.03059581
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585
## 74           Sewell 08 2002-10-02             0.12364865
## 75        Pok amont 04 2002-10-02             0.18215845
## 76     Waugh sanct. 07 2002-10-02             0.01351351
## 77          Dempsey 12 2002-10-02             0.03213242
## 78 Branche sud aval 03 2002-10-02             0.06642438
## 79 McConnell Six Rd 05 2002-10-02             0.14803220
## 80          Pollard 10 2002-10-02             0.19823789
## 81    br. sud amont 01 2002-10-02             0.03019261
## 82         Morrison 06 2002-10-02             0.03779528
## 83             Malt 11 2002-10-02             0.03059581
## 84          Suggary 02 2002-10-02             0.08780992
## 85        Pok amont 04 2002-10-31             0.18215845
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585
## 87 Branche sud aval 03 2002-10-31             0.06642438
## 88           Sewell 08 2002-10-31             0.12364865
## 89          Suggary 02 2002-10-31             0.08780992
## 90     Waugh sanct. 07 2002-10-31             0.01351351
## 91          Dempsey 12 2002-10-31             0.03213242
## 92         Morrison 06 2002-10-31             0.03779528
## 93 McConnell Six Rd 05 2002-10-31             0.14803220
## 94          Pollard 10 2002-10-31             0.19823789
## 95    br. sud amont 01 2002-10-31             0.03019261
## 96             Malt 11 2002-10-31             0.03059581
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctAGR_supdrainee_2020
## 97           Suggary 02 2021-07-28             0.05361791
## 98           Dempsey 12 2021-07-28             0.03149606
## 99  Branche sud aval 03 2021-07-28             0.03488996
## 100           Sewell 08 2021-07-28             0.03822314
## 101     Waugh sanct. 07 2021-07-28             0.02316602
## 102    br. sud amont 01 2021-07-28             0.04819864
## 103         Morrison 06 2021-07-28             0.12471091
## 104             Malt 11 2021-07-28             0.10337838
## 105 McConnell Six Rd 05 2021-07-28             0.24142233
## 106          Pollard 10 2021-07-28             0.13349057
## 107        Pok amont 04 2021-07-28             0.15787120
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145
## 109             Malt 11 2021-08-31             0.13349057
## 110          Suggary 02 2021-08-31             0.17621145
## 111     Waugh sanct. 07 2021-08-31             0.05361791
## 112          Dempsey 12 2021-08-31             0.03149606
## 113 Branche sud aval 03 2021-08-31             0.03488996
## 114           Sewell 08 2021-08-31             0.03822314
## 115          Pollard 10 2021-08-31             0.02316602
## 116    br. sud amont 01 2021-08-31             0.04819864
## 117         Morrison 06 2021-08-31             0.12471091
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838
## 119 McConnell Six Rd 05 2021-08-31             0.24142233
## 120        Pok amont 04 2021-08-31             0.15787120
## 121          Suggary 02 2021-10-05             0.24142233
## 122         Morrison 06 2021-10-05             0.13349057
## 123             Malt 11 2021-10-05             0.15787120
## 124           Sewell 08 2021-10-05             0.17621145
## 125     Waugh sanct. 07 2021-10-05             0.05361791
## 126          Dempsey 12 2021-10-05             0.03149606
## 127 Branche sud aval 03 2021-10-05             0.03488996
## 128 McConnell Six Rd 05 2021-10-05             0.03822314
## 129          Pollard 10 2021-10-05             0.02316602
## 130    br. sud amont 01 2021-10-05             0.04819864
## 131        Pok amont 04 2021-10-05             0.12471091
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838
## 133             Malt 11 2021-10-28             0.10337838
## 134          Suggary 02 2021-10-28             0.24142233
## 135    br. sud amont 01 2021-10-28             0.13349057
## 136         Morrison 06 2021-10-28             0.03149606
## 137 Branche sud aval 03 2021-10-28             0.15787120
## 138           Sewell 08 2021-10-28             0.17621145
## 139     Waugh sanct. 07 2021-10-28             0.05361791
## 140          Dempsey 12 2021-10-28             0.04819864
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996
## 142 McConnell Six Rd 05 2021-10-28             0.03822314
## 143          Pollard 10 2021-10-28             0.02316602
## 144        Pok amont 04 2021-10-28             0.12471091
## 145          Pollard 10 2022-07-28             0.13349057
## 146         Morrison 06 2022-07-28             0.12471091
## 147             Malt 11 2022-07-28             0.10337838
## 148          Suggary 02 2022-07-28             0.24142233
## 149    br. sud amont 01 2022-07-28             0.05361791
## 150          Dempsey 12 2022-07-28             0.03149606
## 151 Branche sud aval 03 2022-07-28             0.15787120
## 152           Sewell 08 2022-07-28             0.17621145
## 153     Waugh sanct. 07 2022-07-28             0.02316602
## 154        Pok amont 04 2022-07-28             0.04819864
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996
## 156 McConnell Six Rd 05 2022-07-28             0.03822314
## 157 McConnell Six Rd 05 2022-09-01             0.24142233
## 158          Pollard 10 2022-09-01             0.13349057
## 159    br. sud amont 01 2022-09-01             0.04819864
## 160         Morrison 06 2022-09-01             0.12471091
## 161             Malt 11 2022-09-01             0.10337838
## 162          Suggary 02 2022-09-01             0.17621145
## 163     Waugh sanct. 07 2022-09-01             0.05361791
## 164          Dempsey 12 2022-09-01             0.03149606
## 165 Branche sud aval 03 2022-09-01             0.15787120
## 166           Sewell 08 2022-09-01             0.03822314
## 167        Pok amont 04 2022-09-01             0.02316602
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996
## 169           Sewell 08 2022-10-03             0.13349057
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838
## 171 McConnell Six Rd 05 2022-10-03             0.24142233
## 172          Pollard 10 2022-10-03             0.02316602
## 173    br. sud amont 01 2022-10-03             0.04819864
## 174         Morrison 06 2022-10-03             0.12471091
## 175             Malt 11 2022-10-03             0.15787120
## 176          Suggary 02 2022-10-03             0.17621145
## 177     Waugh sanct. 07 2022-10-03             0.05361791
## 178          Dempsey 12 2022-10-03             0.03149606
## 179 Branche sud aval 03 2022-10-03             0.03488996
## 180        Pok amont 04 2022-10-03             0.03822314
## 181 Branche sud aval 03 2022-11-01             0.24142233
## 182           Sewell 08 2022-11-01             0.13349057
## 183        Pok amont 04 2022-11-01             0.12471091
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838
## 185 McConnell Six Rd 05 2022-11-01             0.03822314
## 186          Pollard 10 2022-11-01             0.02316602
## 187    br. sud amont 01 2022-11-01             0.04819864
## 188         Morrison 06 2022-11-01             0.03149606
## 189             Malt 11 2022-11-01             0.15787120
## 190          Suggary 02 2022-11-01             0.17621145
## 191     Waugh sanct. 07 2022-11-01             0.05361791
## 192          Dempsey 12 2022-11-01             0.03488996
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les carbones organique totale et l'agriculture",
x="Agriculture (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Agriculture_vs_Coliforme

#names(Pok2001.2022)

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctAGR_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01             0.03019261                10
## 2          Morrison 06 2001-08-01             0.03779528                80
## 3              Malt 11 2001-08-01             0.03059581                30
## 4           Suggary 02 2001-08-01             0.08780992                10
## 5      Waugh sanct. 07 2001-08-01             0.01351351               270
## 6           Dempsey 12 2001-08-01             0.03213242                50
## 7  Branche sud aval 03 2001-08-01             0.06642438                10
## 8            Sewell 08 2001-08-01             0.12364865                20
## 9         Pok amont 04 2001-08-01             0.18215845                10
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585                10
## 11 McConnell Six Rd 05 2001-08-01             0.14803220                30
## 12          Pollard 10 2001-08-01             0.19823789               110
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585                10
## 14          Pollard 10 2001-08-28             0.19823789                50
## 15    br. sud amont 01 2001-08-28             0.03019261               120
## 16         Morrison 06 2001-08-28             0.03779528                90
## 17             Malt 11 2001-08-28             0.03059581                20
## 18          Suggary 02 2001-08-28             0.08780992                80
## 19     Waugh sanct. 07 2001-08-28             0.01351351               430
## 20          Dempsey 12 2001-08-28             0.03213242                20
## 21 Branche sud aval 03 2001-08-28             0.06642438               110
## 22           Sewell 08 2001-08-28             0.12364865               210
## 23        Pok amont 04 2001-08-28             0.18215845                10
## 24 McConnell Six Rd 05 2001-08-28             0.14803220               250
## 25        Pok amont 04 2001-09-26             0.18215845               530
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585               830
## 27 McConnell Six Rd 05 2001-09-26             0.14803220               120
## 28          Pollard 10 2001-09-26             0.19823789              1240
## 29    br. sud amont 01 2001-09-26             0.03019261              2000
## 30         Morrison 06 2001-09-26             0.03779528               220
## 31             Malt 11 2001-09-26             0.03059581               150
## 32          Suggary 02 2001-09-26             0.08780992               150
## 33     Waugh sanct. 07 2001-09-26             0.01351351               590
## 34          Dempsey 12 2001-09-26             0.03213242               150
## 35 Branche sud aval 03 2001-09-26             0.06642438               660
## 36           Sewell 08 2001-09-26             0.12364865               190
## 37           Sewell 08 2001-10-31             0.12364865               140
## 38        Pok amont 04 2001-10-31             0.18215845                20
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585                10
## 40         Morrison 06 2001-10-31             0.03779528                10
## 41 McConnell Six Rd 05 2001-10-31             0.14803220               310
## 42          Pollard 10 2001-10-31             0.19823789                50
## 43    br. sud amont 01 2001-10-31             0.03019261                20
## 44          Dempsey 12 2001-10-31             0.03213242                10
## 45             Malt 11 2001-10-31             0.03059581               100
## 46          Suggary 02 2001-10-31             0.08780992                30
## 47     Waugh sanct. 07 2001-10-31             0.01351351               480
## 48 Branche sud aval 03 2001-10-31             0.06642438                30
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585                10
## 50 Branche sud aval 03 2002-07-29             0.06642438                30
## 51           Sewell 08 2002-07-29             0.12364865                60
## 52        Pok amont 04 2002-07-29             0.18215845                10
## 53    br. sud amont 01 2002-07-29             0.03019261                20
## 54         Morrison 06 2002-07-29             0.03779528                10
## 55 McConnell Six Rd 05 2002-07-29             0.14803220                10
## 56          Pollard 10 2002-07-29             0.19823789               660
## 57     Waugh sanct. 07 2002-07-29             0.01351351                80
## 58          Dempsey 12 2002-07-29             0.03213242                25
## 59             Malt 11 2002-07-29             0.03059581                10
## 60          Suggary 02 2002-07-29             0.08780992                10
## 61        Pok amont 04 2002-08-28             0.18215845                30
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585                10
## 63          Dempsey 12 2002-08-28             0.03213242                10
## 64 Branche sud aval 03 2002-08-28             0.06642438                20
## 65           Sewell 08 2002-08-28             0.12364865                10
## 66          Pollard 10 2002-08-28             0.19823789               180
## 67    br. sud amont 01 2002-08-28             0.03019261                80
## 68         Morrison 06 2002-08-28             0.03779528                20
## 69 McConnell Six Rd 05 2002-08-28             0.14803220               310
## 70          Suggary 02 2002-08-28             0.08780992                15
## 71     Waugh sanct. 07 2002-08-28             0.01351351               410
## 72             Malt 11 2002-08-28             0.03059581                30
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585                10
## 74           Sewell 08 2002-10-02             0.12364865                25
## 75        Pok amont 04 2002-10-02             0.18215845                10
## 76     Waugh sanct. 07 2002-10-02             0.01351351               700
## 77          Dempsey 12 2002-10-02             0.03213242                30
## 78 Branche sud aval 03 2002-10-02             0.06642438                40
## 79 McConnell Six Rd 05 2002-10-02             0.14803220               150
## 80          Pollard 10 2002-10-02             0.19823789                10
## 81    br. sud amont 01 2002-10-02             0.03019261                20
## 82         Morrison 06 2002-10-02             0.03779528                10
## 83             Malt 11 2002-10-02             0.03059581                90
## 84          Suggary 02 2002-10-02             0.08780992                20
## 85        Pok amont 04 2002-10-31             0.18215845                10
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585                10
## 87 Branche sud aval 03 2002-10-31             0.06642438                10
## 88           Sewell 08 2002-10-31             0.12364865                10
## 89          Suggary 02 2002-10-31             0.08780992                50
## 90     Waugh sanct. 07 2002-10-31             0.01351351                40
## 91          Dempsey 12 2002-10-31             0.03213242                10
## 92         Morrison 06 2002-10-31             0.03779528                10
## 93 McConnell Six Rd 05 2002-10-31             0.14803220                30
## 94          Pollard 10 2002-10-31             0.19823789                10
## 95    br. sud amont 01 2002-10-31             0.03019261                10
## 96             Malt 11 2002-10-31             0.03059581                10
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctAGR_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28             0.05361791              20.0
## 98           Dempsey 12 2021-07-28             0.03149606              52.0
## 99  Branche sud aval 03 2021-07-28             0.03488996              74.0
## 100           Sewell 08 2021-07-28             0.03822314              98.0
## 101     Waugh sanct. 07 2021-07-28             0.02316602              52.0
## 102    br. sud amont 01 2021-07-28             0.04819864              75.0
## 103         Morrison 06 2021-07-28             0.12471091              30.0
## 104             Malt 11 2021-07-28             0.10337838              10.0
## 105 McConnell Six Rd 05 2021-07-28             0.24142233              75.0
## 106          Pollard 10 2021-07-28             0.13349057              98.0
## 107        Pok amont 04 2021-07-28             0.15787120              10.0
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145              20.0
## 109             Malt 11 2021-08-31             0.13349057              39.3
## 110          Suggary 02 2021-08-31             0.17621145             235.9
## 111     Waugh sanct. 07 2021-08-31             0.05361791              68.3
## 112          Dempsey 12 2021-08-31             0.03149606              49.6
## 113 Branche sud aval 03 2021-08-31             0.03488996              54.5
## 114           Sewell 08 2021-08-31             0.03822314             148.3
## 115          Pollard 10 2021-08-31             0.02316602             117.8
## 116    br. sud amont 01 2021-08-31             0.04819864              72.7
## 117         Morrison 06 2021-08-31             0.12471091              25.6
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838              67.7
## 119 McConnell Six Rd 05 2021-08-31             0.24142233              70.3
## 120        Pok amont 04 2021-08-31             0.15787120              15.6
## 121          Suggary 02 2021-10-05             0.24142233              41.7
## 122         Morrison 06 2021-10-05             0.13349057              24.6
## 123             Malt 11 2021-10-05             0.15787120              47.1
## 124           Sewell 08 2021-10-05             0.17621145             135.4
## 125     Waugh sanct. 07 2021-10-05             0.05361791              29.5
## 126          Dempsey 12 2021-10-05             0.03149606              54.8
## 127 Branche sud aval 03 2021-10-05             0.03488996              37.3
## 128 McConnell Six Rd 05 2021-10-05             0.03822314              95.9
## 129          Pollard 10 2021-10-05             0.02316602              62.7
## 130    br. sud amont 01 2021-10-05             0.04819864              35.5
## 131        Pok amont 04 2021-10-05             0.12471091              10.8
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838              27.5
## 133             Malt 11 2021-10-28             0.10337838              16.0
## 134          Suggary 02 2021-10-28             0.24142233               7.4
## 135    br. sud amont 01 2021-10-28             0.13349057              19.9
## 136         Morrison 06 2021-10-28             0.03149606              12.1
## 137 Branche sud aval 03 2021-10-28             0.15787120              39.9
## 138           Sewell 08 2021-10-28             0.17621145              48.1
## 139     Waugh sanct. 07 2021-10-28             0.05361791              38.4
## 140          Dempsey 12 2021-10-28             0.04819864              52.0
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996              24.3
## 142 McConnell Six Rd 05 2021-10-28             0.03822314              29.5
## 143          Pollard 10 2021-10-28             0.02316602              34.5
## 144        Pok amont 04 2021-10-28             0.12471091              14.6
## 145          Pollard 10 2022-07-28             0.13349057              57.6
## 146         Morrison 06 2022-07-28             0.12471091             133.4
## 147             Malt 11 2022-07-28             0.10337838              70.3
## 148          Suggary 02 2022-07-28             0.24142233              27.5
## 149    br. sud amont 01 2022-07-28             0.05361791              32.7
## 150          Dempsey 12 2022-07-28             0.03149606              41.7
## 151 Branche sud aval 03 2022-07-28             0.15787120              59.8
## 152           Sewell 08 2022-07-28             0.17621145              90.6
## 153     Waugh sanct. 07 2022-07-28             0.02316602              93.3
## 154        Pok amont 04 2022-07-28             0.04819864              77.1
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996              22.8
## 156 McConnell Six Rd 05 2022-07-28             0.03822314             488.4
## 157 McConnell Six Rd 05 2022-09-01             0.24142233              82.0
## 158          Pollard 10 2022-09-01             0.13349057            1046.2
## 159    br. sud amont 01 2022-09-01             0.04819864             114.5
## 160         Morrison 06 2022-09-01             0.12471091             686.7
## 161             Malt 11 2022-09-01             0.10337838              69.1
## 162          Suggary 02 2022-09-01             0.17621145              40.2
## 163     Waugh sanct. 07 2022-09-01             0.05361791              88.0
## 164          Dempsey 12 2022-09-01             0.03149606             248.1
## 165 Branche sud aval 03 2022-09-01             0.15787120              70.3
## 166           Sewell 08 2022-09-01             0.03822314             172.2
## 167        Pok amont 04 2022-09-01             0.02316602               5.2
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996             121.1
## 169           Sewell 08 2022-10-03             0.13349057              48.8
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838              44.1
## 171 McConnell Six Rd 05 2022-10-03             0.24142233              59.1
## 172          Pollard 10 2022-10-03             0.02316602              24.1
## 173    br. sud amont 01 2022-10-03             0.04819864              57.6
## 174         Morrison 06 2022-10-03             0.12471091              47.4
## 175             Malt 11 2022-10-03             0.15787120               5.2
## 176          Suggary 02 2022-10-03             0.17621145               9.7
## 177     Waugh sanct. 07 2022-10-03             0.05361791              65.7
## 178          Dempsey 12 2022-10-03             0.03149606              48.0
## 179 Branche sud aval 03 2022-10-03             0.03488996              13.4
## 180        Pok amont 04 2022-10-03             0.03822314               8.4
## 181 Branche sud aval 03 2022-11-01             0.24142233              24.6
## 182           Sewell 08 2022-11-01             0.13349057             115.3
## 183        Pok amont 04 2022-11-01             0.12471091               5.2
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838               3.1
## 185 McConnell Six Rd 05 2022-11-01             0.03822314              72.3
## 186          Pollard 10 2022-11-01             0.02316602              20.3
## 187    br. sud amont 01 2022-11-01             0.04819864              37.3
## 188         Morrison 06 2022-11-01             0.03149606              39.9
## 189             Malt 11 2022-11-01             0.15787120              45.0
## 190          Suggary 02 2022-11-01             0.17621145               8.5
## 191     Waugh sanct. 07 2022-11-01             0.05361791             249.5
## 192          Dempsey 12 2022-11-01             0.03488996              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=E.coli_MPN_100.mL,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=E.coli_MPN_100.mL),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

#Agriculture_vs_Phosphore

#names(Pok2001.2022)

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctAGR_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01             0.03019261                0.0080
## 2          Morrison 06 2001-08-01             0.03779528                0.0080
## 3              Malt 11 2001-08-01             0.03059581                0.0110
## 4           Suggary 02 2001-08-01             0.08780992                0.0090
## 5      Waugh sanct. 07 2001-08-01             0.01351351                0.0150
## 6           Dempsey 12 2001-08-01             0.03213242                0.0140
## 7  Branche sud aval 03 2001-08-01             0.06642438                0.0080
## 8            Sewell 08 2001-08-01             0.12364865                0.0110
## 9         Pok amont 04 2001-08-01             0.18215845                0.0110
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585                0.0090
## 11 McConnell Six Rd 05 2001-08-01             0.14803220                0.0160
## 12          Pollard 10 2001-08-01             0.19823789                0.0150
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585                0.0070
## 14          Pollard 10 2001-08-28             0.19823789                0.0170
## 15    br. sud amont 01 2001-08-28             0.03019261                0.0060
## 16         Morrison 06 2001-08-28             0.03779528                0.0080
## 17             Malt 11 2001-08-28             0.03059581                0.0080
## 18          Suggary 02 2001-08-28             0.08780992                0.0080
## 19     Waugh sanct. 07 2001-08-28             0.01351351                0.0090
## 20          Dempsey 12 2001-08-28             0.03213242                0.0110
## 21 Branche sud aval 03 2001-08-28             0.06642438                0.0070
## 22           Sewell 08 2001-08-28             0.12364865                0.0170
## 23        Pok amont 04 2001-08-28             0.18215845                0.0060
## 24 McConnell Six Rd 05 2001-08-28             0.14803220                0.0130
## 25        Pok amont 04 2001-09-26             0.18215845                0.0130
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585                0.0140
## 27 McConnell Six Rd 05 2001-09-26             0.14803220                0.0130
## 28          Pollard 10 2001-09-26             0.19823789                0.0155
## 29    br. sud amont 01 2001-09-26             0.03019261                0.0130
## 30         Morrison 06 2001-09-26             0.03779528                0.0080
## 31             Malt 11 2001-09-26             0.03059581                0.0120
## 32          Suggary 02 2001-09-26             0.08780992                0.0090
## 33     Waugh sanct. 07 2001-09-26             0.01351351                0.0140
## 34          Dempsey 12 2001-09-26             0.03213242                0.0190
## 35 Branche sud aval 03 2001-09-26             0.06642438                0.0090
## 36           Sewell 08 2001-09-26             0.12364865                0.0120
## 37           Sewell 08 2001-10-31             0.12364865                0.0120
## 38        Pok amont 04 2001-10-31             0.18215845                0.0050
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585                0.0050
## 40         Morrison 06 2001-10-31             0.03779528                0.0060
## 41 McConnell Six Rd 05 2001-10-31             0.14803220                0.0110
## 42          Pollard 10 2001-10-31             0.19823789                0.0080
## 43    br. sud amont 01 2001-10-31             0.03019261                0.0050
## 44          Dempsey 12 2001-10-31             0.03213242                0.0090
## 45             Malt 11 2001-10-31             0.03059581                0.0070
## 46          Suggary 02 2001-10-31             0.08780992                0.0080
## 47     Waugh sanct. 07 2001-10-31             0.01351351                0.0120
## 48 Branche sud aval 03 2001-10-31             0.06642438                0.0050
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585                0.0050
## 50 Branche sud aval 03 2002-07-29             0.06642438                0.0070
## 51           Sewell 08 2002-07-29             0.12364865                0.0200
## 52        Pok amont 04 2002-07-29             0.18215845                0.0060
## 53    br. sud amont 01 2002-07-29             0.03019261                0.0060
## 54         Morrison 06 2002-07-29             0.03779528                0.0080
## 55 McConnell Six Rd 05 2002-07-29             0.14803220                0.0130
## 56          Pollard 10 2002-07-29             0.19823789                0.0230
## 57     Waugh sanct. 07 2002-07-29             0.01351351                0.0120
## 58          Dempsey 12 2002-07-29             0.03213242                0.0100
## 59             Malt 11 2002-07-29             0.03059581                0.0090
## 60          Suggary 02 2002-07-29             0.08780992                0.0070
## 61        Pok amont 04 2002-08-28             0.18215845                0.0100
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585                0.0090
## 63          Dempsey 12 2002-08-28             0.03213242                0.0130
## 64 Branche sud aval 03 2002-08-28             0.06642438                0.0080
## 65           Sewell 08 2002-08-28             0.12364865                0.0100
## 66          Pollard 10 2002-08-28             0.19823789                0.0160
## 67    br. sud amont 01 2002-08-28             0.03019261                0.0070
## 68         Morrison 06 2002-08-28             0.03779528                0.0090
## 69 McConnell Six Rd 05 2002-08-28             0.14803220                0.0140
## 70          Suggary 02 2002-08-28             0.08780992                0.0100
## 71     Waugh sanct. 07 2002-08-28             0.01351351                0.0130
## 72             Malt 11 2002-08-28             0.03059581                0.0110
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585                0.0070
## 74           Sewell 08 2002-10-02             0.12364865                0.0155
## 75        Pok amont 04 2002-10-02             0.18215845                0.0060
## 76     Waugh sanct. 07 2002-10-02             0.01351351                0.0090
## 77          Dempsey 12 2002-10-02             0.03213242                0.0120
## 78 Branche sud aval 03 2002-10-02             0.06642438                0.0080
## 79 McConnell Six Rd 05 2002-10-02             0.14803220                0.0110
## 80          Pollard 10 2002-10-02             0.19823789                0.0110
## 81    br. sud amont 01 2002-10-02             0.03019261                0.0050
## 82         Morrison 06 2002-10-02             0.03779528                0.0050
## 83             Malt 11 2002-10-02             0.03059581                0.0080
## 84          Suggary 02 2002-10-02             0.08780992                0.0070
## 85        Pok amont 04 2002-10-31             0.18215845                0.0060
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585                0.0050
## 87 Branche sud aval 03 2002-10-31             0.06642438                0.0050
## 88           Sewell 08 2002-10-31             0.12364865                0.0130
## 89          Suggary 02 2002-10-31             0.08780992                0.0050
## 90     Waugh sanct. 07 2002-10-31             0.01351351                0.0080
## 91          Dempsey 12 2002-10-31             0.03213242                0.0080
## 92         Morrison 06 2002-10-31             0.03779528                0.0050
## 93 McConnell Six Rd 05 2002-10-31             0.14803220                0.0090
## 94          Pollard 10 2002-10-31             0.19823789                0.0060
## 95    br. sud amont 01 2002-10-31             0.03019261                0.0065
## 96             Malt 11 2002-10-31             0.03059581                0.0050
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctAGR_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28             0.05361791                 0.018
## 98           Dempsey 12 2021-07-28             0.03149606                 0.024
## 99  Branche sud aval 03 2021-07-28             0.03488996                 0.022
## 100           Sewell 08 2021-07-28             0.03822314                 0.028
## 101     Waugh sanct. 07 2021-07-28             0.02316602                 0.017
## 102    br. sud amont 01 2021-07-28             0.04819864                 0.016
## 103         Morrison 06 2021-07-28             0.12471091                 0.019
## 104             Malt 11 2021-07-28             0.10337838                 0.014
## 105 McConnell Six Rd 05 2021-07-28             0.24142233                 0.026
## 106          Pollard 10 2021-07-28             0.13349057                 0.051
## 107        Pok amont 04 2021-07-28             0.15787120                 0.022
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145                 0.014
## 109             Malt 11 2021-08-31             0.13349057                 0.005
## 110          Suggary 02 2021-08-31             0.17621145                 0.011
## 111     Waugh sanct. 07 2021-08-31             0.05361791                 0.006
## 112          Dempsey 12 2021-08-31             0.03149606                 0.014
## 113 Branche sud aval 03 2021-08-31             0.03488996                 0.009
## 114           Sewell 08 2021-08-31             0.03822314                 0.015
## 115          Pollard 10 2021-08-31             0.02316602                 0.073
## 116    br. sud amont 01 2021-08-31             0.04819864                 0.016
## 117         Morrison 06 2021-08-31             0.12471091                 0.016
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838                 0.012
## 119 McConnell Six Rd 05 2021-08-31             0.24142233                 0.029
## 120        Pok amont 04 2021-08-31             0.15787120                 0.008
## 121          Suggary 02 2021-10-05             0.24142233                 0.007
## 122         Morrison 06 2021-10-05             0.13349057                 0.010
## 123             Malt 11 2021-10-05             0.15787120                 0.012
## 124           Sewell 08 2021-10-05             0.17621145                 0.024
## 125     Waugh sanct. 07 2021-10-05             0.05361791                 0.019
## 126          Dempsey 12 2021-10-05             0.03149606                 0.018
## 127 Branche sud aval 03 2021-10-05             0.03488996                 0.015
## 128 McConnell Six Rd 05 2021-10-05             0.03822314                 0.025
## 129          Pollard 10 2021-10-05             0.02316602                 0.037
## 130    br. sud amont 01 2021-10-05             0.04819864                 0.019
## 131        Pok amont 04 2021-10-05             0.12471091                 0.008
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838                 0.011
## 133             Malt 11 2021-10-28             0.10337838                 0.009
## 134          Suggary 02 2021-10-28             0.24142233                 0.009
## 135    br. sud amont 01 2021-10-28             0.13349057                 0.013
## 136         Morrison 06 2021-10-28             0.03149606                 0.011
## 137 Branche sud aval 03 2021-10-28             0.15787120                 0.022
## 138           Sewell 08 2021-10-28             0.17621145                 0.020
## 139     Waugh sanct. 07 2021-10-28             0.05361791                 0.018
## 140          Dempsey 12 2021-10-28             0.04819864                 0.015
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996                 0.010
## 142 McConnell Six Rd 05 2021-10-28             0.03822314                 0.018
## 143          Pollard 10 2021-10-28             0.02316602                 0.033
## 144        Pok amont 04 2021-10-28             0.12471091                 0.013
## 145          Pollard 10 2022-07-28             0.13349057                 0.034
## 146         Morrison 06 2022-07-28             0.12471091                 0.014
## 147             Malt 11 2022-07-28             0.10337838                 0.008
## 148          Suggary 02 2022-07-28             0.24142233                 0.009
## 149    br. sud amont 01 2022-07-28             0.05361791                 0.016
## 150          Dempsey 12 2022-07-28             0.03149606                 0.017
## 151 Branche sud aval 03 2022-07-28             0.15787120                 0.013
## 152           Sewell 08 2022-07-28             0.17621145                 0.019
## 153     Waugh sanct. 07 2022-07-28             0.02316602                 0.011
## 154        Pok amont 04 2022-07-28             0.04819864                 0.009
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996                 0.009
## 156 McConnell Six Rd 05 2022-07-28             0.03822314                 0.019
## 157 McConnell Six Rd 05 2022-09-01             0.24142233                 0.024
## 158          Pollard 10 2022-09-01             0.13349057                 0.075
## 159    br. sud amont 01 2022-09-01             0.04819864                 0.015
## 160         Morrison 06 2022-09-01             0.12471091                 0.021
## 161             Malt 11 2022-09-01             0.10337838                 0.008
## 162          Suggary 02 2022-09-01             0.17621145                 0.010
## 163     Waugh sanct. 07 2022-09-01             0.05361791                 0.021
## 164          Dempsey 12 2022-09-01             0.03149606                 0.021
## 165 Branche sud aval 03 2022-09-01             0.15787120                 0.016
## 166           Sewell 08 2022-09-01             0.03822314                 0.019
## 167        Pok amont 04 2022-09-01             0.02316602                 0.010
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996                 0.012
## 169           Sewell 08 2022-10-03             0.13349057                 0.016
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838                 0.019
## 171 McConnell Six Rd 05 2022-10-03             0.24142233                 0.022
## 172          Pollard 10 2022-10-03             0.02316602                 0.049
## 173    br. sud amont 01 2022-10-03             0.04819864                 0.016
## 174         Morrison 06 2022-10-03             0.12471091                 0.014
## 175             Malt 11 2022-10-03             0.15787120                 0.007
## 176          Suggary 02 2022-10-03             0.17621145                 0.005
## 177     Waugh sanct. 07 2022-10-03             0.05361791                 0.013
## 178          Dempsey 12 2022-10-03             0.03149606                 0.013
## 179 Branche sud aval 03 2022-10-03             0.03488996                 0.009
## 180        Pok amont 04 2022-10-03             0.03822314                 0.013
## 181 Branche sud aval 03 2022-11-01             0.24142233                 0.013
## 182           Sewell 08 2022-11-01             0.13349057                 0.021
## 183        Pok amont 04 2022-11-01             0.12471091                 0.011
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838                 0.017
## 185 McConnell Six Rd 05 2022-11-01             0.03822314                 0.020
## 186          Pollard 10 2022-11-01             0.02316602                 0.041
## 187    br. sud amont 01 2022-11-01             0.04819864                 0.020
## 188         Morrison 06 2022-11-01             0.03149606                 0.018
## 189             Malt 11 2022-11-01             0.15787120                 0.009
## 190          Suggary 02 2022-11-01             0.17621145                 0.010
## 191     Waugh sanct. 07 2022-11-01             0.05361791                 0.017
## 192          Dempsey 12 2022-11-01             0.03488996                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et l'agriculture en 1990",
x="Agriculture (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

#Agriculture_vs_Nitrate

#names(Pok2001.2022)

Period1$pctAGR_supdrainee_1990 = Period1$AGR_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctAGR_supdrainee_2020 = Period1$AGR_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv


subset(Period1, select=c(Station2, Date, pctAGR_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctAGR_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01             0.03019261            0.0500
## 2          Morrison 06 2001-08-01             0.03779528            0.0940
## 3              Malt 11 2001-08-01             0.03059581            0.0500
## 4           Suggary 02 2001-08-01             0.08780992            0.0500
## 5      Waugh sanct. 07 2001-08-01             0.01351351            0.0500
## 6           Dempsey 12 2001-08-01             0.03213242            0.0500
## 7  Branche sud aval 03 2001-08-01             0.06642438            0.0500
## 8            Sewell 08 2001-08-01             0.12364865            0.1360
## 9         Pok amont 04 2001-08-01             0.18215845            0.0500
## 10 Trout Val-Doucet 09 2001-08-01             0.06273585            0.0500
## 11 McConnell Six Rd 05 2001-08-01             0.14803220            0.2510
## 12          Pollard 10 2001-08-01             0.19823789            0.2600
## 13 Trout Val-Doucet 09 2001-08-28             0.06273585            0.0500
## 14          Pollard 10 2001-08-28             0.19823789            0.3010
## 15    br. sud amont 01 2001-08-28             0.03019261            0.0500
## 16         Morrison 06 2001-08-28             0.03779528            0.0910
## 17             Malt 11 2001-08-28             0.03059581            0.0500
## 18          Suggary 02 2001-08-28             0.08780992            0.0500
## 19     Waugh sanct. 07 2001-08-28             0.01351351            0.0500
## 20          Dempsey 12 2001-08-28             0.03213242            0.0500
## 21 Branche sud aval 03 2001-08-28             0.06642438            0.0500
## 22           Sewell 08 2001-08-28             0.12364865            0.1330
## 23        Pok amont 04 2001-08-28             0.18215845            0.0500
## 24 McConnell Six Rd 05 2001-08-28             0.14803220            0.2810
## 25        Pok amont 04 2001-09-26             0.18215845            0.0500
## 26 Trout Val-Doucet 09 2001-09-26             0.06273585            0.0500
## 27 McConnell Six Rd 05 2001-09-26             0.14803220            0.2110
## 28          Pollard 10 2001-09-26             0.19823789            0.1845
## 29    br. sud amont 01 2001-09-26             0.03019261            0.0770
## 30         Morrison 06 2001-09-26             0.03779528            0.0500
## 31             Malt 11 2001-09-26             0.03059581            0.0500
## 32          Suggary 02 2001-09-26             0.08780992            0.0500
## 33     Waugh sanct. 07 2001-09-26             0.01351351            0.0500
## 34          Dempsey 12 2001-09-26             0.03213242            0.0500
## 35 Branche sud aval 03 2001-09-26             0.06642438            0.0500
## 36           Sewell 08 2001-09-26             0.12364865            0.0500
## 37           Sewell 08 2001-10-31             0.12364865            0.0500
## 38        Pok amont 04 2001-10-31             0.18215845            0.0500
## 39 Trout Val-Doucet 09 2001-10-31             0.06273585            0.0500
## 40         Morrison 06 2001-10-31             0.03779528            0.0500
## 41 McConnell Six Rd 05 2001-10-31             0.14803220            0.0500
## 42          Pollard 10 2001-10-31             0.19823789            0.2300
## 43    br. sud amont 01 2001-10-31             0.03019261            0.0500
## 44          Dempsey 12 2001-10-31             0.03213242            0.0500
## 45             Malt 11 2001-10-31             0.03059581            0.0500
## 46          Suggary 02 2001-10-31             0.08780992            0.0500
## 47     Waugh sanct. 07 2001-10-31             0.01351351            0.0500
## 48 Branche sud aval 03 2001-10-31             0.06642438            0.0500
## 49 Trout Val-Doucet 09 2002-07-29             0.06273585            0.0500
## 50 Branche sud aval 03 2002-07-29             0.06642438            0.0500
## 51           Sewell 08 2002-07-29             0.12364865            0.2200
## 52        Pok amont 04 2002-07-29             0.18215845            0.0700
## 53    br. sud amont 01 2002-07-29             0.03019261            0.0500
## 54         Morrison 06 2002-07-29             0.03779528            0.0700
## 55 McConnell Six Rd 05 2002-07-29             0.14803220            0.2800
## 56          Pollard 10 2002-07-29             0.19823789            0.3300
## 57     Waugh sanct. 07 2002-07-29             0.01351351            0.0500
## 58          Dempsey 12 2002-07-29             0.03213242            0.0500
## 59             Malt 11 2002-07-29             0.03059581            0.0500
## 60          Suggary 02 2002-07-29             0.08780992            0.1900
## 61        Pok amont 04 2002-08-28             0.18215845            0.0700
## 62 Trout Val-Doucet 09 2002-08-28             0.06273585            0.0500
## 63          Dempsey 12 2002-08-28             0.03213242            0.0500
## 64 Branche sud aval 03 2002-08-28             0.06642438            0.0500
## 65           Sewell 08 2002-08-28             0.12364865            0.0500
## 66          Pollard 10 2002-08-28             0.19823789            0.1800
## 67    br. sud amont 01 2002-08-28             0.03019261            0.0500
## 68         Morrison 06 2002-08-28             0.03779528            0.0700
## 69 McConnell Six Rd 05 2002-08-28             0.14803220            0.3000
## 70          Suggary 02 2002-08-28             0.08780992            0.1750
## 71     Waugh sanct. 07 2002-08-28             0.01351351            0.0500
## 72             Malt 11 2002-08-28             0.03059581            0.0500
## 73 Trout Val-Doucet 09 2002-10-02             0.06273585            0.0500
## 74           Sewell 08 2002-10-02             0.12364865            0.0500
## 75        Pok amont 04 2002-10-02             0.18215845            0.0500
## 76     Waugh sanct. 07 2002-10-02             0.01351351            0.0500
## 77          Dempsey 12 2002-10-02             0.03213242            0.0500
## 78 Branche sud aval 03 2002-10-02             0.06642438            0.0500
## 79 McConnell Six Rd 05 2002-10-02             0.14803220            0.1900
## 80          Pollard 10 2002-10-02             0.19823789            0.1300
## 81    br. sud amont 01 2002-10-02             0.03019261            0.0500
## 82         Morrison 06 2002-10-02             0.03779528            0.0500
## 83             Malt 11 2002-10-02             0.03059581            0.0500
## 84          Suggary 02 2002-10-02             0.08780992            0.1300
## 85        Pok amont 04 2002-10-31             0.18215845            0.0500
## 86 Trout Val-Doucet 09 2002-10-31             0.06273585            0.0500
## 87 Branche sud aval 03 2002-10-31             0.06642438            0.0500
## 88           Sewell 08 2002-10-31             0.12364865            0.2300
## 89          Suggary 02 2002-10-31             0.08780992            0.1500
## 90     Waugh sanct. 07 2002-10-31             0.01351351            0.0800
## 91          Dempsey 12 2002-10-31             0.03213242            0.0500
## 92         Morrison 06 2002-10-31             0.03779528            0.0700
## 93 McConnell Six Rd 05 2002-10-31             0.14803220            0.2200
## 94          Pollard 10 2002-10-31             0.19823789            0.1900
## 95    br. sud amont 01 2002-10-31             0.03019261            0.0500
## 96             Malt 11 2002-10-31             0.03059581            0.1300
subset(Period2, select=c(Station2, Date, pctAGR_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctAGR_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28             0.05361791              0.11
## 98           Dempsey 12 2021-07-28             0.03149606              0.08
## 99  Branche sud aval 03 2021-07-28             0.03488996              0.05
## 100           Sewell 08 2021-07-28             0.03822314              0.17
## 101     Waugh sanct. 07 2021-07-28             0.02316602              0.06
## 102    br. sud amont 01 2021-07-28             0.04819864              0.08
## 103         Morrison 06 2021-07-28             0.12471091              0.05
## 104             Malt 11 2021-07-28             0.10337838              0.06
## 105 McConnell Six Rd 05 2021-07-28             0.24142233              0.21
## 106          Pollard 10 2021-07-28             0.13349057              0.40
## 107        Pok amont 04 2021-07-28             0.15787120              0.12
## 108 Trout Val-Doucet 09 2021-07-28             0.17621145              0.18
## 109             Malt 11 2021-08-31             0.13349057              0.06
## 110          Suggary 02 2021-08-31             0.17621145              0.12
## 111     Waugh sanct. 07 2021-08-31             0.05361791              0.05
## 112          Dempsey 12 2021-08-31             0.03149606              0.08
## 113 Branche sud aval 03 2021-08-31             0.03488996              0.06
## 114           Sewell 08 2021-08-31             0.03822314              0.12
## 115          Pollard 10 2021-08-31             0.02316602              0.32
## 116    br. sud amont 01 2021-08-31             0.04819864              0.05
## 117         Morrison 06 2021-08-31             0.12471091              0.05
## 118 Trout Val-Doucet 09 2021-08-31             0.10337838              0.14
## 119 McConnell Six Rd 05 2021-08-31             0.24142233              0.21
## 120        Pok amont 04 2021-08-31             0.15787120              0.10
## 121          Suggary 02 2021-10-05             0.24142233              0.17
## 122         Morrison 06 2021-10-05             0.13349057              0.06
## 123             Malt 11 2021-10-05             0.15787120              0.12
## 124           Sewell 08 2021-10-05             0.17621145              0.13
## 125     Waugh sanct. 07 2021-10-05             0.05361791              0.05
## 126          Dempsey 12 2021-10-05             0.03149606              0.09
## 127 Branche sud aval 03 2021-10-05             0.03488996              0.05
## 128 McConnell Six Rd 05 2021-10-05             0.03822314              0.33
## 129          Pollard 10 2021-10-05             0.02316602              0.38
## 130    br. sud amont 01 2021-10-05             0.04819864              0.05
## 131        Pok amont 04 2021-10-05             0.12471091              0.11
## 132 Trout Val-Doucet 09 2021-10-05             0.10337838              0.22
## 133             Malt 11 2021-10-28             0.10337838              0.07
## 134          Suggary 02 2021-10-28             0.24142233              0.15
## 135    br. sud amont 01 2021-10-28             0.13349057              0.05
## 136         Morrison 06 2021-10-28             0.03149606              0.08
## 137 Branche sud aval 03 2021-10-28             0.15787120              0.07
## 138           Sewell 08 2021-10-28             0.17621145              0.14
## 139     Waugh sanct. 07 2021-10-28             0.05361791              0.05
## 140          Dempsey 12 2021-10-28             0.04819864              0.10
## 141 Trout Val-Doucet 09 2021-10-28             0.03488996              0.27
## 142 McConnell Six Rd 05 2021-10-28             0.03822314              0.36
## 143          Pollard 10 2021-10-28             0.02316602              0.38
## 144        Pok amont 04 2021-10-28             0.12471091              0.13
## 145          Pollard 10 2022-07-28             0.13349057              0.40
## 146         Morrison 06 2022-07-28             0.12471091              0.08
## 147             Malt 11 2022-07-28             0.10337838              0.06
## 148          Suggary 02 2022-07-28             0.24142233              0.11
## 149    br. sud amont 01 2022-07-28             0.05361791              0.05
## 150          Dempsey 12 2022-07-28             0.03149606              0.11
## 151 Branche sud aval 03 2022-07-28             0.15787120              0.07
## 152           Sewell 08 2022-07-28             0.17621145              0.17
## 153     Waugh sanct. 07 2022-07-28             0.02316602              0.05
## 154        Pok amont 04 2022-07-28             0.04819864              0.07
## 155 Trout Val-Doucet 09 2022-07-28             0.03488996              0.15
## 156 McConnell Six Rd 05 2022-07-28             0.03822314              0.36
## 157 McConnell Six Rd 05 2022-09-01             0.24142233              0.26
## 158          Pollard 10 2022-09-01             0.13349057              0.53
## 159    br. sud amont 01 2022-09-01             0.04819864              0.05
## 160         Morrison 06 2022-09-01             0.12471091              0.06
## 161             Malt 11 2022-09-01             0.10337838              0.10
## 162          Suggary 02 2022-09-01             0.17621145              0.13
## 163     Waugh sanct. 07 2022-09-01             0.05361791              0.10
## 164          Dempsey 12 2022-09-01             0.03149606              0.15
## 165 Branche sud aval 03 2022-09-01             0.15787120              0.06
## 166           Sewell 08 2022-09-01             0.03822314              0.17
## 167        Pok amont 04 2022-09-01             0.02316602              0.06
## 168 Trout Val-Doucet 09 2022-09-01             0.03488996              0.12
## 169           Sewell 08 2022-10-03             0.13349057              0.08
## 170 Trout Val-Doucet 09 2022-10-03             0.10337838              0.11
## 171 McConnell Six Rd 05 2022-10-03             0.24142233              0.27
## 172          Pollard 10 2022-10-03             0.02316602              0.50
## 173    br. sud amont 01 2022-10-03             0.04819864              0.06
## 174         Morrison 06 2022-10-03             0.12471091              0.05
## 175             Malt 11 2022-10-03             0.15787120              0.06
## 176          Suggary 02 2022-10-03             0.17621145              0.15
## 177     Waugh sanct. 07 2022-10-03             0.05361791              0.09
## 178          Dempsey 12 2022-10-03             0.03149606              0.09
## 179 Branche sud aval 03 2022-10-03             0.03488996              0.05
## 180        Pok amont 04 2022-10-03             0.03822314              0.05
## 181 Branche sud aval 03 2022-11-01             0.24142233              0.05
## 182           Sewell 08 2022-11-01             0.13349057              0.15
## 183        Pok amont 04 2022-11-01             0.12471091              0.07
## 184 Trout Val-Doucet 09 2022-11-01             0.10337838              0.14
## 185 McConnell Six Rd 05 2022-11-01             0.03822314              0.25
## 186          Pollard 10 2022-11-01             0.02316602              0.54
## 187    br. sud amont 01 2022-11-01             0.04819864              0.07
## 188         Morrison 06 2022-11-01             0.03149606              0.09
## 189             Malt 11 2022-11-01             0.15787120              0.07
## 190          Suggary 02 2022-11-01             0.17621145              0.16
## 191     Waugh sanct. 07 2022-11-01             0.05361791              0.06
## 192          Dempsey 12 2022-11-01             0.03488996              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctAGR_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctAGR_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="titre en commentaire",
x="Agriculture (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

IND: zone industriel

# Crée la variable pourcentage


Period1$pctIND_supdrainee_1990 = Period1$IND_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctIND_supdrainee_2020 = Period1$IND_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Zone_industriel_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctIND_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01           0.0000000000              11.5
## 2          Morrison 06 2001-08-01           0.0000000000              10.2
## 3              Malt 11 2001-08-01           0.0016103060              25.2
## 4           Suggary 02 2001-08-01           0.0020661157              14.4
## 5      Waugh sanct. 07 2001-08-01           0.0011583012              10.8
## 6           Dempsey 12 2001-08-01           0.0058422590              20.4
## 7  Branche sud aval 03 2001-08-01           0.0002668379              13.5
## 8            Sewell 08 2001-08-01           0.0060810811              12.8
## 9         Pok amont 04 2001-08-01           0.0006238303              11.4
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868              14.5
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991               9.0
## 12          Pollard 10 2001-08-01           0.0007342144              15.1
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868               9.3
## 14          Pollard 10 2001-08-28           0.0007342144              12.0
## 15    br. sud amont 01 2001-08-28           0.0000000000              10.0
## 16         Morrison 06 2001-08-28           0.0000000000               NaN
## 17             Malt 11 2001-08-28           0.0016103060               8.8
## 18          Suggary 02 2001-08-28           0.0020661157              13.0
## 19     Waugh sanct. 07 2001-08-28           0.0011583012              10.6
## 20          Dempsey 12 2001-08-28           0.0058422590              13.5
## 21 Branche sud aval 03 2001-08-28           0.0002668379              11.5
## 22           Sewell 08 2001-08-28           0.0060810811              13.5
## 23        Pok amont 04 2001-08-28           0.0006238303               8.4
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991              10.9
## 25        Pok amont 04 2001-09-26           0.0006238303               9.8
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868              10.7
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991              11.8
## 28          Pollard 10 2001-09-26           0.0007342144              12.7
## 29    br. sud amont 01 2001-09-26           0.0000000000              11.5
## 30         Morrison 06 2001-09-26           0.0000000000              11.2
## 31             Malt 11 2001-09-26           0.0016103060               9.3
## 32          Suggary 02 2001-09-26           0.0020661157              12.9
## 33     Waugh sanct. 07 2001-09-26           0.0011583012              10.4
## 34          Dempsey 12 2001-09-26           0.0058422590              13.4
## 35 Branche sud aval 03 2001-09-26           0.0002668379              12.0
## 36           Sewell 08 2001-09-26           0.0060810811              12.9
## 37           Sewell 08 2001-10-31           0.0060810811               1.4
## 38        Pok amont 04 2001-10-31           0.0006238303               4.8
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868               3.0
## 40         Morrison 06 2001-10-31           0.0000000000               1.8
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991               2.1
## 42          Pollard 10 2001-10-31           0.0007342144               3.3
## 43    br. sud amont 01 2001-10-31           0.0000000000               2.7
## 44          Dempsey 12 2001-10-31           0.0058422590               3.9
## 45             Malt 11 2001-10-31           0.0016103060               4.8
## 46          Suggary 02 2001-10-31           0.0020661157               2.1
## 47     Waugh sanct. 07 2001-10-31           0.0011583012               2.7
## 48 Branche sud aval 03 2001-10-31           0.0002668379               2.3
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868              17.5
## 50 Branche sud aval 03 2002-07-29           0.0002668379              15.7
## 51           Sewell 08 2002-07-29           0.0060810811              16.8
## 52        Pok amont 04 2002-07-29           0.0006238303              13.3
## 53    br. sud amont 01 2002-07-29           0.0000000000              14.7
## 54         Morrison 06 2002-07-29           0.0000000000              17.3
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991              17.4
## 56          Pollard 10 2002-07-29           0.0007342144              17.0
## 57     Waugh sanct. 07 2002-07-29           0.0011583012              16.4
## 58          Dempsey 12 2002-07-29           0.0058422590              15.6
## 59             Malt 11 2002-07-29           0.0016103060              14.9
## 60          Suggary 02 2002-07-29           0.0020661157              17.9
## 61        Pok amont 04 2002-08-28           0.0006238303               8.0
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868              10.2
## 63          Dempsey 12 2002-08-28           0.0058422590              13.2
## 64 Branche sud aval 03 2002-08-28           0.0002668379              11.3
## 65           Sewell 08 2002-08-28           0.0060810811              13.1
## 66          Pollard 10 2002-08-28           0.0007342144              11.1
## 67    br. sud amont 01 2002-08-28           0.0000000000              11.1
## 68         Morrison 06 2002-08-28           0.0000000000               9.9
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991              12.9
## 70          Suggary 02 2002-08-28           0.0020661157              10.6
## 71     Waugh sanct. 07 2002-08-28           0.0011583012              10.1
## 72             Malt 11 2002-08-28           0.0016103060               7.9
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868              10.7
## 74           Sewell 08 2002-10-02           0.0060810811              12.7
## 75        Pok amont 04 2002-10-02           0.0006238303               7.8
## 76     Waugh sanct. 07 2002-10-02           0.0011583012              10.7
## 77          Dempsey 12 2002-10-02           0.0058422590              11.1
## 78 Branche sud aval 03 2002-10-02           0.0002668379              10.9
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991              12.9
## 80          Pollard 10 2002-10-02           0.0007342144              10.8
## 81    br. sud amont 01 2002-10-02           0.0000000000              11.0
## 82         Morrison 06 2002-10-02           0.0000000000              10.5
## 83             Malt 11 2002-10-02           0.0016103060               7.8
## 84          Suggary 02 2002-10-02           0.0020661157              10.3
## 85        Pok amont 04 2002-10-31           0.0006238303               4.6
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868               2.7
## 87 Branche sud aval 03 2002-10-31           0.0002668379               NaN
## 88           Sewell 08 2002-10-31           0.0060810811               1.6
## 89          Suggary 02 2002-10-31           0.0020661157               2.7
## 90     Waugh sanct. 07 2002-10-31           0.0011583012               2.7
## 91          Dempsey 12 2002-10-31           0.0058422590               3.3
## 92         Morrison 06 2002-10-31           0.0000000000               1.7
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991               2.3
## 94          Pollard 10 2002-10-31           0.0007342144               2.7
## 95    br. sud amont 01 2002-10-31           0.0000000000               2.5
## 96             Malt 11 2002-10-31           0.0016103060               4.4
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctIND_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28           0.0026028110              11.5
## 98           Dempsey 12 2021-07-28           0.0005249344              16.1
## 99  Branche sud aval 03 2021-07-28           0.0048309179              15.5
## 100           Sewell 08 2021-07-28           0.0030991736              14.2
## 101     Waugh sanct. 07 2021-07-28           0.0011583012              12.1
## 102    br. sud amont 01 2021-07-28           0.0073028238              14.0
## 103         Morrison 06 2021-07-28           0.0009784736              15.7
## 104             Malt 11 2021-07-28           0.0050675676              11.7
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910              16.9
## 106          Pollard 10 2021-07-28           0.0047169811              14.6
## 107        Pok amont 04 2021-07-28           0.0366726297              11.2
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583              11.9
## 109             Malt 11 2021-08-31           0.0047169811              12.0
## 110          Suggary 02 2021-08-31           0.0080763583              11.0
## 111     Waugh sanct. 07 2021-08-31           0.0026028110              12.8
## 112          Dempsey 12 2021-08-31           0.0005249344              15.0
## 113 Branche sud aval 03 2021-08-31           0.0048309179              15.0
## 114           Sewell 08 2021-08-31           0.0030991736              14.6
## 115          Pollard 10 2021-08-31           0.0011583012              15.7
## 116    br. sud amont 01 2021-08-31           0.0073028238              13.7
## 117         Morrison 06 2021-08-31           0.0009784736              14.9
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676              11.7
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910              16.4
## 120        Pok amont 04 2021-08-31           0.0366726297              10.8
## 121          Suggary 02 2021-10-05           0.0018714910               6.3
## 122         Morrison 06 2021-10-05           0.0047169811               7.0
## 123             Malt 11 2021-10-05           0.0366726297               8.5
## 124           Sewell 08 2021-10-05           0.0080763583               8.0
## 125     Waugh sanct. 07 2021-10-05           0.0026028110               9.0
## 126          Dempsey 12 2021-10-05           0.0005249344               8.7
## 127 Branche sud aval 03 2021-10-05           0.0048309179               7.9
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736               7.9
## 129          Pollard 10 2021-10-05           0.0011583012               8.7
## 130    br. sud amont 01 2021-10-05           0.0073028238               7.3
## 131        Pok amont 04 2021-10-05           0.0009784736               7.4
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676               6.4
## 133             Malt 11 2021-10-28           0.0050675676               7.1
## 134          Suggary 02 2021-10-28           0.0018714910               6.7
## 135    br. sud amont 01 2021-10-28           0.0047169811               7.0
## 136         Morrison 06 2021-10-28           0.0005249344               6.4
## 137 Branche sud aval 03 2021-10-28           0.0366726297               6.7
## 138           Sewell 08 2021-10-28           0.0080763583               7.4
## 139     Waugh sanct. 07 2021-10-28           0.0026028110               7.3
## 140          Dempsey 12 2021-10-28           0.0073028238               7.3
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179               6.7
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736               7.2
## 143          Pollard 10 2021-10-28           0.0011583012               7.5
## 144        Pok amont 04 2021-10-28           0.0009784736               7.2
## 145          Pollard 10 2022-07-28           0.0047169811              14.2
## 146         Morrison 06 2022-07-28           0.0009784736              13.3
## 147             Malt 11 2022-07-28           0.0050675676              12.9
## 148          Suggary 02 2022-07-28           0.0018714910              11.4
## 149    br. sud amont 01 2022-07-28           0.0026028110              14.9
## 150          Dempsey 12 2022-07-28           0.0005249344              15.3
## 151 Branche sud aval 03 2022-07-28           0.0366726297              15.5
## 152           Sewell 08 2022-07-28           0.0080763583              15.1
## 153     Waugh sanct. 07 2022-07-28           0.0011583012              13.1
## 154        Pok amont 04 2022-07-28           0.0073028238              11.9
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179              11.1
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736              13.8
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910              16.2
## 158          Pollard 10 2022-09-01           0.0047169811              15.1
## 159    br. sud amont 01 2022-09-01           0.0073028238              14.8
## 160         Morrison 06 2022-09-01           0.0009784736              15.0
## 161             Malt 11 2022-09-01           0.0050675676              12.3
## 162          Suggary 02 2022-09-01           0.0080763583              11.9
## 163     Waugh sanct. 07 2022-09-01           0.0026028110              14.0
## 164          Dempsey 12 2022-09-01           0.0005249344              15.0
## 165 Branche sud aval 03 2022-09-01           0.0366726297              16.2
## 166           Sewell 08 2022-09-01           0.0030991736              15.9
## 167        Pok amont 04 2022-09-01           0.0011583012              12.1
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179              12.9
## 169           Sewell 08 2022-10-03           0.0047169811               6.2
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676               4.7
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910               6.5
## 172          Pollard 10 2022-10-03           0.0011583012               6.5
## 173    br. sud amont 01 2022-10-03           0.0073028238               5.6
## 174         Morrison 06 2022-10-03           0.0009784736               4.7
## 175             Malt 11 2022-10-03           0.0366726297               7.9
## 176          Suggary 02 2022-10-03           0.0080763583               4.5
## 177     Waugh sanct. 07 2022-10-03           0.0026028110               6.3
## 178          Dempsey 12 2022-10-03           0.0005249344               6.0
## 179 Branche sud aval 03 2022-10-03           0.0048309179               6.2
## 180        Pok amont 04 2022-10-03           0.0030991736               6.5
## 181 Branche sud aval 03 2022-11-01           0.0018714910               6.5
## 182           Sewell 08 2022-11-01           0.0047169811               7.1
## 183        Pok amont 04 2022-11-01           0.0009784736               6.3
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676               6.1
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736               7.4
## 186          Pollard 10 2022-11-01           0.0011583012               8.0
## 187    br. sud amont 01 2022-11-01           0.0073028238               7.0
## 188         Morrison 06 2022-11-01           0.0005249344               5.9
## 189             Malt 11 2022-11-01           0.0366726297               7.6
## 190          Suggary 02 2022-11-01           0.0080763583               6.5
## 191     Waugh sanct. 07 2022-11-01           0.0026028110               7.3
## 192          Dempsey 12 2022-11-01           0.0048309179               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_industriel_vs_Oxyg_dissous

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctIND_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01           0.0000000000                 11.30
## 2          Morrison 06 2001-08-01           0.0000000000                 10.60
## 3              Malt 11 2001-08-01           0.0016103060                 11.80
## 4           Suggary 02 2001-08-01           0.0020661157                 10.50
## 5      Waugh sanct. 07 2001-08-01           0.0011583012                 10.40
## 6           Dempsey 12 2001-08-01           0.0058422590                  8.10
## 7  Branche sud aval 03 2001-08-01           0.0002668379                 11.00
## 8            Sewell 08 2001-08-01           0.0060810811                 11.10
## 9         Pok amont 04 2001-08-01           0.0006238303                  9.70
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868                 10.50
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991                 12.10
## 12          Pollard 10 2001-08-01           0.0007342144                  9.50
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868                 10.60
## 14          Pollard 10 2001-08-28           0.0007342144                  9.60
## 15    br. sud amont 01 2001-08-28           0.0000000000                 10.12
## 16         Morrison 06 2001-08-28           0.0000000000                   NaN
## 17             Malt 11 2001-08-28           0.0016103060                 10.60
## 18          Suggary 02 2001-08-28           0.0020661157                  9.45
## 19     Waugh sanct. 07 2001-08-28           0.0011583012                 10.00
## 20          Dempsey 12 2001-08-28           0.0058422590                  8.80
## 21 Branche sud aval 03 2001-08-28           0.0002668379                 10.00
## 22           Sewell 08 2001-08-28           0.0060810811                  9.40
## 23        Pok amont 04 2001-08-28           0.0006238303                 10.50
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991                 10.00
## 25        Pok amont 04 2001-09-26           0.0006238303                  8.00
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868                  9.00
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991                  8.51
## 28          Pollard 10 2001-09-26           0.0007342144                  8.40
## 29    br. sud amont 01 2001-09-26           0.0000000000                  8.50
## 30         Morrison 06 2001-09-26           0.0000000000                  8.60
## 31             Malt 11 2001-09-26           0.0016103060                  9.00
## 32          Suggary 02 2001-09-26           0.0020661157                  8.44
## 33     Waugh sanct. 07 2001-09-26           0.0011583012                  8.62
## 34          Dempsey 12 2001-09-26           0.0058422590                  8.30
## 35 Branche sud aval 03 2001-09-26           0.0002668379                  9.20
## 36           Sewell 08 2001-09-26           0.0060810811                  7.92
## 37           Sewell 08 2001-10-31           0.0060810811                  7.70
## 38        Pok amont 04 2001-10-31           0.0006238303                  8.40
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868                  9.46
## 40         Morrison 06 2001-10-31           0.0000000000                  9.84
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991                  8.70
## 42          Pollard 10 2001-10-31           0.0007342144                  8.85
## 43    br. sud amont 01 2001-10-31           0.0000000000                  7.80
## 44          Dempsey 12 2001-10-31           0.0058422590                  8.43
## 45             Malt 11 2001-10-31           0.0016103060                  9.20
## 46          Suggary 02 2001-10-31           0.0020661157                  7.30
## 47     Waugh sanct. 07 2001-10-31           0.0011583012                  8.00
## 48 Branche sud aval 03 2001-10-31           0.0002668379                  9.57
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868                  8.01
## 50 Branche sud aval 03 2002-07-29           0.0002668379                  8.50
## 51           Sewell 08 2002-07-29           0.0060810811                  7.60
## 52        Pok amont 04 2002-07-29           0.0006238303                  8.17
## 53    br. sud amont 01 2002-07-29           0.0000000000                  8.65
## 54         Morrison 06 2002-07-29           0.0000000000                  9.76
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991                  7.10
## 56          Pollard 10 2002-07-29           0.0007342144                  7.45
## 57     Waugh sanct. 07 2002-07-29           0.0011583012                  7.90
## 58          Dempsey 12 2002-07-29           0.0058422590                  8.30
## 59             Malt 11 2002-07-29           0.0016103060                  8.90
## 60          Suggary 02 2002-07-29           0.0020661157                  8.20
## 61        Pok amont 04 2002-08-28           0.0006238303                 10.65
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868                  9.46
## 63          Dempsey 12 2002-08-28           0.0058422590                  8.20
## 64 Branche sud aval 03 2002-08-28           0.0002668379                 10.41
## 65           Sewell 08 2002-08-28           0.0060810811                  9.80
## 66          Pollard 10 2002-08-28           0.0007342144                  9.02
## 67    br. sud amont 01 2002-08-28           0.0000000000                 10.20
## 68         Morrison 06 2002-08-28           0.0000000000                 11.17
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991                 11.05
## 70          Suggary 02 2002-08-28           0.0020661157                 11.24
## 71     Waugh sanct. 07 2002-08-28           0.0011583012                 10.00
## 72             Malt 11 2002-08-28           0.0016103060                 10.00
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868                  4.42
## 74           Sewell 08 2002-10-02           0.0060810811                  6.84
## 75        Pok amont 04 2002-10-02           0.0006238303                  7.20
## 76     Waugh sanct. 07 2002-10-02           0.0011583012                  6.10
## 77          Dempsey 12 2002-10-02           0.0058422590                  5.70
## 78 Branche sud aval 03 2002-10-02           0.0002668379                  7.10
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991                  7.49
## 80          Pollard 10 2002-10-02           0.0007342144                  6.80
## 81    br. sud amont 01 2002-10-02           0.0000000000                  7.16
## 82         Morrison 06 2002-10-02           0.0000000000                  7.60
## 83             Malt 11 2002-10-02           0.0016103060                  6.40
## 84          Suggary 02 2002-10-02           0.0020661157                  8.08
## 85        Pok amont 04 2002-10-31           0.0006238303                  7.50
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868                  8.50
## 87 Branche sud aval 03 2002-10-31           0.0002668379                   NaN
## 88           Sewell 08 2002-10-31           0.0060810811                  8.30
## 89          Suggary 02 2002-10-31           0.0020661157                  8.60
## 90     Waugh sanct. 07 2002-10-31           0.0011583012                  7.00
## 91          Dempsey 12 2002-10-31           0.0058422590                  7.40
## 92         Morrison 06 2002-10-31           0.0000000000                  8.30
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991                  7.60
## 94          Pollard 10 2002-10-31           0.0007342144                  7.60
## 95    br. sud amont 01 2002-10-31           0.0000000000                  8.20
## 96             Malt 11 2002-10-31           0.0016103060                  8.00
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctIND_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28           0.0026028110                  9.68
## 98           Dempsey 12 2021-07-28           0.0005249344                  9.38
## 99  Branche sud aval 03 2021-07-28           0.0048309179                  8.51
## 100           Sewell 08 2021-07-28           0.0030991736                  9.29
## 101     Waugh sanct. 07 2021-07-28           0.0011583012                  9.84
## 102    br. sud amont 01 2021-07-28           0.0073028238                  8.43
## 103         Morrison 06 2021-07-28           0.0009784736                  9.04
## 104             Malt 11 2021-07-28           0.0050675676                  9.73
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910                  8.70
## 106          Pollard 10 2021-07-28           0.0047169811                  9.81
## 107        Pok amont 04 2021-07-28           0.0366726297                  9.22
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583                 10.29
## 109             Malt 11 2021-08-31           0.0047169811                 11.07
## 110          Suggary 02 2021-08-31           0.0080763583                 10.16
## 111     Waugh sanct. 07 2021-08-31           0.0026028110                 10.03
## 112          Dempsey 12 2021-08-31           0.0005249344                  9.51
## 113 Branche sud aval 03 2021-08-31           0.0048309179                  8.83
## 114           Sewell 08 2021-08-31           0.0030991736                  8.18
## 115          Pollard 10 2021-08-31           0.0011583012                  8.15
## 116    br. sud amont 01 2021-08-31           0.0073028238                  7.94
## 117         Morrison 06 2021-08-31           0.0009784736                  9.14
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676                 10.42
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910                  8.54
## 120        Pok amont 04 2021-08-31           0.0366726297                  8.70
## 121          Suggary 02 2021-10-05           0.0018714910                 12.14
## 122         Morrison 06 2021-10-05           0.0047169811                 11.19
## 123             Malt 11 2021-10-05           0.0366726297                 10.27
## 124           Sewell 08 2021-10-05           0.0080763583                 11.17
## 125     Waugh sanct. 07 2021-10-05           0.0026028110                 10.42
## 126          Dempsey 12 2021-10-05           0.0005249344                 10.86
## 127 Branche sud aval 03 2021-10-05           0.0048309179                 10.40
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736                 10.87
## 129          Pollard 10 2021-10-05           0.0011583012                 11.29
## 130    br. sud amont 01 2021-10-05           0.0073028238                 10.74
## 131        Pok amont 04 2021-10-05           0.0009784736                 10.75
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676                 11.40
## 133             Malt 11 2021-10-28           0.0050675676                 10.50
## 134          Suggary 02 2021-10-28           0.0018714910                 11.68
## 135    br. sud amont 01 2021-10-28           0.0047169811                 10.93
## 136         Morrison 06 2021-10-28           0.0005249344                 11.66
## 137 Branche sud aval 03 2021-10-28           0.0366726297                 11.22
## 138           Sewell 08 2021-10-28           0.0080763583                 11.44
## 139     Waugh sanct. 07 2021-10-28           0.0026028110                 10.96
## 140          Dempsey 12 2021-10-28           0.0073028238                  8.77
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179                 11.26
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736                 10.41
## 143          Pollard 10 2021-10-28           0.0011583012                 10.54
## 144        Pok amont 04 2021-10-28           0.0009784736                 10.80
## 145          Pollard 10 2022-07-28           0.0047169811                 10.75
## 146         Morrison 06 2022-07-28           0.0009784736                 10.00
## 147             Malt 11 2022-07-28           0.0050675676                 11.60
## 148          Suggary 02 2022-07-28           0.0018714910                 11.40
## 149    br. sud amont 01 2022-07-28           0.0026028110                  8.64
## 150          Dempsey 12 2022-07-28           0.0005249344                  9.34
## 151 Branche sud aval 03 2022-07-28           0.0366726297                  9.55
## 152           Sewell 08 2022-07-28           0.0080763583                  9.50
## 153     Waugh sanct. 07 2022-07-28           0.0011583012                  9.90
## 154        Pok amont 04 2022-07-28           0.0073028238                  9.52
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179                 11.52
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736                 10.40
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910                  9.19
## 158          Pollard 10 2022-09-01           0.0047169811                 10.25
## 159    br. sud amont 01 2022-09-01           0.0073028238                  8.28
## 160         Morrison 06 2022-09-01           0.0009784736                  9.52
## 161             Malt 11 2022-09-01           0.0050675676                 11.08
## 162          Suggary 02 2022-09-01           0.0080763583                 10.24
## 163     Waugh sanct. 07 2022-09-01           0.0026028110                  9.22
## 164          Dempsey 12 2022-09-01           0.0005249344                  9.44
## 165 Branche sud aval 03 2022-09-01           0.0366726297                  8.95
## 166           Sewell 08 2022-09-01           0.0030991736                  9.02
## 167        Pok amont 04 2022-09-01           0.0011583012                  8.82
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179                 10.06
## 169           Sewell 08 2022-10-03           0.0047169811                 10.03
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676                 12.38
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910                 12.20
## 172          Pollard 10 2022-10-03           0.0011583012                 13.04
## 173    br. sud amont 01 2022-10-03           0.0073028238                 11.04
## 174         Morrison 06 2022-10-03           0.0009784736                 12.92
## 175             Malt 11 2022-10-03           0.0366726297                 12.67
## 176          Suggary 02 2022-10-03           0.0080763583                 13.13
## 177     Waugh sanct. 07 2022-10-03           0.0026028110                 12.07
## 178          Dempsey 12 2022-10-03           0.0005249344                 11.87
## 179 Branche sud aval 03 2022-10-03           0.0048309179                 12.21
## 180        Pok amont 04 2022-10-03           0.0030991736                 10.04
## 181 Branche sud aval 03 2022-11-01           0.0018714910                 12.07
## 182           Sewell 08 2022-11-01           0.0047169811                 12.13
## 183        Pok amont 04 2022-11-01           0.0009784736                 10.55
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676                 12.12
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736                 11.17
## 186          Pollard 10 2022-11-01           0.0011583012                 10.85
## 187    br. sud amont 01 2022-11-01           0.0073028238                 11.78
## 188         Morrison 06 2022-11-01           0.0005249344                 12.66
## 189             Malt 11 2022-11-01           0.0366726297                 11.63
## 190          Suggary 02 2022-11-01           0.0080763583                 12.35
## 191     Waugh sanct. 07 2022-11-01           0.0026028110                  9.42
## 192          Dempsey 12 2022-11-01           0.0048309179                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène dissous et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_industriel_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctIND_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01           0.0000000000                  171.0
## 2          Morrison 06 2001-08-01           0.0000000000                  114.0
## 3              Malt 11 2001-08-01           0.0016103060                  108.0
## 4           Suggary 02 2001-08-01           0.0020661157                  118.0
## 5      Waugh sanct. 07 2001-08-01           0.0011583012                  133.0
## 6           Dempsey 12 2001-08-01           0.0058422590                  128.0
## 7  Branche sud aval 03 2001-08-01           0.0002668379                  115.0
## 8            Sewell 08 2001-08-01           0.0060810811                  134.0
## 9         Pok amont 04 2001-08-01           0.0006238303                   56.6
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868                  106.0
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991                  100.0
## 12          Pollard 10 2001-08-01           0.0007342144                  156.0
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868                  105.0
## 14          Pollard 10 2001-08-28           0.0007342144                  162.0
## 15    br. sud amont 01 2001-08-28           0.0000000000                  177.0
## 16         Morrison 06 2001-08-28           0.0000000000                  115.0
## 17             Malt 11 2001-08-28           0.0016103060                   90.3
## 18          Suggary 02 2001-08-28           0.0020661157                  119.0
## 19     Waugh sanct. 07 2001-08-28           0.0011583012                  132.0
## 20          Dempsey 12 2001-08-28           0.0058422590                  129.0
## 21 Branche sud aval 03 2001-08-28           0.0002668379                  113.0
## 22           Sewell 08 2001-08-28           0.0060810811                  150.0
## 23        Pok amont 04 2001-08-28           0.0006238303                   60.0
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991                  112.0
## 25        Pok amont 04 2001-09-26           0.0006238303                   72.1
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868                  115.0
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991                  111.0
## 28          Pollard 10 2001-09-26           0.0007342144                  153.5
## 29    br. sud amont 01 2001-09-26           0.0000000000                  158.0
## 30         Morrison 06 2001-09-26           0.0000000000                  117.0
## 31             Malt 11 2001-09-26           0.0016103060                   97.7
## 32          Suggary 02 2001-09-26           0.0020661157                  139.0
## 33     Waugh sanct. 07 2001-09-26           0.0011583012                  136.0
## 34          Dempsey 12 2001-09-26           0.0058422590                  137.0
## 35 Branche sud aval 03 2001-09-26           0.0002668379                  123.0
## 36           Sewell 08 2001-09-26           0.0060810811                  173.0
## 37           Sewell 08 2001-10-31           0.0060810811                  111.0
## 38        Pok amont 04 2001-10-31           0.0006238303                   68.3
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868                  112.0
## 40         Morrison 06 2001-10-31           0.0000000000                  123.0
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991                   87.2
## 42          Pollard 10 2001-10-31           0.0007342144                  164.0
## 43    br. sud amont 01 2001-10-31           0.0000000000                  162.0
## 44          Dempsey 12 2001-10-31           0.0058422590                  128.0
## 45             Malt 11 2001-10-31           0.0016103060                   98.8
## 46          Suggary 02 2001-10-31           0.0020661157                  120.0
## 47     Waugh sanct. 07 2001-10-31           0.0011583012                  102.0
## 48 Branche sud aval 03 2001-10-31           0.0002668379                  115.0
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868                  112.0
## 50 Branche sud aval 03 2002-07-29           0.0002668379                  116.0
## 51           Sewell 08 2002-07-29           0.0060810811                  139.0
## 52        Pok amont 04 2002-07-29           0.0006238303                   57.1
## 53    br. sud amont 01 2002-07-29           0.0000000000                  148.0
## 54         Morrison 06 2002-07-29           0.0000000000                  123.0
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991                  105.0
## 56          Pollard 10 2002-07-29           0.0007342144                  162.0
## 57     Waugh sanct. 07 2002-07-29           0.0011583012                  133.0
## 58          Dempsey 12 2002-07-29           0.0058422590                  143.0
## 59             Malt 11 2002-07-29           0.0016103060                   96.6
## 60          Suggary 02 2002-07-29           0.0020661157                  110.0
## 61        Pok amont 04 2002-08-28           0.0006238303                   60.3
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868                  115.0
## 63          Dempsey 12 2002-08-28           0.0058422590                  144.0
## 64 Branche sud aval 03 2002-08-28           0.0002668379                  121.0
## 65           Sewell 08 2002-08-28           0.0060810811                  168.0
## 66          Pollard 10 2002-08-28           0.0007342144                  164.0
## 67    br. sud amont 01 2002-08-28           0.0000000000                  185.0
## 68         Morrison 06 2002-08-28           0.0000000000                  125.0
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991                  111.0
## 70          Suggary 02 2002-08-28           0.0020661157                  110.5
## 71     Waugh sanct. 07 2002-08-28           0.0011583012                  135.0
## 72             Malt 11 2002-08-28           0.0016103060                  101.0
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868                  120.0
## 74           Sewell 08 2002-10-02           0.0060810811                  158.0
## 75        Pok amont 04 2002-10-02           0.0006238303                   69.4
## 76     Waugh sanct. 07 2002-10-02           0.0011583012                  148.0
## 77          Dempsey 12 2002-10-02           0.0058422590                  145.0
## 78 Branche sud aval 03 2002-10-02           0.0002668379                  126.0
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991                  108.0
## 80          Pollard 10 2002-10-02           0.0007342144                  176.0
## 81    br. sud amont 01 2002-10-02           0.0000000000                  194.0
## 82         Morrison 06 2002-10-02           0.0000000000                  128.0
## 83             Malt 11 2002-10-02           0.0016103060                  106.0
## 84          Suggary 02 2002-10-02           0.0020661157                  114.0
## 85        Pok amont 04 2002-10-31           0.0006238303                   70.9
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868                  122.0
## 87 Branche sud aval 03 2002-10-31           0.0002668379                  126.0
## 88           Sewell 08 2002-10-31           0.0060810811                  120.0
## 89          Suggary 02 2002-10-31           0.0020661157                  118.0
## 90     Waugh sanct. 07 2002-10-31           0.0011583012                  129.0
## 91          Dempsey 12 2002-10-31           0.0058422590                  141.0
## 92         Morrison 06 2002-10-31           0.0000000000                  130.0
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991                  103.0
## 94          Pollard 10 2002-10-31           0.0007342144                  176.0
## 95    br. sud amont 01 2002-10-31           0.0000000000                  175.5
## 96             Malt 11 2002-10-31           0.0016103060                  107.0
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctIND_supdrainee_2020
## 97           Suggary 02 2021-07-28           0.0026028110
## 98           Dempsey 12 2021-07-28           0.0005249344
## 99  Branche sud aval 03 2021-07-28           0.0048309179
## 100           Sewell 08 2021-07-28           0.0030991736
## 101     Waugh sanct. 07 2021-07-28           0.0011583012
## 102    br. sud amont 01 2021-07-28           0.0073028238
## 103         Morrison 06 2021-07-28           0.0009784736
## 104             Malt 11 2021-07-28           0.0050675676
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910
## 106          Pollard 10 2021-07-28           0.0047169811
## 107        Pok amont 04 2021-07-28           0.0366726297
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583
## 109             Malt 11 2021-08-31           0.0047169811
## 110          Suggary 02 2021-08-31           0.0080763583
## 111     Waugh sanct. 07 2021-08-31           0.0026028110
## 112          Dempsey 12 2021-08-31           0.0005249344
## 113 Branche sud aval 03 2021-08-31           0.0048309179
## 114           Sewell 08 2021-08-31           0.0030991736
## 115          Pollard 10 2021-08-31           0.0011583012
## 116    br. sud amont 01 2021-08-31           0.0073028238
## 117         Morrison 06 2021-08-31           0.0009784736
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910
## 120        Pok amont 04 2021-08-31           0.0366726297
## 121          Suggary 02 2021-10-05           0.0018714910
## 122         Morrison 06 2021-10-05           0.0047169811
## 123             Malt 11 2021-10-05           0.0366726297
## 124           Sewell 08 2021-10-05           0.0080763583
## 125     Waugh sanct. 07 2021-10-05           0.0026028110
## 126          Dempsey 12 2021-10-05           0.0005249344
## 127 Branche sud aval 03 2021-10-05           0.0048309179
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736
## 129          Pollard 10 2021-10-05           0.0011583012
## 130    br. sud amont 01 2021-10-05           0.0073028238
## 131        Pok amont 04 2021-10-05           0.0009784736
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676
## 133             Malt 11 2021-10-28           0.0050675676
## 134          Suggary 02 2021-10-28           0.0018714910
## 135    br. sud amont 01 2021-10-28           0.0047169811
## 136         Morrison 06 2021-10-28           0.0005249344
## 137 Branche sud aval 03 2021-10-28           0.0366726297
## 138           Sewell 08 2021-10-28           0.0080763583
## 139     Waugh sanct. 07 2021-10-28           0.0026028110
## 140          Dempsey 12 2021-10-28           0.0073028238
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736
## 143          Pollard 10 2021-10-28           0.0011583012
## 144        Pok amont 04 2021-10-28           0.0009784736
## 145          Pollard 10 2022-07-28           0.0047169811
## 146         Morrison 06 2022-07-28           0.0009784736
## 147             Malt 11 2022-07-28           0.0050675676
## 148          Suggary 02 2022-07-28           0.0018714910
## 149    br. sud amont 01 2022-07-28           0.0026028110
## 150          Dempsey 12 2022-07-28           0.0005249344
## 151 Branche sud aval 03 2022-07-28           0.0366726297
## 152           Sewell 08 2022-07-28           0.0080763583
## 153     Waugh sanct. 07 2022-07-28           0.0011583012
## 154        Pok amont 04 2022-07-28           0.0073028238
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910
## 158          Pollard 10 2022-09-01           0.0047169811
## 159    br. sud amont 01 2022-09-01           0.0073028238
## 160         Morrison 06 2022-09-01           0.0009784736
## 161             Malt 11 2022-09-01           0.0050675676
## 162          Suggary 02 2022-09-01           0.0080763583
## 163     Waugh sanct. 07 2022-09-01           0.0026028110
## 164          Dempsey 12 2022-09-01           0.0005249344
## 165 Branche sud aval 03 2022-09-01           0.0366726297
## 166           Sewell 08 2022-09-01           0.0030991736
## 167        Pok amont 04 2022-09-01           0.0011583012
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179
## 169           Sewell 08 2022-10-03           0.0047169811
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910
## 172          Pollard 10 2022-10-03           0.0011583012
## 173    br. sud amont 01 2022-10-03           0.0073028238
## 174         Morrison 06 2022-10-03           0.0009784736
## 175             Malt 11 2022-10-03           0.0366726297
## 176          Suggary 02 2022-10-03           0.0080763583
## 177     Waugh sanct. 07 2022-10-03           0.0026028110
## 178          Dempsey 12 2022-10-03           0.0005249344
## 179 Branche sud aval 03 2022-10-03           0.0048309179
## 180        Pok amont 04 2022-10-03           0.0030991736
## 181 Branche sud aval 03 2022-11-01           0.0018714910
## 182           Sewell 08 2022-11-01           0.0047169811
## 183        Pok amont 04 2022-11-01           0.0009784736
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736
## 186          Pollard 10 2022-11-01           0.0011583012
## 187    br. sud amont 01 2022-11-01           0.0073028238
## 188         Morrison 06 2022-11-01           0.0005249344
## 189             Malt 11 2022-11-01           0.0366726297
## 190          Suggary 02 2022-11-01           0.0080763583
## 191     Waugh sanct. 07 2022-11-01           0.0026028110
## 192          Dempsey 12 2022-11-01           0.0048309179
##     Conductivity_microS_cm
## 97                     109
## 98                     139
## 99                     119
## 100                    131
## 101                    128
## 102                    177
## 103                    122
## 104                     90
## 105                    115
## 106                    166
## 107                     60
## 108                    109
## 109                     96
## 110                    116
## 111                    138
## 112                    152
## 113                    125
## 114                    161
## 115                    196
## 116                    199
## 117                    129
## 118                    118
## 119                    114
## 120                     70
## 121                     98
## 122                    114
## 123                     74
## 124                     72
## 125                     70
## 126                     96
## 127                     86
## 128                     90
## 129                    128
## 130                     91
## 131                     52
## 132                     95
## 133                     80
## 134                    100
## 135                    114
## 136                    118
## 137                     97
## 138                     81
## 139                     88
## 140                    113
## 141                    102
## 142                     97
## 143                    139
## 144                     54
## 145                    163
## 146                    119
## 147                     88
## 148                    107
## 149                    161
## 150                    134
## 151                    113
## 152                    113
## 153                    126
## 154                     59
## 155                    108
## 156                    113
## 157                    107
## 158                    178
## 159                    180
## 160                    117
## 161                     88
## 162                    104
## 163                    114
## 164                    137
## 165                    117
## 166                    116
## 167                     63
## 168                    108
## 169                    114
## 170                    113
## 171                     94
## 172                    179
## 173                    182
## 174                    120
## 175                     95
## 176                    107
## 177                    114
## 178                    143
## 179                    118
## 180                     64
## 181                    112
## 182                     92
## 183                     69
## 184                    112
## 185                     92
## 186                    177
## 187                    144
## 188                    125
## 189                     91
## 190                    108
## 191                     92
## 192                    136
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_industriel_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,pH_units))
##               Station2       Date pctIND_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01           0.0000000000    8.200
## 2          Morrison 06 2001-08-01           0.0000000000    7.950
## 3              Malt 11 2001-08-01           0.0016103060    7.860
## 4           Suggary 02 2001-08-01           0.0020661157    8.020
## 5      Waugh sanct. 07 2001-08-01           0.0011583012    7.970
## 6           Dempsey 12 2001-08-01           0.0058422590    7.960
## 7  Branche sud aval 03 2001-08-01           0.0002668379    8.030
## 8            Sewell 08 2001-08-01           0.0060810811    8.020
## 9         Pok amont 04 2001-08-01           0.0006238303    7.590
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868    8.010
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991    7.860
## 12          Pollard 10 2001-08-01           0.0007342144    7.890
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868    7.910
## 14          Pollard 10 2001-08-28           0.0007342144    7.860
## 15    br. sud amont 01 2001-08-28           0.0000000000    7.980
## 16         Morrison 06 2001-08-28           0.0000000000    7.940
## 17             Malt 11 2001-08-28           0.0016103060    7.460
## 18          Suggary 02 2001-08-28           0.0020661157    7.880
## 19     Waugh sanct. 07 2001-08-28           0.0011583012    7.890
## 20          Dempsey 12 2001-08-28           0.0058422590    7.760
## 21 Branche sud aval 03 2001-08-28           0.0002668379    7.890
## 22           Sewell 08 2001-08-28           0.0060810811    7.900
## 23        Pok amont 04 2001-08-28           0.0006238303    7.490
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991    7.770
## 25        Pok amont 04 2001-09-26           0.0006238303    7.640
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868    7.960
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991    7.870
## 28          Pollard 10 2001-09-26           0.0007342144    7.850
## 29    br. sud amont 01 2001-09-26           0.0000000000    8.050
## 30         Morrison 06 2001-09-26           0.0000000000    8.020
## 31             Malt 11 2001-09-26           0.0016103060    7.710
## 32          Suggary 02 2001-09-26           0.0020661157    8.080
## 33     Waugh sanct. 07 2001-09-26           0.0011583012    8.020
## 34          Dempsey 12 2001-09-26           0.0058422590    7.950
## 35 Branche sud aval 03 2001-09-26           0.0002668379    8.040
## 36           Sewell 08 2001-09-26           0.0060810811    8.060
## 37           Sewell 08 2001-10-31           0.0060810811    7.740
## 38        Pok amont 04 2001-10-31           0.0006238303    7.420
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868    7.950
## 40         Morrison 06 2001-10-31           0.0000000000    8.010
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991    7.500
## 42          Pollard 10 2001-10-31           0.0007342144    7.870
## 43    br. sud amont 01 2001-10-31           0.0000000000    7.960
## 44          Dempsey 12 2001-10-31           0.0058422590    7.820
## 45             Malt 11 2001-10-31           0.0016103060    7.530
## 46          Suggary 02 2001-10-31           0.0020661157    7.650
## 47     Waugh sanct. 07 2001-10-31           0.0011583012    7.410
## 48 Branche sud aval 03 2001-10-31           0.0002668379    7.890
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868    7.840
## 50 Branche sud aval 03 2002-07-29           0.0002668379    7.870
## 51           Sewell 08 2002-07-29           0.0060810811    7.840
## 52        Pok amont 04 2002-07-29           0.0006238303    7.180
## 53    br. sud amont 01 2002-07-29           0.0000000000    7.840
## 54         Morrison 06 2002-07-29           0.0000000000    7.920
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991    7.580
## 56          Pollard 10 2002-07-29           0.0007342144    7.730
## 57     Waugh sanct. 07 2002-07-29           0.0011583012    7.700
## 58          Dempsey 12 2002-07-29           0.0058422590    7.755
## 59             Malt 11 2002-07-29           0.0016103060    7.420
## 60          Suggary 02 2002-07-29           0.0020661157    7.740
## 61        Pok amont 04 2002-08-28           0.0006238303    7.250
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868    7.800
## 63          Dempsey 12 2002-08-28           0.0058422590    7.690
## 64 Branche sud aval 03 2002-08-28           0.0002668379    7.850
## 65           Sewell 08 2002-08-28           0.0060810811    7.920
## 66          Pollard 10 2002-08-28           0.0007342144    7.730
## 67    br. sud amont 01 2002-08-28           0.0000000000    8.070
## 68         Morrison 06 2002-08-28           0.0000000000    7.900
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991    7.790
## 70          Suggary 02 2002-08-28           0.0020661157    7.815
## 71     Waugh sanct. 07 2002-08-28           0.0011583012    7.750
## 72             Malt 11 2002-08-28           0.0016103060    7.380
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868    7.830
## 74           Sewell 08 2002-10-02           0.0060810811    7.820
## 75        Pok amont 04 2002-10-02           0.0006238303    7.270
## 76     Waugh sanct. 07 2002-10-02           0.0011583012    7.760
## 77          Dempsey 12 2002-10-02           0.0058422590    7.640
## 78 Branche sud aval 03 2002-10-02           0.0002668379    7.820
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991    7.650
## 80          Pollard 10 2002-10-02           0.0007342144    7.720
## 81    br. sud amont 01 2002-10-02           0.0000000000    7.970
## 82         Morrison 06 2002-10-02           0.0000000000    7.890
## 83             Malt 11 2002-10-02           0.0016103060    7.380
## 84          Suggary 02 2002-10-02           0.0020661157    7.830
## 85        Pok amont 04 2002-10-31           0.0006238303    7.360
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868    7.820
## 87 Branche sud aval 03 2002-10-31           0.0002668379      NaN
## 88           Sewell 08 2002-10-31           0.0060810811    7.550
## 89          Suggary 02 2002-10-31           0.0020661157    7.770
## 90     Waugh sanct. 07 2002-10-31           0.0011583012    7.580
## 91          Dempsey 12 2002-10-31           0.0058422590    7.690
## 92         Morrison 06 2002-10-31           0.0000000000    7.870
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991    7.440
## 94          Pollard 10 2002-10-31           0.0007342144    7.780
## 95    br. sud amont 01 2002-10-31           0.0000000000    7.865
## 96             Malt 11 2002-10-31           0.0016103060    7.560
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,pH_units))
##                Station2       Date pctIND_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28           0.0026028110      7.5
## 98           Dempsey 12 2021-07-28           0.0005249344      7.6
## 99  Branche sud aval 03 2021-07-28           0.0048309179      7.6
## 100           Sewell 08 2021-07-28           0.0030991736      7.7
## 101     Waugh sanct. 07 2021-07-28           0.0011583012      7.6
## 102    br. sud amont 01 2021-07-28           0.0073028238      7.6
## 103         Morrison 06 2021-07-28           0.0009784736      7.4
## 104             Malt 11 2021-07-28           0.0050675676      7.2
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910      7.6
## 106          Pollard 10 2021-07-28           0.0047169811      7.6
## 107        Pok amont 04 2021-07-28           0.0366726297      6.8
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583      7.6
## 109             Malt 11 2021-08-31           0.0047169811      7.3
## 110          Suggary 02 2021-08-31           0.0080763583      7.6
## 111     Waugh sanct. 07 2021-08-31           0.0026028110      7.8
## 112          Dempsey 12 2021-08-31           0.0005249344      7.6
## 113 Branche sud aval 03 2021-08-31           0.0048309179      7.8
## 114           Sewell 08 2021-08-31           0.0030991736      7.8
## 115          Pollard 10 2021-08-31           0.0011583012      7.8
## 116    br. sud amont 01 2021-08-31           0.0073028238      7.5
## 117         Morrison 06 2021-08-31           0.0009784736      7.8
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676      7.8
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910      7.7
## 120        Pok amont 04 2021-08-31           0.0366726297      7.1
## 121          Suggary 02 2021-10-05           0.0018714910      7.6
## 122         Morrison 06 2021-10-05           0.0047169811      7.1
## 123             Malt 11 2021-10-05           0.0366726297      7.1
## 124           Sewell 08 2021-10-05           0.0080763583      7.5
## 125     Waugh sanct. 07 2021-10-05           0.0026028110      7.2
## 126          Dempsey 12 2021-10-05           0.0005249344      7.3
## 127 Branche sud aval 03 2021-10-05           0.0048309179      7.6
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736      7.4
## 129          Pollard 10 2021-10-05           0.0011583012      7.5
## 130    br. sud amont 01 2021-10-05           0.0073028238      7.2
## 131        Pok amont 04 2021-10-05           0.0009784736      6.8
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676      7.2
## 133             Malt 11 2021-10-28           0.0050675676      7.0
## 134          Suggary 02 2021-10-28           0.0018714910      7.6
## 135    br. sud amont 01 2021-10-28           0.0047169811      7.5
## 136         Morrison 06 2021-10-28           0.0005249344      7.6
## 137 Branche sud aval 03 2021-10-28           0.0366726297      7.6
## 138           Sewell 08 2021-10-28           0.0080763583      7.5
## 139     Waugh sanct. 07 2021-10-28           0.0026028110      7.5
## 140          Dempsey 12 2021-10-28           0.0073028238      7.6
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179      7.5
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736      7.5
## 143          Pollard 10 2021-10-28           0.0011583012      7.7
## 144        Pok amont 04 2021-10-28           0.0009784736      7.5
## 145          Pollard 10 2022-07-28           0.0047169811      7.7
## 146         Morrison 06 2022-07-28           0.0009784736      7.8
## 147             Malt 11 2022-07-28           0.0050675676      7.6
## 148          Suggary 02 2022-07-28           0.0018714910      7.7
## 149    br. sud amont 01 2022-07-28           0.0026028110      7.9
## 150          Dempsey 12 2022-07-28           0.0005249344      7.8
## 151 Branche sud aval 03 2022-07-28           0.0366726297      7.8
## 152           Sewell 08 2022-07-28           0.0080763583      7.7
## 153     Waugh sanct. 07 2022-07-28           0.0011583012      7.8
## 154        Pok amont 04 2022-07-28           0.0073028238      7.5
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179      7.8
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736      7.7
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910      7.8
## 158          Pollard 10 2022-09-01           0.0047169811      7.8
## 159    br. sud amont 01 2022-09-01           0.0073028238      8.0
## 160         Morrison 06 2022-09-01           0.0009784736      8.0
## 161             Malt 11 2022-09-01           0.0050675676      7.7
## 162          Suggary 02 2022-09-01           0.0080763583      7.8
## 163     Waugh sanct. 07 2022-09-01           0.0026028110      7.9
## 164          Dempsey 12 2022-09-01           0.0005249344      7.9
## 165 Branche sud aval 03 2022-09-01           0.0366726297      7.9
## 166           Sewell 08 2022-09-01           0.0030991736      7.9
## 167        Pok amont 04 2022-09-01           0.0011583012      7.2
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179      7.8
## 169           Sewell 08 2022-10-03           0.0047169811      7.7
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676      7.8
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910      7.5
## 172          Pollard 10 2022-10-03           0.0011583012      7.8
## 173    br. sud amont 01 2022-10-03           0.0073028238      7.9
## 174         Morrison 06 2022-10-03           0.0009784736      7.9
## 175             Malt 11 2022-10-03           0.0366726297      7.5
## 176          Suggary 02 2022-10-03           0.0080763583      7.7
## 177     Waugh sanct. 07 2022-10-03           0.0026028110      7.6
## 178          Dempsey 12 2022-10-03           0.0005249344      7.7
## 179 Branche sud aval 03 2022-10-03           0.0048309179      7.8
## 180        Pok amont 04 2022-10-03           0.0030991736      7.1
## 181 Branche sud aval 03 2022-11-01           0.0018714910      7.6
## 182           Sewell 08 2022-11-01           0.0047169811      7.5
## 183        Pok amont 04 2022-11-01           0.0009784736      7.0
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676      7.5
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736      7.3
## 186          Pollard 10 2022-11-01           0.0011583012      7.6
## 187    br. sud amont 01 2022-11-01           0.0073028238      7.5
## 188         Morrison 06 2022-11-01           0.0005249344      7.8
## 189             Malt 11 2022-11-01           0.0366726297      7.0
## 190          Suggary 02 2022-11-01           0.0080763583      7.5
## 191     Waugh sanct. 07 2022-11-01           0.0026028110      7.2
## 192          Dempsey 12 2022-11-01           0.0048309179      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le potentiel d'hydrogène et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_industriel_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctIND_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01           0.0000000000         6.400
## 2          Morrison 06 2001-08-01           0.0000000000         0.600
## 3              Malt 11 2001-08-01           0.0016103060         1.600
## 4           Suggary 02 2001-08-01           0.0020661157         0.700
## 5      Waugh sanct. 07 2001-08-01           0.0011583012         1.200
## 6           Dempsey 12 2001-08-01           0.0058422590         1.300
## 7  Branche sud aval 03 2001-08-01           0.0002668379         0.500
## 8            Sewell 08 2001-08-01           0.0060810811         1.500
## 9         Pok amont 04 2001-08-01           0.0006238303         0.000
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868         0.700
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991         0.100
## 12          Pollard 10 2001-08-01           0.0007342144         0.500
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868         1.200
## 14          Pollard 10 2001-08-28           0.0007342144         0.800
## 15    br. sud amont 01 2001-08-28           0.0000000000         6.100
## 16         Morrison 06 2001-08-28           0.0000000000         0.700
## 17             Malt 11 2001-08-28           0.0016103060         0.500
## 18          Suggary 02 2001-08-28           0.0020661157         3.500
## 19     Waugh sanct. 07 2001-08-28           0.0011583012         1.000
## 20          Dempsey 12 2001-08-28           0.0058422590         1.700
## 21 Branche sud aval 03 2001-08-28           0.0002668379         0.900
## 22           Sewell 08 2001-08-28           0.0060810811         6.500
## 23        Pok amont 04 2001-08-28           0.0006238303         0.000
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991         1.000
## 25        Pok amont 04 2001-09-26           0.0006238303         0.800
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868         9.500
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991         1.200
## 28          Pollard 10 2001-09-26           0.0007342144         1.150
## 29    br. sud amont 01 2001-09-26           0.0000000000        44.800
## 30         Morrison 06 2001-09-26           0.0000000000         0.900
## 31             Malt 11 2001-09-26           0.0016103060         7.800
## 32          Suggary 02 2001-09-26           0.0020661157         1.700
## 33     Waugh sanct. 07 2001-09-26           0.0011583012         1.200
## 34          Dempsey 12 2001-09-26           0.0058422590         1.500
## 35 Branche sud aval 03 2001-09-26           0.0002668379         2.400
## 36           Sewell 08 2001-09-26           0.0060810811         3.000
## 37           Sewell 08 2001-10-31           0.0060810811         5.500
## 38        Pok amont 04 2001-10-31           0.0006238303         0.200
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868         1.000
## 40         Morrison 06 2001-10-31           0.0000000000         0.500
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991         1.400
## 42          Pollard 10 2001-10-31           0.0007342144         0.600
## 43    br. sud amont 01 2001-10-31           0.0000000000         1.100
## 44          Dempsey 12 2001-10-31           0.0058422590         1.700
## 45             Malt 11 2001-10-31           0.0016103060         0.800
## 46          Suggary 02 2001-10-31           0.0020661157         2.050
## 47     Waugh sanct. 07 2001-10-31           0.0011583012         1.200
## 48 Branche sud aval 03 2001-10-31           0.0002668379         0.800
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868         0.780
## 50 Branche sud aval 03 2002-07-29           0.0002668379         1.170
## 51           Sewell 08 2002-07-29           0.0060810811         4.960
## 52        Pok amont 04 2002-07-29           0.0006238303         0.190
## 53    br. sud amont 01 2002-07-29           0.0000000000         0.900
## 54         Morrison 06 2002-07-29           0.0000000000         0.690
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991         1.520
## 56          Pollard 10 2002-07-29           0.0007342144         1.630
## 57     Waugh sanct. 07 2002-07-29           0.0011583012         1.110
## 58          Dempsey 12 2002-07-29           0.0058422590         1.970
## 59             Malt 11 2002-07-29           0.0016103060         0.400
## 60          Suggary 02 2002-07-29           0.0020661157         0.430
## 61        Pok amont 04 2002-08-28           0.0006238303         0.390
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868         1.320
## 63          Dempsey 12 2002-08-28           0.0058422590         4.440
## 64 Branche sud aval 03 2002-08-28           0.0002668379         1.150
## 65           Sewell 08 2002-08-28           0.0060810811         2.960
## 66          Pollard 10 2002-08-28           0.0007342144         0.950
## 67    br. sud amont 01 2002-08-28           0.0000000000         0.570
## 68         Morrison 06 2002-08-28           0.0000000000         0.940
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991         1.340
## 70          Suggary 02 2002-08-28           0.0020661157         0.820
## 71     Waugh sanct. 07 2002-08-28           0.0011583012         1.510
## 72             Malt 11 2002-08-28           0.0016103060         0.480
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868         0.940
## 74           Sewell 08 2002-10-02           0.0060810811         5.255
## 75        Pok amont 04 2002-10-02           0.0006238303         0.280
## 76     Waugh sanct. 07 2002-10-02           0.0011583012         1.280
## 77          Dempsey 12 2002-10-02           0.0058422590         3.770
## 78 Branche sud aval 03 2002-10-02           0.0002668379         1.070
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991         2.110
## 80          Pollard 10 2002-10-02           0.0007342144         0.690
## 81    br. sud amont 01 2002-10-02           0.0000000000         0.740
## 82         Morrison 06 2002-10-02           0.0000000000         0.770
## 83             Malt 11 2002-10-02           0.0016103060         0.600
## 84          Suggary 02 2002-10-02           0.0020661157         0.480
## 85        Pok amont 04 2002-10-31           0.0006238303         0.580
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868         0.870
## 87 Branche sud aval 03 2002-10-31           0.0002668379           NaN
## 88           Sewell 08 2002-10-31           0.0060810811         8.740
## 89          Suggary 02 2002-10-31           0.0020661157         0.410
## 90     Waugh sanct. 07 2002-10-31           0.0011583012         1.440
## 91          Dempsey 12 2002-10-31           0.0058422590         2.880
## 92         Morrison 06 2002-10-31           0.0000000000         0.620
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991         1.500
## 94          Pollard 10 2002-10-31           0.0007342144         1.060
## 95    br. sud amont 01 2002-10-31           0.0000000000         1.220
## 96             Malt 11 2002-10-31           0.0016103060         0.900
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctIND_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28           0.0026028110           1.2
## 98           Dempsey 12 2021-07-28           0.0005249344           1.6
## 99  Branche sud aval 03 2021-07-28           0.0048309179           1.8
## 100           Sewell 08 2021-07-28           0.0030991736           3.5
## 101     Waugh sanct. 07 2021-07-28           0.0011583012           1.1
## 102    br. sud amont 01 2021-07-28           0.0073028238           2.3
## 103         Morrison 06 2021-07-28           0.0009784736           1.4
## 104             Malt 11 2021-07-28           0.0050675676           0.7
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910           1.9
## 106          Pollard 10 2021-07-28           0.0047169811           1.2
## 107        Pok amont 04 2021-07-28           0.0366726297           0.9
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583           1.7
## 109             Malt 11 2021-08-31           0.0047169811           0.5
## 110          Suggary 02 2021-08-31           0.0080763583           0.7
## 111     Waugh sanct. 07 2021-08-31           0.0026028110           1.1
## 112          Dempsey 12 2021-08-31           0.0005249344           1.7
## 113 Branche sud aval 03 2021-08-31           0.0048309179           1.7
## 114           Sewell 08 2021-08-31           0.0030991736           3.0
## 115          Pollard 10 2021-08-31           0.0011583012           1.7
## 116    br. sud amont 01 2021-08-31           0.0073028238           5.6
## 117         Morrison 06 2021-08-31           0.0009784736           2.6
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676           2.0
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910           3.2
## 120        Pok amont 04 2021-08-31           0.0366726297           1.5
## 121          Suggary 02 2021-10-05           0.0018714910           0.7
## 122         Morrison 06 2021-10-05           0.0047169811           1.4
## 123             Malt 11 2021-10-05           0.0366726297           0.9
## 124           Sewell 08 2021-10-05           0.0080763583           4.2
## 125     Waugh sanct. 07 2021-10-05           0.0026028110           1.2
## 126          Dempsey 12 2021-10-05           0.0005249344           1.8
## 127 Branche sud aval 03 2021-10-05           0.0048309179           1.7
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736           1.8
## 129          Pollard 10 2021-10-05           0.0011583012           1.8
## 130    br. sud amont 01 2021-10-05           0.0073028238           3.7
## 131        Pok amont 04 2021-10-05           0.0009784736           1.0
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676           1.4
## 133             Malt 11 2021-10-28           0.0050675676           0.5
## 134          Suggary 02 2021-10-28           0.0018714910           0.2
## 135    br. sud amont 01 2021-10-28           0.0047169811           1.9
## 136         Morrison 06 2021-10-28           0.0005249344           0.6
## 137 Branche sud aval 03 2021-10-28           0.0366726297           1.3
## 138           Sewell 08 2021-10-28           0.0080763583           2.8
## 139     Waugh sanct. 07 2021-10-28           0.0026028110           1.0
## 140          Dempsey 12 2021-10-28           0.0073028238           1.3
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179           0.7
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736           1.4
## 143          Pollard 10 2021-10-28           0.0011583012           0.8
## 144        Pok amont 04 2021-10-28           0.0009784736           0.6
## 145          Pollard 10 2022-07-28           0.0047169811           0.4
## 146         Morrison 06 2022-07-28           0.0009784736           0.7
## 147             Malt 11 2022-07-28           0.0050675676           0.4
## 148          Suggary 02 2022-07-28           0.0018714910           0.5
## 149    br. sud amont 01 2022-07-28           0.0026028110           2.7
## 150          Dempsey 12 2022-07-28           0.0005249344           1.2
## 151 Branche sud aval 03 2022-07-28           0.0366726297           2.1
## 152           Sewell 08 2022-07-28           0.0080763583           1.8
## 153     Waugh sanct. 07 2022-07-28           0.0011583012           1.0
## 154        Pok amont 04 2022-07-28           0.0073028238           0.7
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179           0.7
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736           0.8
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910           1.9
## 158          Pollard 10 2022-09-01           0.0047169811           1.3
## 159    br. sud amont 01 2022-09-01           0.0073028238           3.0
## 160         Morrison 06 2022-09-01           0.0009784736           2.4
## 161             Malt 11 2022-09-01           0.0050675676           0.5
## 162          Suggary 02 2022-09-01           0.0080763583           0.7
## 163     Waugh sanct. 07 2022-09-01           0.0026028110           1.8
## 164          Dempsey 12 2022-09-01           0.0005249344           2.2
## 165 Branche sud aval 03 2022-09-01           0.0366726297           1.9
## 166           Sewell 08 2022-09-01           0.0030991736           2.6
## 167        Pok amont 04 2022-09-01           0.0011583012           1.5
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179           1.4
## 169           Sewell 08 2022-10-03           0.0047169811           3.6
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676           1.2
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910           1.9
## 172          Pollard 10 2022-10-03           0.0011583012           0.4
## 173    br. sud amont 01 2022-10-03           0.0073028238           2.8
## 174         Morrison 06 2022-10-03           0.0009784736           1.0
## 175             Malt 11 2022-10-03           0.0366726297           0.4
## 176          Suggary 02 2022-10-03           0.0080763583           0.3
## 177     Waugh sanct. 07 2022-10-03           0.0026028110           1.3
## 178          Dempsey 12 2022-10-03           0.0005249344           1.3
## 179 Branche sud aval 03 2022-10-03           0.0048309179           1.6
## 180        Pok amont 04 2022-10-03           0.0030991736           1.5
## 181 Branche sud aval 03 2022-11-01           0.0018714910           2.6
## 182           Sewell 08 2022-11-01           0.0047169811           5.4
## 183        Pok amont 04 2022-11-01           0.0009784736           0.8
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676           2.6
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736           2.0
## 186          Pollard 10 2022-11-01           0.0011583012           0.7
## 187    br. sud amont 01 2022-11-01           0.0073028238           4.8
## 188         Morrison 06 2022-11-01           0.0005249344           2.8
## 189             Malt 11 2022-11-01           0.0366726297           1.5
## 190          Suggary 02 2022-11-01           0.0080763583           0.7
## 191     Waugh sanct. 07 2022-11-01           0.0026028110           1.6
## 192          Dempsey 12 2022-11-01           0.0048309179           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_industriel_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Colour_TCU))
##               Station2       Date pctIND_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01           0.0000000000        5.0
## 2          Morrison 06 2001-08-01           0.0000000000       10.0
## 3              Malt 11 2001-08-01           0.0016103060       10.0
## 4           Suggary 02 2001-08-01           0.0020661157        5.0
## 5      Waugh sanct. 07 2001-08-01           0.0011583012       20.0
## 6           Dempsey 12 2001-08-01           0.0058422590       15.0
## 7  Branche sud aval 03 2001-08-01           0.0002668379        5.0
## 8            Sewell 08 2001-08-01           0.0060810811        5.0
## 9         Pok amont 04 2001-08-01           0.0006238303        0.0
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868        0.0
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991        5.0
## 12          Pollard 10 2001-08-01           0.0007342144        5.0
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868        5.0
## 14          Pollard 10 2001-08-28           0.0007342144        5.0
## 15    br. sud amont 01 2001-08-28           0.0000000000        5.0
## 16         Morrison 06 2001-08-28           0.0000000000        5.0
## 17             Malt 11 2001-08-28           0.0016103060        5.0
## 18          Suggary 02 2001-08-28           0.0020661157       10.0
## 19     Waugh sanct. 07 2001-08-28           0.0011583012       10.0
## 20          Dempsey 12 2001-08-28           0.0058422590       15.0
## 21 Branche sud aval 03 2001-08-28           0.0002668379        5.0
## 22           Sewell 08 2001-08-28           0.0060810811       30.0
## 23        Pok amont 04 2001-08-28           0.0006238303        5.0
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991        5.0
## 25        Pok amont 04 2001-09-26           0.0006238303       10.0
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868       30.0
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991       15.0
## 28          Pollard 10 2001-09-26           0.0007342144       20.0
## 29    br. sud amont 01 2001-09-26           0.0000000000      200.0
## 30         Morrison 06 2001-09-26           0.0000000000        5.0
## 31             Malt 11 2001-09-26           0.0016103060       20.0
## 32          Suggary 02 2001-09-26           0.0020661157        5.0
## 33     Waugh sanct. 07 2001-09-26           0.0011583012       10.0
## 34          Dempsey 12 2001-09-26           0.0058422590       20.0
## 35 Branche sud aval 03 2001-09-26           0.0002668379       10.0
## 36           Sewell 08 2001-09-26           0.0060810811       30.0
## 37           Sewell 08 2001-10-31           0.0060810811       80.0
## 38        Pok amont 04 2001-10-31           0.0006238303        5.0
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868       20.0
## 40         Morrison 06 2001-10-31           0.0000000000       15.0
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991      120.0
## 42          Pollard 10 2001-10-31           0.0007342144       10.0
## 43    br. sud amont 01 2001-10-31           0.0000000000       30.0
## 44          Dempsey 12 2001-10-31           0.0058422590       30.0
## 45             Malt 11 2001-10-31           0.0016103060       10.0
## 46          Suggary 02 2001-10-31           0.0020661157       30.0
## 47     Waugh sanct. 07 2001-10-31           0.0011583012      100.0
## 48 Branche sud aval 03 2001-10-31           0.0002668379       20.0
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868       10.0
## 50 Branche sud aval 03 2002-07-29           0.0002668379       15.0
## 51           Sewell 08 2002-07-29           0.0060810811       40.0
## 52        Pok amont 04 2002-07-29           0.0006238303        5.0
## 53    br. sud amont 01 2002-07-29           0.0000000000       15.0
## 54         Morrison 06 2002-07-29           0.0000000000       10.0
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991       80.0
## 56          Pollard 10 2002-07-29           0.0007342144       10.0
## 57     Waugh sanct. 07 2002-07-29           0.0011583012       40.0
## 58          Dempsey 12 2002-07-29           0.0058422590       20.0
## 59             Malt 11 2002-07-29           0.0016103060        5.0
## 60          Suggary 02 2002-07-29           0.0020661157        5.0
## 61        Pok amont 04 2002-08-28           0.0006238303        5.0
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868       20.0
## 63          Dempsey 12 2002-08-28           0.0058422590       40.0
## 64 Branche sud aval 03 2002-08-28           0.0002668379       15.0
## 65           Sewell 08 2002-08-28           0.0060810811       40.0
## 66          Pollard 10 2002-08-28           0.0007342144       10.0
## 67    br. sud amont 01 2002-08-28           0.0000000000       10.0
## 68         Morrison 06 2002-08-28           0.0000000000       10.0
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991       20.0
## 70          Suggary 02 2002-08-28           0.0020661157        7.5
## 71     Waugh sanct. 07 2002-08-28           0.0011583012       30.0
## 72             Malt 11 2002-08-28           0.0016103060       10.0
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868        5.0
## 74           Sewell 08 2002-10-02           0.0060810811       60.0
## 75        Pok amont 04 2002-10-02           0.0006238303        5.0
## 76     Waugh sanct. 07 2002-10-02           0.0011583012       20.0
## 77          Dempsey 12 2002-10-02           0.0058422590       20.0
## 78 Branche sud aval 03 2002-10-02           0.0002668379       15.0
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991       60.0
## 80          Pollard 10 2002-10-02           0.0007342144       10.0
## 81    br. sud amont 01 2002-10-02           0.0000000000       10.0
## 82         Morrison 06 2002-10-02           0.0000000000       10.0
## 83             Malt 11 2002-10-02           0.0016103060        5.0
## 84          Suggary 02 2002-10-02           0.0020661157        5.0
## 85        Pok amont 04 2002-10-31           0.0006238303        5.0
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868       20.0
## 87 Branche sud aval 03 2002-10-31           0.0002668379        NaN
## 88           Sewell 08 2002-10-31           0.0060810811       60.0
## 89          Suggary 02 2002-10-31           0.0020661157        5.0
## 90     Waugh sanct. 07 2002-10-31           0.0011583012       60.0
## 91          Dempsey 12 2002-10-31           0.0058422590       30.0
## 92         Morrison 06 2002-10-31           0.0000000000        5.0
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991       75.0
## 94          Pollard 10 2002-10-31           0.0007342144        5.0
## 95    br. sud amont 01 2002-10-31           0.0000000000       30.0
## 96             Malt 11 2002-10-31           0.0016103060       15.0
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Colour_TCU))
##                Station2       Date pctIND_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28           0.0026028110          8
## 98           Dempsey 12 2021-07-28           0.0005249344         22
## 99  Branche sud aval 03 2021-07-28           0.0048309179         19
## 100           Sewell 08 2021-07-28           0.0030991736         34
## 101     Waugh sanct. 07 2021-07-28           0.0011583012         27
## 102    br. sud amont 01 2021-07-28           0.0073028238         15
## 103         Morrison 06 2021-07-28           0.0009784736         14
## 104             Malt 11 2021-07-28           0.0050675676          7
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910         29
## 106          Pollard 10 2021-07-28           0.0047169811          8
## 107        Pok amont 04 2021-07-28           0.0366726297         11
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583          9
## 109             Malt 11 2021-08-31           0.0047169811          5
## 110          Suggary 02 2021-08-31           0.0080763583          5
## 111     Waugh sanct. 07 2021-08-31           0.0026028110         14
## 112          Dempsey 12 2021-08-31           0.0005249344         14
## 113 Branche sud aval 03 2021-08-31           0.0048309179         20
## 114           Sewell 08 2021-08-31           0.0030991736         24
## 115          Pollard 10 2021-08-31           0.0011583012          8
## 116    br. sud amont 01 2021-08-31           0.0073028238         12
## 117         Morrison 06 2021-08-31           0.0009784736         18
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676          8
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910         37
## 120        Pok amont 04 2021-08-31           0.0366726297         10
## 121          Suggary 02 2021-10-05           0.0018714910          8
## 122         Morrison 06 2021-10-05           0.0047169811         22
## 123             Malt 11 2021-10-05           0.0366726297         66
## 124           Sewell 08 2021-10-05           0.0080763583         47
## 125     Waugh sanct. 07 2021-10-05           0.0026028110        190
## 126          Dempsey 12 2021-10-05           0.0005249344         55
## 127 Branche sud aval 03 2021-10-05           0.0048309179         38
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736        141
## 129          Pollard 10 2021-10-05           0.0011583012         19
## 130    br. sud amont 01 2021-10-05           0.0073028238         44
## 131        Pok amont 04 2021-10-05           0.0009784736         21
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676         33
## 133             Malt 11 2021-10-28           0.0050675676         47
## 134          Suggary 02 2021-10-28           0.0018714910          5
## 135    br. sud amont 01 2021-10-28           0.0047169811         32
## 136         Morrison 06 2021-10-28           0.0005249344         13
## 137 Branche sud aval 03 2021-10-28           0.0366726297         22
## 138           Sewell 08 2021-10-28           0.0080763583         43
## 139     Waugh sanct. 07 2021-10-28           0.0026028110        130
## 140          Dempsey 12 2021-10-28           0.0073028238         33
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179         15
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736        107
## 143          Pollard 10 2021-10-28           0.0011583012         12
## 144        Pok amont 04 2021-10-28           0.0009784736         13
## 145          Pollard 10 2022-07-28           0.0047169811          5
## 146         Morrison 06 2022-07-28           0.0009784736          7
## 147             Malt 11 2022-07-28           0.0050675676          6
## 148          Suggary 02 2022-07-28           0.0018714910          5
## 149    br. sud amont 01 2022-07-28           0.0026028110         26
## 150          Dempsey 12 2022-07-28           0.0005249344         16
## 151 Branche sud aval 03 2022-07-28           0.0366726297         18
## 152           Sewell 08 2022-07-28           0.0080763583         33
## 153     Waugh sanct. 07 2022-07-28           0.0011583012         27
## 154        Pok amont 04 2022-07-28           0.0073028238          7
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179          5
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736         15
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910         48
## 158          Pollard 10 2022-09-01           0.0047169811         23
## 159    br. sud amont 01 2022-09-01           0.0073028238         23
## 160         Morrison 06 2022-09-01           0.0009784736         15
## 161             Malt 11 2022-09-01           0.0050675676         10
## 162          Suggary 02 2022-09-01           0.0080763583          8
## 163     Waugh sanct. 07 2022-09-01           0.0026028110         61
## 164          Dempsey 12 2022-09-01           0.0005249344         21
## 165 Branche sud aval 03 2022-09-01           0.0366726297         21
## 166           Sewell 08 2022-09-01           0.0030991736         43
## 167        Pok amont 04 2022-09-01           0.0011583012         14
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179         41
## 169           Sewell 08 2022-10-03           0.0047169811         71
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676          8
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910        130
## 172          Pollard 10 2022-10-03           0.0011583012         10
## 173    br. sud amont 01 2022-10-03           0.0073028238         20
## 174         Morrison 06 2022-10-03           0.0009784736         10
## 175             Malt 11 2022-10-03           0.0366726297          5
## 176          Suggary 02 2022-10-03           0.0080763583          5
## 177     Waugh sanct. 07 2022-10-03           0.0026028110         53
## 178          Dempsey 12 2022-10-03           0.0005249344         16
## 179 Branche sud aval 03 2022-10-03           0.0048309179         17
## 180        Pok amont 04 2022-10-03           0.0030991736         12
## 181 Branche sud aval 03 2022-11-01           0.0018714910         25
## 182           Sewell 08 2022-11-01           0.0047169811         60
## 183        Pok amont 04 2022-11-01           0.0009784736         11
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676         21
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736        148
## 186          Pollard 10 2022-11-01           0.0011583012         11
## 187    br. sud amont 01 2022-11-01           0.0073028238         42
## 188         Morrison 06 2022-11-01           0.0005249344         13
## 189             Malt 11 2022-11-01           0.0366726297         22
## 190          Suggary 02 2022-11-01           0.0080763583          9
## 191     Waugh sanct. 07 2022-11-01           0.0026028110        143
## 192          Dempsey 12 2022-11-01           0.0048309179         28
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_industriel_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctIND_supdrainee_1990
## 1     br. sud amont 01 2001-08-01           0.0000000000
## 2          Morrison 06 2001-08-01           0.0000000000
## 3              Malt 11 2001-08-01           0.0016103060
## 4           Suggary 02 2001-08-01           0.0020661157
## 5      Waugh sanct. 07 2001-08-01           0.0011583012
## 6           Dempsey 12 2001-08-01           0.0058422590
## 7  Branche sud aval 03 2001-08-01           0.0002668379
## 8            Sewell 08 2001-08-01           0.0060810811
## 9         Pok amont 04 2001-08-01           0.0006238303
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991
## 12          Pollard 10 2001-08-01           0.0007342144
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868
## 14          Pollard 10 2001-08-28           0.0007342144
## 15    br. sud amont 01 2001-08-28           0.0000000000
## 16         Morrison 06 2001-08-28           0.0000000000
## 17             Malt 11 2001-08-28           0.0016103060
## 18          Suggary 02 2001-08-28           0.0020661157
## 19     Waugh sanct. 07 2001-08-28           0.0011583012
## 20          Dempsey 12 2001-08-28           0.0058422590
## 21 Branche sud aval 03 2001-08-28           0.0002668379
## 22           Sewell 08 2001-08-28           0.0060810811
## 23        Pok amont 04 2001-08-28           0.0006238303
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991
## 25        Pok amont 04 2001-09-26           0.0006238303
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991
## 28          Pollard 10 2001-09-26           0.0007342144
## 29    br. sud amont 01 2001-09-26           0.0000000000
## 30         Morrison 06 2001-09-26           0.0000000000
## 31             Malt 11 2001-09-26           0.0016103060
## 32          Suggary 02 2001-09-26           0.0020661157
## 33     Waugh sanct. 07 2001-09-26           0.0011583012
## 34          Dempsey 12 2001-09-26           0.0058422590
## 35 Branche sud aval 03 2001-09-26           0.0002668379
## 36           Sewell 08 2001-09-26           0.0060810811
## 37           Sewell 08 2001-10-31           0.0060810811
## 38        Pok amont 04 2001-10-31           0.0006238303
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868
## 40         Morrison 06 2001-10-31           0.0000000000
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991
## 42          Pollard 10 2001-10-31           0.0007342144
## 43    br. sud amont 01 2001-10-31           0.0000000000
## 44          Dempsey 12 2001-10-31           0.0058422590
## 45             Malt 11 2001-10-31           0.0016103060
## 46          Suggary 02 2001-10-31           0.0020661157
## 47     Waugh sanct. 07 2001-10-31           0.0011583012
## 48 Branche sud aval 03 2001-10-31           0.0002668379
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868
## 50 Branche sud aval 03 2002-07-29           0.0002668379
## 51           Sewell 08 2002-07-29           0.0060810811
## 52        Pok amont 04 2002-07-29           0.0006238303
## 53    br. sud amont 01 2002-07-29           0.0000000000
## 54         Morrison 06 2002-07-29           0.0000000000
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991
## 56          Pollard 10 2002-07-29           0.0007342144
## 57     Waugh sanct. 07 2002-07-29           0.0011583012
## 58          Dempsey 12 2002-07-29           0.0058422590
## 59             Malt 11 2002-07-29           0.0016103060
## 60          Suggary 02 2002-07-29           0.0020661157
## 61        Pok amont 04 2002-08-28           0.0006238303
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868
## 63          Dempsey 12 2002-08-28           0.0058422590
## 64 Branche sud aval 03 2002-08-28           0.0002668379
## 65           Sewell 08 2002-08-28           0.0060810811
## 66          Pollard 10 2002-08-28           0.0007342144
## 67    br. sud amont 01 2002-08-28           0.0000000000
## 68         Morrison 06 2002-08-28           0.0000000000
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991
## 70          Suggary 02 2002-08-28           0.0020661157
## 71     Waugh sanct. 07 2002-08-28           0.0011583012
## 72             Malt 11 2002-08-28           0.0016103060
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868
## 74           Sewell 08 2002-10-02           0.0060810811
## 75        Pok amont 04 2002-10-02           0.0006238303
## 76     Waugh sanct. 07 2002-10-02           0.0011583012
## 77          Dempsey 12 2002-10-02           0.0058422590
## 78 Branche sud aval 03 2002-10-02           0.0002668379
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991
## 80          Pollard 10 2002-10-02           0.0007342144
## 81    br. sud amont 01 2002-10-02           0.0000000000
## 82         Morrison 06 2002-10-02           0.0000000000
## 83             Malt 11 2002-10-02           0.0016103060
## 84          Suggary 02 2002-10-02           0.0020661157
## 85        Pok amont 04 2002-10-31           0.0006238303
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868
## 87 Branche sud aval 03 2002-10-31           0.0002668379
## 88           Sewell 08 2002-10-31           0.0060810811
## 89          Suggary 02 2002-10-31           0.0020661157
## 90     Waugh sanct. 07 2002-10-31           0.0011583012
## 91          Dempsey 12 2002-10-31           0.0058422590
## 92         Morrison 06 2002-10-31           0.0000000000
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991
## 94          Pollard 10 2002-10-31           0.0007342144
## 95    br. sud amont 01 2002-10-31           0.0000000000
## 96             Malt 11 2002-10-31           0.0016103060
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctIND_supdrainee_2020
## 97           Suggary 02 2021-07-28           0.0026028110
## 98           Dempsey 12 2021-07-28           0.0005249344
## 99  Branche sud aval 03 2021-07-28           0.0048309179
## 100           Sewell 08 2021-07-28           0.0030991736
## 101     Waugh sanct. 07 2021-07-28           0.0011583012
## 102    br. sud amont 01 2021-07-28           0.0073028238
## 103         Morrison 06 2021-07-28           0.0009784736
## 104             Malt 11 2021-07-28           0.0050675676
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910
## 106          Pollard 10 2021-07-28           0.0047169811
## 107        Pok amont 04 2021-07-28           0.0366726297
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583
## 109             Malt 11 2021-08-31           0.0047169811
## 110          Suggary 02 2021-08-31           0.0080763583
## 111     Waugh sanct. 07 2021-08-31           0.0026028110
## 112          Dempsey 12 2021-08-31           0.0005249344
## 113 Branche sud aval 03 2021-08-31           0.0048309179
## 114           Sewell 08 2021-08-31           0.0030991736
## 115          Pollard 10 2021-08-31           0.0011583012
## 116    br. sud amont 01 2021-08-31           0.0073028238
## 117         Morrison 06 2021-08-31           0.0009784736
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910
## 120        Pok amont 04 2021-08-31           0.0366726297
## 121          Suggary 02 2021-10-05           0.0018714910
## 122         Morrison 06 2021-10-05           0.0047169811
## 123             Malt 11 2021-10-05           0.0366726297
## 124           Sewell 08 2021-10-05           0.0080763583
## 125     Waugh sanct. 07 2021-10-05           0.0026028110
## 126          Dempsey 12 2021-10-05           0.0005249344
## 127 Branche sud aval 03 2021-10-05           0.0048309179
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736
## 129          Pollard 10 2021-10-05           0.0011583012
## 130    br. sud amont 01 2021-10-05           0.0073028238
## 131        Pok amont 04 2021-10-05           0.0009784736
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676
## 133             Malt 11 2021-10-28           0.0050675676
## 134          Suggary 02 2021-10-28           0.0018714910
## 135    br. sud amont 01 2021-10-28           0.0047169811
## 136         Morrison 06 2021-10-28           0.0005249344
## 137 Branche sud aval 03 2021-10-28           0.0366726297
## 138           Sewell 08 2021-10-28           0.0080763583
## 139     Waugh sanct. 07 2021-10-28           0.0026028110
## 140          Dempsey 12 2021-10-28           0.0073028238
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736
## 143          Pollard 10 2021-10-28           0.0011583012
## 144        Pok amont 04 2021-10-28           0.0009784736
## 145          Pollard 10 2022-07-28           0.0047169811
## 146         Morrison 06 2022-07-28           0.0009784736
## 147             Malt 11 2022-07-28           0.0050675676
## 148          Suggary 02 2022-07-28           0.0018714910
## 149    br. sud amont 01 2022-07-28           0.0026028110
## 150          Dempsey 12 2022-07-28           0.0005249344
## 151 Branche sud aval 03 2022-07-28           0.0366726297
## 152           Sewell 08 2022-07-28           0.0080763583
## 153     Waugh sanct. 07 2022-07-28           0.0011583012
## 154        Pok amont 04 2022-07-28           0.0073028238
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910
## 158          Pollard 10 2022-09-01           0.0047169811
## 159    br. sud amont 01 2022-09-01           0.0073028238
## 160         Morrison 06 2022-09-01           0.0009784736
## 161             Malt 11 2022-09-01           0.0050675676
## 162          Suggary 02 2022-09-01           0.0080763583
## 163     Waugh sanct. 07 2022-09-01           0.0026028110
## 164          Dempsey 12 2022-09-01           0.0005249344
## 165 Branche sud aval 03 2022-09-01           0.0366726297
## 166           Sewell 08 2022-09-01           0.0030991736
## 167        Pok amont 04 2022-09-01           0.0011583012
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179
## 169           Sewell 08 2022-10-03           0.0047169811
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910
## 172          Pollard 10 2022-10-03           0.0011583012
## 173    br. sud amont 01 2022-10-03           0.0073028238
## 174         Morrison 06 2022-10-03           0.0009784736
## 175             Malt 11 2022-10-03           0.0366726297
## 176          Suggary 02 2022-10-03           0.0080763583
## 177     Waugh sanct. 07 2022-10-03           0.0026028110
## 178          Dempsey 12 2022-10-03           0.0005249344
## 179 Branche sud aval 03 2022-10-03           0.0048309179
## 180        Pok amont 04 2022-10-03           0.0030991736
## 181 Branche sud aval 03 2022-11-01           0.0018714910
## 182           Sewell 08 2022-11-01           0.0047169811
## 183        Pok amont 04 2022-11-01           0.0009784736
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736
## 186          Pollard 10 2022-11-01           0.0011583012
## 187    br. sud amont 01 2022-11-01           0.0073028238
## 188         Morrison 06 2022-11-01           0.0005249344
## 189             Malt 11 2022-11-01           0.0366726297
## 190          Suggary 02 2022-11-01           0.0080763583
## 191     Waugh sanct. 07 2022-11-01           0.0026028110
## 192          Dempsey 12 2022-11-01           0.0048309179
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le carbone organique totale et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_industriel_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctIND_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01           0.0000000000                10
## 2          Morrison 06 2001-08-01           0.0000000000                80
## 3              Malt 11 2001-08-01           0.0016103060                30
## 4           Suggary 02 2001-08-01           0.0020661157                10
## 5      Waugh sanct. 07 2001-08-01           0.0011583012               270
## 6           Dempsey 12 2001-08-01           0.0058422590                50
## 7  Branche sud aval 03 2001-08-01           0.0002668379                10
## 8            Sewell 08 2001-08-01           0.0060810811                20
## 9         Pok amont 04 2001-08-01           0.0006238303                10
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868                10
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991                30
## 12          Pollard 10 2001-08-01           0.0007342144               110
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868                10
## 14          Pollard 10 2001-08-28           0.0007342144                50
## 15    br. sud amont 01 2001-08-28           0.0000000000               120
## 16         Morrison 06 2001-08-28           0.0000000000                90
## 17             Malt 11 2001-08-28           0.0016103060                20
## 18          Suggary 02 2001-08-28           0.0020661157                80
## 19     Waugh sanct. 07 2001-08-28           0.0011583012               430
## 20          Dempsey 12 2001-08-28           0.0058422590                20
## 21 Branche sud aval 03 2001-08-28           0.0002668379               110
## 22           Sewell 08 2001-08-28           0.0060810811               210
## 23        Pok amont 04 2001-08-28           0.0006238303                10
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991               250
## 25        Pok amont 04 2001-09-26           0.0006238303               530
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868               830
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991               120
## 28          Pollard 10 2001-09-26           0.0007342144              1240
## 29    br. sud amont 01 2001-09-26           0.0000000000              2000
## 30         Morrison 06 2001-09-26           0.0000000000               220
## 31             Malt 11 2001-09-26           0.0016103060               150
## 32          Suggary 02 2001-09-26           0.0020661157               150
## 33     Waugh sanct. 07 2001-09-26           0.0011583012               590
## 34          Dempsey 12 2001-09-26           0.0058422590               150
## 35 Branche sud aval 03 2001-09-26           0.0002668379               660
## 36           Sewell 08 2001-09-26           0.0060810811               190
## 37           Sewell 08 2001-10-31           0.0060810811               140
## 38        Pok amont 04 2001-10-31           0.0006238303                20
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868                10
## 40         Morrison 06 2001-10-31           0.0000000000                10
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991               310
## 42          Pollard 10 2001-10-31           0.0007342144                50
## 43    br. sud amont 01 2001-10-31           0.0000000000                20
## 44          Dempsey 12 2001-10-31           0.0058422590                10
## 45             Malt 11 2001-10-31           0.0016103060               100
## 46          Suggary 02 2001-10-31           0.0020661157                30
## 47     Waugh sanct. 07 2001-10-31           0.0011583012               480
## 48 Branche sud aval 03 2001-10-31           0.0002668379                30
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868                10
## 50 Branche sud aval 03 2002-07-29           0.0002668379                30
## 51           Sewell 08 2002-07-29           0.0060810811                60
## 52        Pok amont 04 2002-07-29           0.0006238303                10
## 53    br. sud amont 01 2002-07-29           0.0000000000                20
## 54         Morrison 06 2002-07-29           0.0000000000                10
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991                10
## 56          Pollard 10 2002-07-29           0.0007342144               660
## 57     Waugh sanct. 07 2002-07-29           0.0011583012                80
## 58          Dempsey 12 2002-07-29           0.0058422590                25
## 59             Malt 11 2002-07-29           0.0016103060                10
## 60          Suggary 02 2002-07-29           0.0020661157                10
## 61        Pok amont 04 2002-08-28           0.0006238303                30
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868                10
## 63          Dempsey 12 2002-08-28           0.0058422590                10
## 64 Branche sud aval 03 2002-08-28           0.0002668379                20
## 65           Sewell 08 2002-08-28           0.0060810811                10
## 66          Pollard 10 2002-08-28           0.0007342144               180
## 67    br. sud amont 01 2002-08-28           0.0000000000                80
## 68         Morrison 06 2002-08-28           0.0000000000                20
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991               310
## 70          Suggary 02 2002-08-28           0.0020661157                15
## 71     Waugh sanct. 07 2002-08-28           0.0011583012               410
## 72             Malt 11 2002-08-28           0.0016103060                30
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868                10
## 74           Sewell 08 2002-10-02           0.0060810811                25
## 75        Pok amont 04 2002-10-02           0.0006238303                10
## 76     Waugh sanct. 07 2002-10-02           0.0011583012               700
## 77          Dempsey 12 2002-10-02           0.0058422590                30
## 78 Branche sud aval 03 2002-10-02           0.0002668379                40
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991               150
## 80          Pollard 10 2002-10-02           0.0007342144                10
## 81    br. sud amont 01 2002-10-02           0.0000000000                20
## 82         Morrison 06 2002-10-02           0.0000000000                10
## 83             Malt 11 2002-10-02           0.0016103060                90
## 84          Suggary 02 2002-10-02           0.0020661157                20
## 85        Pok amont 04 2002-10-31           0.0006238303                10
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868                10
## 87 Branche sud aval 03 2002-10-31           0.0002668379                10
## 88           Sewell 08 2002-10-31           0.0060810811                10
## 89          Suggary 02 2002-10-31           0.0020661157                50
## 90     Waugh sanct. 07 2002-10-31           0.0011583012                40
## 91          Dempsey 12 2002-10-31           0.0058422590                10
## 92         Morrison 06 2002-10-31           0.0000000000                10
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991                30
## 94          Pollard 10 2002-10-31           0.0007342144                10
## 95    br. sud amont 01 2002-10-31           0.0000000000                10
## 96             Malt 11 2002-10-31           0.0016103060                10
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctIND_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28           0.0026028110              20.0
## 98           Dempsey 12 2021-07-28           0.0005249344              52.0
## 99  Branche sud aval 03 2021-07-28           0.0048309179              74.0
## 100           Sewell 08 2021-07-28           0.0030991736              98.0
## 101     Waugh sanct. 07 2021-07-28           0.0011583012              52.0
## 102    br. sud amont 01 2021-07-28           0.0073028238              75.0
## 103         Morrison 06 2021-07-28           0.0009784736              30.0
## 104             Malt 11 2021-07-28           0.0050675676              10.0
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910              75.0
## 106          Pollard 10 2021-07-28           0.0047169811              98.0
## 107        Pok amont 04 2021-07-28           0.0366726297              10.0
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583              20.0
## 109             Malt 11 2021-08-31           0.0047169811              39.3
## 110          Suggary 02 2021-08-31           0.0080763583             235.9
## 111     Waugh sanct. 07 2021-08-31           0.0026028110              68.3
## 112          Dempsey 12 2021-08-31           0.0005249344              49.6
## 113 Branche sud aval 03 2021-08-31           0.0048309179              54.5
## 114           Sewell 08 2021-08-31           0.0030991736             148.3
## 115          Pollard 10 2021-08-31           0.0011583012             117.8
## 116    br. sud amont 01 2021-08-31           0.0073028238              72.7
## 117         Morrison 06 2021-08-31           0.0009784736              25.6
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676              67.7
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910              70.3
## 120        Pok amont 04 2021-08-31           0.0366726297              15.6
## 121          Suggary 02 2021-10-05           0.0018714910              41.7
## 122         Morrison 06 2021-10-05           0.0047169811              24.6
## 123             Malt 11 2021-10-05           0.0366726297              47.1
## 124           Sewell 08 2021-10-05           0.0080763583             135.4
## 125     Waugh sanct. 07 2021-10-05           0.0026028110              29.5
## 126          Dempsey 12 2021-10-05           0.0005249344              54.8
## 127 Branche sud aval 03 2021-10-05           0.0048309179              37.3
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736              95.9
## 129          Pollard 10 2021-10-05           0.0011583012              62.7
## 130    br. sud amont 01 2021-10-05           0.0073028238              35.5
## 131        Pok amont 04 2021-10-05           0.0009784736              10.8
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676              27.5
## 133             Malt 11 2021-10-28           0.0050675676              16.0
## 134          Suggary 02 2021-10-28           0.0018714910               7.4
## 135    br. sud amont 01 2021-10-28           0.0047169811              19.9
## 136         Morrison 06 2021-10-28           0.0005249344              12.1
## 137 Branche sud aval 03 2021-10-28           0.0366726297              39.9
## 138           Sewell 08 2021-10-28           0.0080763583              48.1
## 139     Waugh sanct. 07 2021-10-28           0.0026028110              38.4
## 140          Dempsey 12 2021-10-28           0.0073028238              52.0
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179              24.3
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736              29.5
## 143          Pollard 10 2021-10-28           0.0011583012              34.5
## 144        Pok amont 04 2021-10-28           0.0009784736              14.6
## 145          Pollard 10 2022-07-28           0.0047169811              57.6
## 146         Morrison 06 2022-07-28           0.0009784736             133.4
## 147             Malt 11 2022-07-28           0.0050675676              70.3
## 148          Suggary 02 2022-07-28           0.0018714910              27.5
## 149    br. sud amont 01 2022-07-28           0.0026028110              32.7
## 150          Dempsey 12 2022-07-28           0.0005249344              41.7
## 151 Branche sud aval 03 2022-07-28           0.0366726297              59.8
## 152           Sewell 08 2022-07-28           0.0080763583              90.6
## 153     Waugh sanct. 07 2022-07-28           0.0011583012              93.3
## 154        Pok amont 04 2022-07-28           0.0073028238              77.1
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179              22.8
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736             488.4
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910              82.0
## 158          Pollard 10 2022-09-01           0.0047169811            1046.2
## 159    br. sud amont 01 2022-09-01           0.0073028238             114.5
## 160         Morrison 06 2022-09-01           0.0009784736             686.7
## 161             Malt 11 2022-09-01           0.0050675676              69.1
## 162          Suggary 02 2022-09-01           0.0080763583              40.2
## 163     Waugh sanct. 07 2022-09-01           0.0026028110              88.0
## 164          Dempsey 12 2022-09-01           0.0005249344             248.1
## 165 Branche sud aval 03 2022-09-01           0.0366726297              70.3
## 166           Sewell 08 2022-09-01           0.0030991736             172.2
## 167        Pok amont 04 2022-09-01           0.0011583012               5.2
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179             121.1
## 169           Sewell 08 2022-10-03           0.0047169811              48.8
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676              44.1
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910              59.1
## 172          Pollard 10 2022-10-03           0.0011583012              24.1
## 173    br. sud amont 01 2022-10-03           0.0073028238              57.6
## 174         Morrison 06 2022-10-03           0.0009784736              47.4
## 175             Malt 11 2022-10-03           0.0366726297               5.2
## 176          Suggary 02 2022-10-03           0.0080763583               9.7
## 177     Waugh sanct. 07 2022-10-03           0.0026028110              65.7
## 178          Dempsey 12 2022-10-03           0.0005249344              48.0
## 179 Branche sud aval 03 2022-10-03           0.0048309179              13.4
## 180        Pok amont 04 2022-10-03           0.0030991736               8.4
## 181 Branche sud aval 03 2022-11-01           0.0018714910              24.6
## 182           Sewell 08 2022-11-01           0.0047169811             115.3
## 183        Pok amont 04 2022-11-01           0.0009784736               5.2
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676               3.1
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736              72.3
## 186          Pollard 10 2022-11-01           0.0011583012              20.3
## 187    br. sud amont 01 2022-11-01           0.0073028238              37.3
## 188         Morrison 06 2022-11-01           0.0005249344              39.9
## 189             Malt 11 2022-11-01           0.0366726297              45.0
## 190          Suggary 02 2022-11-01           0.0080763583               8.5
## 191     Waugh sanct. 07 2022-11-01           0.0026028110             249.5
## 192          Dempsey 12 2022-11-01           0.0048309179              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_industriel_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctIND_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01           0.0000000000                0.0080
## 2          Morrison 06 2001-08-01           0.0000000000                0.0080
## 3              Malt 11 2001-08-01           0.0016103060                0.0110
## 4           Suggary 02 2001-08-01           0.0020661157                0.0090
## 5      Waugh sanct. 07 2001-08-01           0.0011583012                0.0150
## 6           Dempsey 12 2001-08-01           0.0058422590                0.0140
## 7  Branche sud aval 03 2001-08-01           0.0002668379                0.0080
## 8            Sewell 08 2001-08-01           0.0060810811                0.0110
## 9         Pok amont 04 2001-08-01           0.0006238303                0.0110
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868                0.0090
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991                0.0160
## 12          Pollard 10 2001-08-01           0.0007342144                0.0150
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868                0.0070
## 14          Pollard 10 2001-08-28           0.0007342144                0.0170
## 15    br. sud amont 01 2001-08-28           0.0000000000                0.0060
## 16         Morrison 06 2001-08-28           0.0000000000                0.0080
## 17             Malt 11 2001-08-28           0.0016103060                0.0080
## 18          Suggary 02 2001-08-28           0.0020661157                0.0080
## 19     Waugh sanct. 07 2001-08-28           0.0011583012                0.0090
## 20          Dempsey 12 2001-08-28           0.0058422590                0.0110
## 21 Branche sud aval 03 2001-08-28           0.0002668379                0.0070
## 22           Sewell 08 2001-08-28           0.0060810811                0.0170
## 23        Pok amont 04 2001-08-28           0.0006238303                0.0060
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991                0.0130
## 25        Pok amont 04 2001-09-26           0.0006238303                0.0130
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868                0.0140
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991                0.0130
## 28          Pollard 10 2001-09-26           0.0007342144                0.0155
## 29    br. sud amont 01 2001-09-26           0.0000000000                0.0130
## 30         Morrison 06 2001-09-26           0.0000000000                0.0080
## 31             Malt 11 2001-09-26           0.0016103060                0.0120
## 32          Suggary 02 2001-09-26           0.0020661157                0.0090
## 33     Waugh sanct. 07 2001-09-26           0.0011583012                0.0140
## 34          Dempsey 12 2001-09-26           0.0058422590                0.0190
## 35 Branche sud aval 03 2001-09-26           0.0002668379                0.0090
## 36           Sewell 08 2001-09-26           0.0060810811                0.0120
## 37           Sewell 08 2001-10-31           0.0060810811                0.0120
## 38        Pok amont 04 2001-10-31           0.0006238303                0.0050
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868                0.0050
## 40         Morrison 06 2001-10-31           0.0000000000                0.0060
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991                0.0110
## 42          Pollard 10 2001-10-31           0.0007342144                0.0080
## 43    br. sud amont 01 2001-10-31           0.0000000000                0.0050
## 44          Dempsey 12 2001-10-31           0.0058422590                0.0090
## 45             Malt 11 2001-10-31           0.0016103060                0.0070
## 46          Suggary 02 2001-10-31           0.0020661157                0.0080
## 47     Waugh sanct. 07 2001-10-31           0.0011583012                0.0120
## 48 Branche sud aval 03 2001-10-31           0.0002668379                0.0050
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868                0.0050
## 50 Branche sud aval 03 2002-07-29           0.0002668379                0.0070
## 51           Sewell 08 2002-07-29           0.0060810811                0.0200
## 52        Pok amont 04 2002-07-29           0.0006238303                0.0060
## 53    br. sud amont 01 2002-07-29           0.0000000000                0.0060
## 54         Morrison 06 2002-07-29           0.0000000000                0.0080
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991                0.0130
## 56          Pollard 10 2002-07-29           0.0007342144                0.0230
## 57     Waugh sanct. 07 2002-07-29           0.0011583012                0.0120
## 58          Dempsey 12 2002-07-29           0.0058422590                0.0100
## 59             Malt 11 2002-07-29           0.0016103060                0.0090
## 60          Suggary 02 2002-07-29           0.0020661157                0.0070
## 61        Pok amont 04 2002-08-28           0.0006238303                0.0100
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868                0.0090
## 63          Dempsey 12 2002-08-28           0.0058422590                0.0130
## 64 Branche sud aval 03 2002-08-28           0.0002668379                0.0080
## 65           Sewell 08 2002-08-28           0.0060810811                0.0100
## 66          Pollard 10 2002-08-28           0.0007342144                0.0160
## 67    br. sud amont 01 2002-08-28           0.0000000000                0.0070
## 68         Morrison 06 2002-08-28           0.0000000000                0.0090
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991                0.0140
## 70          Suggary 02 2002-08-28           0.0020661157                0.0100
## 71     Waugh sanct. 07 2002-08-28           0.0011583012                0.0130
## 72             Malt 11 2002-08-28           0.0016103060                0.0110
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868                0.0070
## 74           Sewell 08 2002-10-02           0.0060810811                0.0155
## 75        Pok amont 04 2002-10-02           0.0006238303                0.0060
## 76     Waugh sanct. 07 2002-10-02           0.0011583012                0.0090
## 77          Dempsey 12 2002-10-02           0.0058422590                0.0120
## 78 Branche sud aval 03 2002-10-02           0.0002668379                0.0080
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991                0.0110
## 80          Pollard 10 2002-10-02           0.0007342144                0.0110
## 81    br. sud amont 01 2002-10-02           0.0000000000                0.0050
## 82         Morrison 06 2002-10-02           0.0000000000                0.0050
## 83             Malt 11 2002-10-02           0.0016103060                0.0080
## 84          Suggary 02 2002-10-02           0.0020661157                0.0070
## 85        Pok amont 04 2002-10-31           0.0006238303                0.0060
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868                0.0050
## 87 Branche sud aval 03 2002-10-31           0.0002668379                0.0050
## 88           Sewell 08 2002-10-31           0.0060810811                0.0130
## 89          Suggary 02 2002-10-31           0.0020661157                0.0050
## 90     Waugh sanct. 07 2002-10-31           0.0011583012                0.0080
## 91          Dempsey 12 2002-10-31           0.0058422590                0.0080
## 92         Morrison 06 2002-10-31           0.0000000000                0.0050
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991                0.0090
## 94          Pollard 10 2002-10-31           0.0007342144                0.0060
## 95    br. sud amont 01 2002-10-31           0.0000000000                0.0065
## 96             Malt 11 2002-10-31           0.0016103060                0.0050
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctIND_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28           0.0026028110                 0.018
## 98           Dempsey 12 2021-07-28           0.0005249344                 0.024
## 99  Branche sud aval 03 2021-07-28           0.0048309179                 0.022
## 100           Sewell 08 2021-07-28           0.0030991736                 0.028
## 101     Waugh sanct. 07 2021-07-28           0.0011583012                 0.017
## 102    br. sud amont 01 2021-07-28           0.0073028238                 0.016
## 103         Morrison 06 2021-07-28           0.0009784736                 0.019
## 104             Malt 11 2021-07-28           0.0050675676                 0.014
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910                 0.026
## 106          Pollard 10 2021-07-28           0.0047169811                 0.051
## 107        Pok amont 04 2021-07-28           0.0366726297                 0.022
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583                 0.014
## 109             Malt 11 2021-08-31           0.0047169811                 0.005
## 110          Suggary 02 2021-08-31           0.0080763583                 0.011
## 111     Waugh sanct. 07 2021-08-31           0.0026028110                 0.006
## 112          Dempsey 12 2021-08-31           0.0005249344                 0.014
## 113 Branche sud aval 03 2021-08-31           0.0048309179                 0.009
## 114           Sewell 08 2021-08-31           0.0030991736                 0.015
## 115          Pollard 10 2021-08-31           0.0011583012                 0.073
## 116    br. sud amont 01 2021-08-31           0.0073028238                 0.016
## 117         Morrison 06 2021-08-31           0.0009784736                 0.016
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676                 0.012
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910                 0.029
## 120        Pok amont 04 2021-08-31           0.0366726297                 0.008
## 121          Suggary 02 2021-10-05           0.0018714910                 0.007
## 122         Morrison 06 2021-10-05           0.0047169811                 0.010
## 123             Malt 11 2021-10-05           0.0366726297                 0.012
## 124           Sewell 08 2021-10-05           0.0080763583                 0.024
## 125     Waugh sanct. 07 2021-10-05           0.0026028110                 0.019
## 126          Dempsey 12 2021-10-05           0.0005249344                 0.018
## 127 Branche sud aval 03 2021-10-05           0.0048309179                 0.015
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736                 0.025
## 129          Pollard 10 2021-10-05           0.0011583012                 0.037
## 130    br. sud amont 01 2021-10-05           0.0073028238                 0.019
## 131        Pok amont 04 2021-10-05           0.0009784736                 0.008
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676                 0.011
## 133             Malt 11 2021-10-28           0.0050675676                 0.009
## 134          Suggary 02 2021-10-28           0.0018714910                 0.009
## 135    br. sud amont 01 2021-10-28           0.0047169811                 0.013
## 136         Morrison 06 2021-10-28           0.0005249344                 0.011
## 137 Branche sud aval 03 2021-10-28           0.0366726297                 0.022
## 138           Sewell 08 2021-10-28           0.0080763583                 0.020
## 139     Waugh sanct. 07 2021-10-28           0.0026028110                 0.018
## 140          Dempsey 12 2021-10-28           0.0073028238                 0.015
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179                 0.010
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736                 0.018
## 143          Pollard 10 2021-10-28           0.0011583012                 0.033
## 144        Pok amont 04 2021-10-28           0.0009784736                 0.013
## 145          Pollard 10 2022-07-28           0.0047169811                 0.034
## 146         Morrison 06 2022-07-28           0.0009784736                 0.014
## 147             Malt 11 2022-07-28           0.0050675676                 0.008
## 148          Suggary 02 2022-07-28           0.0018714910                 0.009
## 149    br. sud amont 01 2022-07-28           0.0026028110                 0.016
## 150          Dempsey 12 2022-07-28           0.0005249344                 0.017
## 151 Branche sud aval 03 2022-07-28           0.0366726297                 0.013
## 152           Sewell 08 2022-07-28           0.0080763583                 0.019
## 153     Waugh sanct. 07 2022-07-28           0.0011583012                 0.011
## 154        Pok amont 04 2022-07-28           0.0073028238                 0.009
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179                 0.009
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736                 0.019
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910                 0.024
## 158          Pollard 10 2022-09-01           0.0047169811                 0.075
## 159    br. sud amont 01 2022-09-01           0.0073028238                 0.015
## 160         Morrison 06 2022-09-01           0.0009784736                 0.021
## 161             Malt 11 2022-09-01           0.0050675676                 0.008
## 162          Suggary 02 2022-09-01           0.0080763583                 0.010
## 163     Waugh sanct. 07 2022-09-01           0.0026028110                 0.021
## 164          Dempsey 12 2022-09-01           0.0005249344                 0.021
## 165 Branche sud aval 03 2022-09-01           0.0366726297                 0.016
## 166           Sewell 08 2022-09-01           0.0030991736                 0.019
## 167        Pok amont 04 2022-09-01           0.0011583012                 0.010
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179                 0.012
## 169           Sewell 08 2022-10-03           0.0047169811                 0.016
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676                 0.019
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910                 0.022
## 172          Pollard 10 2022-10-03           0.0011583012                 0.049
## 173    br. sud amont 01 2022-10-03           0.0073028238                 0.016
## 174         Morrison 06 2022-10-03           0.0009784736                 0.014
## 175             Malt 11 2022-10-03           0.0366726297                 0.007
## 176          Suggary 02 2022-10-03           0.0080763583                 0.005
## 177     Waugh sanct. 07 2022-10-03           0.0026028110                 0.013
## 178          Dempsey 12 2022-10-03           0.0005249344                 0.013
## 179 Branche sud aval 03 2022-10-03           0.0048309179                 0.009
## 180        Pok amont 04 2022-10-03           0.0030991736                 0.013
## 181 Branche sud aval 03 2022-11-01           0.0018714910                 0.013
## 182           Sewell 08 2022-11-01           0.0047169811                 0.021
## 183        Pok amont 04 2022-11-01           0.0009784736                 0.011
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676                 0.017
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736                 0.020
## 186          Pollard 10 2022-11-01           0.0011583012                 0.041
## 187    br. sud amont 01 2022-11-01           0.0073028238                 0.020
## 188         Morrison 06 2022-11-01           0.0005249344                 0.018
## 189             Malt 11 2022-11-01           0.0366726297                 0.009
## 190          Suggary 02 2022-11-01           0.0080763583                 0.010
## 191     Waugh sanct. 07 2022-11-01           0.0026028110                 0.017
## 192          Dempsey 12 2022-11-01           0.0048309179                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_industriel_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctIND_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01           0.0000000000            0.0500
## 2          Morrison 06 2001-08-01           0.0000000000            0.0940
## 3              Malt 11 2001-08-01           0.0016103060            0.0500
## 4           Suggary 02 2001-08-01           0.0020661157            0.0500
## 5      Waugh sanct. 07 2001-08-01           0.0011583012            0.0500
## 6           Dempsey 12 2001-08-01           0.0058422590            0.0500
## 7  Branche sud aval 03 2001-08-01           0.0002668379            0.0500
## 8            Sewell 08 2001-08-01           0.0060810811            0.1360
## 9         Pok amont 04 2001-08-01           0.0006238303            0.0500
## 10 Trout Val-Doucet 09 2001-08-01           0.0033018868            0.0500
## 11 McConnell Six Rd 05 2001-08-01           0.0049194991            0.2510
## 12          Pollard 10 2001-08-01           0.0007342144            0.2600
## 13 Trout Val-Doucet 09 2001-08-28           0.0033018868            0.0500
## 14          Pollard 10 2001-08-28           0.0007342144            0.3010
## 15    br. sud amont 01 2001-08-28           0.0000000000            0.0500
## 16         Morrison 06 2001-08-28           0.0000000000            0.0910
## 17             Malt 11 2001-08-28           0.0016103060            0.0500
## 18          Suggary 02 2001-08-28           0.0020661157            0.0500
## 19     Waugh sanct. 07 2001-08-28           0.0011583012            0.0500
## 20          Dempsey 12 2001-08-28           0.0058422590            0.0500
## 21 Branche sud aval 03 2001-08-28           0.0002668379            0.0500
## 22           Sewell 08 2001-08-28           0.0060810811            0.1330
## 23        Pok amont 04 2001-08-28           0.0006238303            0.0500
## 24 McConnell Six Rd 05 2001-08-28           0.0049194991            0.2810
## 25        Pok amont 04 2001-09-26           0.0006238303            0.0500
## 26 Trout Val-Doucet 09 2001-09-26           0.0033018868            0.0500
## 27 McConnell Six Rd 05 2001-09-26           0.0049194991            0.2110
## 28          Pollard 10 2001-09-26           0.0007342144            0.1845
## 29    br. sud amont 01 2001-09-26           0.0000000000            0.0770
## 30         Morrison 06 2001-09-26           0.0000000000            0.0500
## 31             Malt 11 2001-09-26           0.0016103060            0.0500
## 32          Suggary 02 2001-09-26           0.0020661157            0.0500
## 33     Waugh sanct. 07 2001-09-26           0.0011583012            0.0500
## 34          Dempsey 12 2001-09-26           0.0058422590            0.0500
## 35 Branche sud aval 03 2001-09-26           0.0002668379            0.0500
## 36           Sewell 08 2001-09-26           0.0060810811            0.0500
## 37           Sewell 08 2001-10-31           0.0060810811            0.0500
## 38        Pok amont 04 2001-10-31           0.0006238303            0.0500
## 39 Trout Val-Doucet 09 2001-10-31           0.0033018868            0.0500
## 40         Morrison 06 2001-10-31           0.0000000000            0.0500
## 41 McConnell Six Rd 05 2001-10-31           0.0049194991            0.0500
## 42          Pollard 10 2001-10-31           0.0007342144            0.2300
## 43    br. sud amont 01 2001-10-31           0.0000000000            0.0500
## 44          Dempsey 12 2001-10-31           0.0058422590            0.0500
## 45             Malt 11 2001-10-31           0.0016103060            0.0500
## 46          Suggary 02 2001-10-31           0.0020661157            0.0500
## 47     Waugh sanct. 07 2001-10-31           0.0011583012            0.0500
## 48 Branche sud aval 03 2001-10-31           0.0002668379            0.0500
## 49 Trout Val-Doucet 09 2002-07-29           0.0033018868            0.0500
## 50 Branche sud aval 03 2002-07-29           0.0002668379            0.0500
## 51           Sewell 08 2002-07-29           0.0060810811            0.2200
## 52        Pok amont 04 2002-07-29           0.0006238303            0.0700
## 53    br. sud amont 01 2002-07-29           0.0000000000            0.0500
## 54         Morrison 06 2002-07-29           0.0000000000            0.0700
## 55 McConnell Six Rd 05 2002-07-29           0.0049194991            0.2800
## 56          Pollard 10 2002-07-29           0.0007342144            0.3300
## 57     Waugh sanct. 07 2002-07-29           0.0011583012            0.0500
## 58          Dempsey 12 2002-07-29           0.0058422590            0.0500
## 59             Malt 11 2002-07-29           0.0016103060            0.0500
## 60          Suggary 02 2002-07-29           0.0020661157            0.1900
## 61        Pok amont 04 2002-08-28           0.0006238303            0.0700
## 62 Trout Val-Doucet 09 2002-08-28           0.0033018868            0.0500
## 63          Dempsey 12 2002-08-28           0.0058422590            0.0500
## 64 Branche sud aval 03 2002-08-28           0.0002668379            0.0500
## 65           Sewell 08 2002-08-28           0.0060810811            0.0500
## 66          Pollard 10 2002-08-28           0.0007342144            0.1800
## 67    br. sud amont 01 2002-08-28           0.0000000000            0.0500
## 68         Morrison 06 2002-08-28           0.0000000000            0.0700
## 69 McConnell Six Rd 05 2002-08-28           0.0049194991            0.3000
## 70          Suggary 02 2002-08-28           0.0020661157            0.1750
## 71     Waugh sanct. 07 2002-08-28           0.0011583012            0.0500
## 72             Malt 11 2002-08-28           0.0016103060            0.0500
## 73 Trout Val-Doucet 09 2002-10-02           0.0033018868            0.0500
## 74           Sewell 08 2002-10-02           0.0060810811            0.0500
## 75        Pok amont 04 2002-10-02           0.0006238303            0.0500
## 76     Waugh sanct. 07 2002-10-02           0.0011583012            0.0500
## 77          Dempsey 12 2002-10-02           0.0058422590            0.0500
## 78 Branche sud aval 03 2002-10-02           0.0002668379            0.0500
## 79 McConnell Six Rd 05 2002-10-02           0.0049194991            0.1900
## 80          Pollard 10 2002-10-02           0.0007342144            0.1300
## 81    br. sud amont 01 2002-10-02           0.0000000000            0.0500
## 82         Morrison 06 2002-10-02           0.0000000000            0.0500
## 83             Malt 11 2002-10-02           0.0016103060            0.0500
## 84          Suggary 02 2002-10-02           0.0020661157            0.1300
## 85        Pok amont 04 2002-10-31           0.0006238303            0.0500
## 86 Trout Val-Doucet 09 2002-10-31           0.0033018868            0.0500
## 87 Branche sud aval 03 2002-10-31           0.0002668379            0.0500
## 88           Sewell 08 2002-10-31           0.0060810811            0.2300
## 89          Suggary 02 2002-10-31           0.0020661157            0.1500
## 90     Waugh sanct. 07 2002-10-31           0.0011583012            0.0800
## 91          Dempsey 12 2002-10-31           0.0058422590            0.0500
## 92         Morrison 06 2002-10-31           0.0000000000            0.0700
## 93 McConnell Six Rd 05 2002-10-31           0.0049194991            0.2200
## 94          Pollard 10 2002-10-31           0.0007342144            0.1900
## 95    br. sud amont 01 2002-10-31           0.0000000000            0.0500
## 96             Malt 11 2002-10-31           0.0016103060            0.1300
subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctIND_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28           0.0026028110              0.11
## 98           Dempsey 12 2021-07-28           0.0005249344              0.08
## 99  Branche sud aval 03 2021-07-28           0.0048309179              0.05
## 100           Sewell 08 2021-07-28           0.0030991736              0.17
## 101     Waugh sanct. 07 2021-07-28           0.0011583012              0.06
## 102    br. sud amont 01 2021-07-28           0.0073028238              0.08
## 103         Morrison 06 2021-07-28           0.0009784736              0.05
## 104             Malt 11 2021-07-28           0.0050675676              0.06
## 105 McConnell Six Rd 05 2021-07-28           0.0018714910              0.21
## 106          Pollard 10 2021-07-28           0.0047169811              0.40
## 107        Pok amont 04 2021-07-28           0.0366726297              0.12
## 108 Trout Val-Doucet 09 2021-07-28           0.0080763583              0.18
## 109             Malt 11 2021-08-31           0.0047169811              0.06
## 110          Suggary 02 2021-08-31           0.0080763583              0.12
## 111     Waugh sanct. 07 2021-08-31           0.0026028110              0.05
## 112          Dempsey 12 2021-08-31           0.0005249344              0.08
## 113 Branche sud aval 03 2021-08-31           0.0048309179              0.06
## 114           Sewell 08 2021-08-31           0.0030991736              0.12
## 115          Pollard 10 2021-08-31           0.0011583012              0.32
## 116    br. sud amont 01 2021-08-31           0.0073028238              0.05
## 117         Morrison 06 2021-08-31           0.0009784736              0.05
## 118 Trout Val-Doucet 09 2021-08-31           0.0050675676              0.14
## 119 McConnell Six Rd 05 2021-08-31           0.0018714910              0.21
## 120        Pok amont 04 2021-08-31           0.0366726297              0.10
## 121          Suggary 02 2021-10-05           0.0018714910              0.17
## 122         Morrison 06 2021-10-05           0.0047169811              0.06
## 123             Malt 11 2021-10-05           0.0366726297              0.12
## 124           Sewell 08 2021-10-05           0.0080763583              0.13
## 125     Waugh sanct. 07 2021-10-05           0.0026028110              0.05
## 126          Dempsey 12 2021-10-05           0.0005249344              0.09
## 127 Branche sud aval 03 2021-10-05           0.0048309179              0.05
## 128 McConnell Six Rd 05 2021-10-05           0.0030991736              0.33
## 129          Pollard 10 2021-10-05           0.0011583012              0.38
## 130    br. sud amont 01 2021-10-05           0.0073028238              0.05
## 131        Pok amont 04 2021-10-05           0.0009784736              0.11
## 132 Trout Val-Doucet 09 2021-10-05           0.0050675676              0.22
## 133             Malt 11 2021-10-28           0.0050675676              0.07
## 134          Suggary 02 2021-10-28           0.0018714910              0.15
## 135    br. sud amont 01 2021-10-28           0.0047169811              0.05
## 136         Morrison 06 2021-10-28           0.0005249344              0.08
## 137 Branche sud aval 03 2021-10-28           0.0366726297              0.07
## 138           Sewell 08 2021-10-28           0.0080763583              0.14
## 139     Waugh sanct. 07 2021-10-28           0.0026028110              0.05
## 140          Dempsey 12 2021-10-28           0.0073028238              0.10
## 141 Trout Val-Doucet 09 2021-10-28           0.0048309179              0.27
## 142 McConnell Six Rd 05 2021-10-28           0.0030991736              0.36
## 143          Pollard 10 2021-10-28           0.0011583012              0.38
## 144        Pok amont 04 2021-10-28           0.0009784736              0.13
## 145          Pollard 10 2022-07-28           0.0047169811              0.40
## 146         Morrison 06 2022-07-28           0.0009784736              0.08
## 147             Malt 11 2022-07-28           0.0050675676              0.06
## 148          Suggary 02 2022-07-28           0.0018714910              0.11
## 149    br. sud amont 01 2022-07-28           0.0026028110              0.05
## 150          Dempsey 12 2022-07-28           0.0005249344              0.11
## 151 Branche sud aval 03 2022-07-28           0.0366726297              0.07
## 152           Sewell 08 2022-07-28           0.0080763583              0.17
## 153     Waugh sanct. 07 2022-07-28           0.0011583012              0.05
## 154        Pok amont 04 2022-07-28           0.0073028238              0.07
## 155 Trout Val-Doucet 09 2022-07-28           0.0048309179              0.15
## 156 McConnell Six Rd 05 2022-07-28           0.0030991736              0.36
## 157 McConnell Six Rd 05 2022-09-01           0.0018714910              0.26
## 158          Pollard 10 2022-09-01           0.0047169811              0.53
## 159    br. sud amont 01 2022-09-01           0.0073028238              0.05
## 160         Morrison 06 2022-09-01           0.0009784736              0.06
## 161             Malt 11 2022-09-01           0.0050675676              0.10
## 162          Suggary 02 2022-09-01           0.0080763583              0.13
## 163     Waugh sanct. 07 2022-09-01           0.0026028110              0.10
## 164          Dempsey 12 2022-09-01           0.0005249344              0.15
## 165 Branche sud aval 03 2022-09-01           0.0366726297              0.06
## 166           Sewell 08 2022-09-01           0.0030991736              0.17
## 167        Pok amont 04 2022-09-01           0.0011583012              0.06
## 168 Trout Val-Doucet 09 2022-09-01           0.0048309179              0.12
## 169           Sewell 08 2022-10-03           0.0047169811              0.08
## 170 Trout Val-Doucet 09 2022-10-03           0.0050675676              0.11
## 171 McConnell Six Rd 05 2022-10-03           0.0018714910              0.27
## 172          Pollard 10 2022-10-03           0.0011583012              0.50
## 173    br. sud amont 01 2022-10-03           0.0073028238              0.06
## 174         Morrison 06 2022-10-03           0.0009784736              0.05
## 175             Malt 11 2022-10-03           0.0366726297              0.06
## 176          Suggary 02 2022-10-03           0.0080763583              0.15
## 177     Waugh sanct. 07 2022-10-03           0.0026028110              0.09
## 178          Dempsey 12 2022-10-03           0.0005249344              0.09
## 179 Branche sud aval 03 2022-10-03           0.0048309179              0.05
## 180        Pok amont 04 2022-10-03           0.0030991736              0.05
## 181 Branche sud aval 03 2022-11-01           0.0018714910              0.05
## 182           Sewell 08 2022-11-01           0.0047169811              0.15
## 183        Pok amont 04 2022-11-01           0.0009784736              0.07
## 184 Trout Val-Doucet 09 2022-11-01           0.0050675676              0.14
## 185 McConnell Six Rd 05 2022-11-01           0.0030991736              0.25
## 186          Pollard 10 2022-11-01           0.0011583012              0.54
## 187    br. sud amont 01 2022-11-01           0.0073028238              0.07
## 188         Morrison 06 2022-11-01           0.0005249344              0.09
## 189             Malt 11 2022-11-01           0.0366726297              0.07
## 190          Suggary 02 2022-11-01           0.0080763583              0.16
## 191     Waugh sanct. 07 2022-11-01           0.0026028110              0.06
## 192          Dempsey 12 2022-11-01           0.0048309179              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctIND_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctIND_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctIND_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctIND_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

INF: Infrastructures

# Crée la variable pourcentage


Period1$pctINF_supdrainee_1990 = Period1$INF_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctINF_supdrainee_2020 = Period1$INF_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Infrastructures_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctINF_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01            0.015096304              11.5
## 2          Morrison 06 2001-08-01            0.009973753              10.2
## 3              Malt 11 2001-08-01            0.019860440              25.2
## 4           Suggary 02 2001-08-01            0.008264463              14.4
## 5      Waugh sanct. 07 2001-08-01            0.011969112              10.8
## 6           Dempsey 12 2001-08-01            0.014605648              20.4
## 7  Branche sud aval 03 2001-08-01            0.008422603              13.5
## 8            Sewell 08 2001-08-01            0.008783784              12.8
## 9         Pok amont 04 2001-08-01            0.007485964              11.4
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755              14.5
## 11 McConnell Six Rd 05 2001-08-01            0.024150268               9.0
## 12          Pollard 10 2001-08-01            0.019823789              15.1
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755               9.3
## 14          Pollard 10 2001-08-28            0.019823789              12.0
## 15    br. sud amont 01 2001-08-28            0.015096304              10.0
## 16         Morrison 06 2001-08-28            0.009973753               NaN
## 17             Malt 11 2001-08-28            0.019860440               8.8
## 18          Suggary 02 2001-08-28            0.008264463              13.0
## 19     Waugh sanct. 07 2001-08-28            0.011969112              10.6
## 20          Dempsey 12 2001-08-28            0.014605648              13.5
## 21 Branche sud aval 03 2001-08-28            0.008422603              11.5
## 22           Sewell 08 2001-08-28            0.008783784              13.5
## 23        Pok amont 04 2001-08-28            0.007485964               8.4
## 24 McConnell Six Rd 05 2001-08-28            0.024150268              10.9
## 25        Pok amont 04 2001-09-26            0.007485964               9.8
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755              10.7
## 27 McConnell Six Rd 05 2001-09-26            0.024150268              11.8
## 28          Pollard 10 2001-09-26            0.019823789              12.7
## 29    br. sud amont 01 2001-09-26            0.015096304              11.5
## 30         Morrison 06 2001-09-26            0.009973753              11.2
## 31             Malt 11 2001-09-26            0.019860440               9.3
## 32          Suggary 02 2001-09-26            0.008264463              12.9
## 33     Waugh sanct. 07 2001-09-26            0.011969112              10.4
## 34          Dempsey 12 2001-09-26            0.014605648              13.4
## 35 Branche sud aval 03 2001-09-26            0.008422603              12.0
## 36           Sewell 08 2001-09-26            0.008783784              12.9
## 37           Sewell 08 2001-10-31            0.008783784               1.4
## 38        Pok amont 04 2001-10-31            0.007485964               4.8
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755               3.0
## 40         Morrison 06 2001-10-31            0.009973753               1.8
## 41 McConnell Six Rd 05 2001-10-31            0.024150268               2.1
## 42          Pollard 10 2001-10-31            0.019823789               3.3
## 43    br. sud amont 01 2001-10-31            0.015096304               2.7
## 44          Dempsey 12 2001-10-31            0.014605648               3.9
## 45             Malt 11 2001-10-31            0.019860440               4.8
## 46          Suggary 02 2001-10-31            0.008264463               2.1
## 47     Waugh sanct. 07 2001-10-31            0.011969112               2.7
## 48 Branche sud aval 03 2001-10-31            0.008422603               2.3
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755              17.5
## 50 Branche sud aval 03 2002-07-29            0.008422603              15.7
## 51           Sewell 08 2002-07-29            0.008783784              16.8
## 52        Pok amont 04 2002-07-29            0.007485964              13.3
## 53    br. sud amont 01 2002-07-29            0.015096304              14.7
## 54         Morrison 06 2002-07-29            0.009973753              17.3
## 55 McConnell Six Rd 05 2002-07-29            0.024150268              17.4
## 56          Pollard 10 2002-07-29            0.019823789              17.0
## 57     Waugh sanct. 07 2002-07-29            0.011969112              16.4
## 58          Dempsey 12 2002-07-29            0.014605648              15.6
## 59             Malt 11 2002-07-29            0.019860440              14.9
## 60          Suggary 02 2002-07-29            0.008264463              17.9
## 61        Pok amont 04 2002-08-28            0.007485964               8.0
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755              10.2
## 63          Dempsey 12 2002-08-28            0.014605648              13.2
## 64 Branche sud aval 03 2002-08-28            0.008422603              11.3
## 65           Sewell 08 2002-08-28            0.008783784              13.1
## 66          Pollard 10 2002-08-28            0.019823789              11.1
## 67    br. sud amont 01 2002-08-28            0.015096304              11.1
## 68         Morrison 06 2002-08-28            0.009973753               9.9
## 69 McConnell Six Rd 05 2002-08-28            0.024150268              12.9
## 70          Suggary 02 2002-08-28            0.008264463              10.6
## 71     Waugh sanct. 07 2002-08-28            0.011969112              10.1
## 72             Malt 11 2002-08-28            0.019860440               7.9
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755              10.7
## 74           Sewell 08 2002-10-02            0.008783784              12.7
## 75        Pok amont 04 2002-10-02            0.007485964               7.8
## 76     Waugh sanct. 07 2002-10-02            0.011969112              10.7
## 77          Dempsey 12 2002-10-02            0.014605648              11.1
## 78 Branche sud aval 03 2002-10-02            0.008422603              10.9
## 79 McConnell Six Rd 05 2002-10-02            0.024150268              12.9
## 80          Pollard 10 2002-10-02            0.019823789              10.8
## 81    br. sud amont 01 2002-10-02            0.015096304              11.0
## 82         Morrison 06 2002-10-02            0.009973753              10.5
## 83             Malt 11 2002-10-02            0.019860440               7.8
## 84          Suggary 02 2002-10-02            0.008264463              10.3
## 85        Pok amont 04 2002-10-31            0.007485964               4.6
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755               2.7
## 87 Branche sud aval 03 2002-10-31            0.008422603               NaN
## 88           Sewell 08 2002-10-31            0.008783784               1.6
## 89          Suggary 02 2002-10-31            0.008264463               2.7
## 90     Waugh sanct. 07 2002-10-31            0.011969112               2.7
## 91          Dempsey 12 2002-10-31            0.014605648               3.3
## 92         Morrison 06 2002-10-31            0.009973753               1.7
## 93 McConnell Six Rd 05 2002-10-31            0.024150268               2.3
## 94          Pollard 10 2002-10-31            0.019823789               2.7
## 95    br. sud amont 01 2002-10-31            0.015096304               2.5
## 96             Malt 11 2002-10-31            0.019860440               4.4
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctINF_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28             0.03956273              11.5
## 98           Dempsey 12 2021-07-28             0.01679790              16.1
## 99  Branche sud aval 03 2021-07-28             0.02683843              15.5
## 100           Sewell 08 2021-07-28             0.01859504              14.2
## 101     Waugh sanct. 07 2021-07-28             0.01737452              12.1
## 102    br. sud amont 01 2021-07-28             0.02677702              14.0
## 103         Morrison 06 2021-07-28             0.02419498              15.7
## 104             Malt 11 2021-07-28             0.03412162              11.7
## 105 McConnell Six Rd 05 2021-07-28             0.01871491              16.9
## 106          Pollard 10 2021-07-28             0.02877358              14.6
## 107        Pok amont 04 2021-07-28             0.02593918              11.2
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336              11.9
## 109             Malt 11 2021-08-31             0.02877358              12.0
## 110          Suggary 02 2021-08-31             0.03891336              11.0
## 111     Waugh sanct. 07 2021-08-31             0.03956273              12.8
## 112          Dempsey 12 2021-08-31             0.01679790              15.0
## 113 Branche sud aval 03 2021-08-31             0.02683843              15.0
## 114           Sewell 08 2021-08-31             0.01859504              14.6
## 115          Pollard 10 2021-08-31             0.01737452              15.7
## 116    br. sud amont 01 2021-08-31             0.02677702              13.7
## 117         Morrison 06 2021-08-31             0.02419498              14.9
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162              11.7
## 119 McConnell Six Rd 05 2021-08-31             0.01871491              16.4
## 120        Pok amont 04 2021-08-31             0.02593918              10.8
## 121          Suggary 02 2021-10-05             0.01871491               6.3
## 122         Morrison 06 2021-10-05             0.02877358               7.0
## 123             Malt 11 2021-10-05             0.02593918               8.5
## 124           Sewell 08 2021-10-05             0.03891336               8.0
## 125     Waugh sanct. 07 2021-10-05             0.03956273               9.0
## 126          Dempsey 12 2021-10-05             0.01679790               8.7
## 127 Branche sud aval 03 2021-10-05             0.02683843               7.9
## 128 McConnell Six Rd 05 2021-10-05             0.01859504               7.9
## 129          Pollard 10 2021-10-05             0.01737452               8.7
## 130    br. sud amont 01 2021-10-05             0.02677702               7.3
## 131        Pok amont 04 2021-10-05             0.02419498               7.4
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162               6.4
## 133             Malt 11 2021-10-28             0.03412162               7.1
## 134          Suggary 02 2021-10-28             0.01871491               6.7
## 135    br. sud amont 01 2021-10-28             0.02877358               7.0
## 136         Morrison 06 2021-10-28             0.01679790               6.4
## 137 Branche sud aval 03 2021-10-28             0.02593918               6.7
## 138           Sewell 08 2021-10-28             0.03891336               7.4
## 139     Waugh sanct. 07 2021-10-28             0.03956273               7.3
## 140          Dempsey 12 2021-10-28             0.02677702               7.3
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843               6.7
## 142 McConnell Six Rd 05 2021-10-28             0.01859504               7.2
## 143          Pollard 10 2021-10-28             0.01737452               7.5
## 144        Pok amont 04 2021-10-28             0.02419498               7.2
## 145          Pollard 10 2022-07-28             0.02877358              14.2
## 146         Morrison 06 2022-07-28             0.02419498              13.3
## 147             Malt 11 2022-07-28             0.03412162              12.9
## 148          Suggary 02 2022-07-28             0.01871491              11.4
## 149    br. sud amont 01 2022-07-28             0.03956273              14.9
## 150          Dempsey 12 2022-07-28             0.01679790              15.3
## 151 Branche sud aval 03 2022-07-28             0.02593918              15.5
## 152           Sewell 08 2022-07-28             0.03891336              15.1
## 153     Waugh sanct. 07 2022-07-28             0.01737452              13.1
## 154        Pok amont 04 2022-07-28             0.02677702              11.9
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843              11.1
## 156 McConnell Six Rd 05 2022-07-28             0.01859504              13.8
## 157 McConnell Six Rd 05 2022-09-01             0.01871491              16.2
## 158          Pollard 10 2022-09-01             0.02877358              15.1
## 159    br. sud amont 01 2022-09-01             0.02677702              14.8
## 160         Morrison 06 2022-09-01             0.02419498              15.0
## 161             Malt 11 2022-09-01             0.03412162              12.3
## 162          Suggary 02 2022-09-01             0.03891336              11.9
## 163     Waugh sanct. 07 2022-09-01             0.03956273              14.0
## 164          Dempsey 12 2022-09-01             0.01679790              15.0
## 165 Branche sud aval 03 2022-09-01             0.02593918              16.2
## 166           Sewell 08 2022-09-01             0.01859504              15.9
## 167        Pok amont 04 2022-09-01             0.01737452              12.1
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843              12.9
## 169           Sewell 08 2022-10-03             0.02877358               6.2
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162               4.7
## 171 McConnell Six Rd 05 2022-10-03             0.01871491               6.5
## 172          Pollard 10 2022-10-03             0.01737452               6.5
## 173    br. sud amont 01 2022-10-03             0.02677702               5.6
## 174         Morrison 06 2022-10-03             0.02419498               4.7
## 175             Malt 11 2022-10-03             0.02593918               7.9
## 176          Suggary 02 2022-10-03             0.03891336               4.5
## 177     Waugh sanct. 07 2022-10-03             0.03956273               6.3
## 178          Dempsey 12 2022-10-03             0.01679790               6.0
## 179 Branche sud aval 03 2022-10-03             0.02683843               6.2
## 180        Pok amont 04 2022-10-03             0.01859504               6.5
## 181 Branche sud aval 03 2022-11-01             0.01871491               6.5
## 182           Sewell 08 2022-11-01             0.02877358               7.1
## 183        Pok amont 04 2022-11-01             0.02419498               6.3
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162               6.1
## 185 McConnell Six Rd 05 2022-11-01             0.01859504               7.4
## 186          Pollard 10 2022-11-01             0.01737452               8.0
## 187    br. sud amont 01 2022-11-01             0.02677702               7.0
## 188         Morrison 06 2022-11-01             0.01679790               5.9
## 189             Malt 11 2022-11-01             0.02593918               7.6
## 190          Suggary 02 2022-11-01             0.03891336               6.5
## 191     Waugh sanct. 07 2022-11-01             0.03956273               7.3
## 192          Dempsey 12 2022-11-01             0.02683843               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Infrastructures_vs_Oxyg_dissous

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctINF_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01            0.015096304                 11.30
## 2          Morrison 06 2001-08-01            0.009973753                 10.60
## 3              Malt 11 2001-08-01            0.019860440                 11.80
## 4           Suggary 02 2001-08-01            0.008264463                 10.50
## 5      Waugh sanct. 07 2001-08-01            0.011969112                 10.40
## 6           Dempsey 12 2001-08-01            0.014605648                  8.10
## 7  Branche sud aval 03 2001-08-01            0.008422603                 11.00
## 8            Sewell 08 2001-08-01            0.008783784                 11.10
## 9         Pok amont 04 2001-08-01            0.007485964                  9.70
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755                 10.50
## 11 McConnell Six Rd 05 2001-08-01            0.024150268                 12.10
## 12          Pollard 10 2001-08-01            0.019823789                  9.50
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755                 10.60
## 14          Pollard 10 2001-08-28            0.019823789                  9.60
## 15    br. sud amont 01 2001-08-28            0.015096304                 10.12
## 16         Morrison 06 2001-08-28            0.009973753                   NaN
## 17             Malt 11 2001-08-28            0.019860440                 10.60
## 18          Suggary 02 2001-08-28            0.008264463                  9.45
## 19     Waugh sanct. 07 2001-08-28            0.011969112                 10.00
## 20          Dempsey 12 2001-08-28            0.014605648                  8.80
## 21 Branche sud aval 03 2001-08-28            0.008422603                 10.00
## 22           Sewell 08 2001-08-28            0.008783784                  9.40
## 23        Pok amont 04 2001-08-28            0.007485964                 10.50
## 24 McConnell Six Rd 05 2001-08-28            0.024150268                 10.00
## 25        Pok amont 04 2001-09-26            0.007485964                  8.00
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755                  9.00
## 27 McConnell Six Rd 05 2001-09-26            0.024150268                  8.51
## 28          Pollard 10 2001-09-26            0.019823789                  8.40
## 29    br. sud amont 01 2001-09-26            0.015096304                  8.50
## 30         Morrison 06 2001-09-26            0.009973753                  8.60
## 31             Malt 11 2001-09-26            0.019860440                  9.00
## 32          Suggary 02 2001-09-26            0.008264463                  8.44
## 33     Waugh sanct. 07 2001-09-26            0.011969112                  8.62
## 34          Dempsey 12 2001-09-26            0.014605648                  8.30
## 35 Branche sud aval 03 2001-09-26            0.008422603                  9.20
## 36           Sewell 08 2001-09-26            0.008783784                  7.92
## 37           Sewell 08 2001-10-31            0.008783784                  7.70
## 38        Pok amont 04 2001-10-31            0.007485964                  8.40
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755                  9.46
## 40         Morrison 06 2001-10-31            0.009973753                  9.84
## 41 McConnell Six Rd 05 2001-10-31            0.024150268                  8.70
## 42          Pollard 10 2001-10-31            0.019823789                  8.85
## 43    br. sud amont 01 2001-10-31            0.015096304                  7.80
## 44          Dempsey 12 2001-10-31            0.014605648                  8.43
## 45             Malt 11 2001-10-31            0.019860440                  9.20
## 46          Suggary 02 2001-10-31            0.008264463                  7.30
## 47     Waugh sanct. 07 2001-10-31            0.011969112                  8.00
## 48 Branche sud aval 03 2001-10-31            0.008422603                  9.57
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755                  8.01
## 50 Branche sud aval 03 2002-07-29            0.008422603                  8.50
## 51           Sewell 08 2002-07-29            0.008783784                  7.60
## 52        Pok amont 04 2002-07-29            0.007485964                  8.17
## 53    br. sud amont 01 2002-07-29            0.015096304                  8.65
## 54         Morrison 06 2002-07-29            0.009973753                  9.76
## 55 McConnell Six Rd 05 2002-07-29            0.024150268                  7.10
## 56          Pollard 10 2002-07-29            0.019823789                  7.45
## 57     Waugh sanct. 07 2002-07-29            0.011969112                  7.90
## 58          Dempsey 12 2002-07-29            0.014605648                  8.30
## 59             Malt 11 2002-07-29            0.019860440                  8.90
## 60          Suggary 02 2002-07-29            0.008264463                  8.20
## 61        Pok amont 04 2002-08-28            0.007485964                 10.65
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755                  9.46
## 63          Dempsey 12 2002-08-28            0.014605648                  8.20
## 64 Branche sud aval 03 2002-08-28            0.008422603                 10.41
## 65           Sewell 08 2002-08-28            0.008783784                  9.80
## 66          Pollard 10 2002-08-28            0.019823789                  9.02
## 67    br. sud amont 01 2002-08-28            0.015096304                 10.20
## 68         Morrison 06 2002-08-28            0.009973753                 11.17
## 69 McConnell Six Rd 05 2002-08-28            0.024150268                 11.05
## 70          Suggary 02 2002-08-28            0.008264463                 11.24
## 71     Waugh sanct. 07 2002-08-28            0.011969112                 10.00
## 72             Malt 11 2002-08-28            0.019860440                 10.00
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755                  4.42
## 74           Sewell 08 2002-10-02            0.008783784                  6.84
## 75        Pok amont 04 2002-10-02            0.007485964                  7.20
## 76     Waugh sanct. 07 2002-10-02            0.011969112                  6.10
## 77          Dempsey 12 2002-10-02            0.014605648                  5.70
## 78 Branche sud aval 03 2002-10-02            0.008422603                  7.10
## 79 McConnell Six Rd 05 2002-10-02            0.024150268                  7.49
## 80          Pollard 10 2002-10-02            0.019823789                  6.80
## 81    br. sud amont 01 2002-10-02            0.015096304                  7.16
## 82         Morrison 06 2002-10-02            0.009973753                  7.60
## 83             Malt 11 2002-10-02            0.019860440                  6.40
## 84          Suggary 02 2002-10-02            0.008264463                  8.08
## 85        Pok amont 04 2002-10-31            0.007485964                  7.50
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755                  8.50
## 87 Branche sud aval 03 2002-10-31            0.008422603                   NaN
## 88           Sewell 08 2002-10-31            0.008783784                  8.30
## 89          Suggary 02 2002-10-31            0.008264463                  8.60
## 90     Waugh sanct. 07 2002-10-31            0.011969112                  7.00
## 91          Dempsey 12 2002-10-31            0.014605648                  7.40
## 92         Morrison 06 2002-10-31            0.009973753                  8.30
## 93 McConnell Six Rd 05 2002-10-31            0.024150268                  7.60
## 94          Pollard 10 2002-10-31            0.019823789                  7.60
## 95    br. sud amont 01 2002-10-31            0.015096304                  8.20
## 96             Malt 11 2002-10-31            0.019860440                  8.00
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctINF_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28             0.03956273                  9.68
## 98           Dempsey 12 2021-07-28             0.01679790                  9.38
## 99  Branche sud aval 03 2021-07-28             0.02683843                  8.51
## 100           Sewell 08 2021-07-28             0.01859504                  9.29
## 101     Waugh sanct. 07 2021-07-28             0.01737452                  9.84
## 102    br. sud amont 01 2021-07-28             0.02677702                  8.43
## 103         Morrison 06 2021-07-28             0.02419498                  9.04
## 104             Malt 11 2021-07-28             0.03412162                  9.73
## 105 McConnell Six Rd 05 2021-07-28             0.01871491                  8.70
## 106          Pollard 10 2021-07-28             0.02877358                  9.81
## 107        Pok amont 04 2021-07-28             0.02593918                  9.22
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336                 10.29
## 109             Malt 11 2021-08-31             0.02877358                 11.07
## 110          Suggary 02 2021-08-31             0.03891336                 10.16
## 111     Waugh sanct. 07 2021-08-31             0.03956273                 10.03
## 112          Dempsey 12 2021-08-31             0.01679790                  9.51
## 113 Branche sud aval 03 2021-08-31             0.02683843                  8.83
## 114           Sewell 08 2021-08-31             0.01859504                  8.18
## 115          Pollard 10 2021-08-31             0.01737452                  8.15
## 116    br. sud amont 01 2021-08-31             0.02677702                  7.94
## 117         Morrison 06 2021-08-31             0.02419498                  9.14
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162                 10.42
## 119 McConnell Six Rd 05 2021-08-31             0.01871491                  8.54
## 120        Pok amont 04 2021-08-31             0.02593918                  8.70
## 121          Suggary 02 2021-10-05             0.01871491                 12.14
## 122         Morrison 06 2021-10-05             0.02877358                 11.19
## 123             Malt 11 2021-10-05             0.02593918                 10.27
## 124           Sewell 08 2021-10-05             0.03891336                 11.17
## 125     Waugh sanct. 07 2021-10-05             0.03956273                 10.42
## 126          Dempsey 12 2021-10-05             0.01679790                 10.86
## 127 Branche sud aval 03 2021-10-05             0.02683843                 10.40
## 128 McConnell Six Rd 05 2021-10-05             0.01859504                 10.87
## 129          Pollard 10 2021-10-05             0.01737452                 11.29
## 130    br. sud amont 01 2021-10-05             0.02677702                 10.74
## 131        Pok amont 04 2021-10-05             0.02419498                 10.75
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162                 11.40
## 133             Malt 11 2021-10-28             0.03412162                 10.50
## 134          Suggary 02 2021-10-28             0.01871491                 11.68
## 135    br. sud amont 01 2021-10-28             0.02877358                 10.93
## 136         Morrison 06 2021-10-28             0.01679790                 11.66
## 137 Branche sud aval 03 2021-10-28             0.02593918                 11.22
## 138           Sewell 08 2021-10-28             0.03891336                 11.44
## 139     Waugh sanct. 07 2021-10-28             0.03956273                 10.96
## 140          Dempsey 12 2021-10-28             0.02677702                  8.77
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843                 11.26
## 142 McConnell Six Rd 05 2021-10-28             0.01859504                 10.41
## 143          Pollard 10 2021-10-28             0.01737452                 10.54
## 144        Pok amont 04 2021-10-28             0.02419498                 10.80
## 145          Pollard 10 2022-07-28             0.02877358                 10.75
## 146         Morrison 06 2022-07-28             0.02419498                 10.00
## 147             Malt 11 2022-07-28             0.03412162                 11.60
## 148          Suggary 02 2022-07-28             0.01871491                 11.40
## 149    br. sud amont 01 2022-07-28             0.03956273                  8.64
## 150          Dempsey 12 2022-07-28             0.01679790                  9.34
## 151 Branche sud aval 03 2022-07-28             0.02593918                  9.55
## 152           Sewell 08 2022-07-28             0.03891336                  9.50
## 153     Waugh sanct. 07 2022-07-28             0.01737452                  9.90
## 154        Pok amont 04 2022-07-28             0.02677702                  9.52
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843                 11.52
## 156 McConnell Six Rd 05 2022-07-28             0.01859504                 10.40
## 157 McConnell Six Rd 05 2022-09-01             0.01871491                  9.19
## 158          Pollard 10 2022-09-01             0.02877358                 10.25
## 159    br. sud amont 01 2022-09-01             0.02677702                  8.28
## 160         Morrison 06 2022-09-01             0.02419498                  9.52
## 161             Malt 11 2022-09-01             0.03412162                 11.08
## 162          Suggary 02 2022-09-01             0.03891336                 10.24
## 163     Waugh sanct. 07 2022-09-01             0.03956273                  9.22
## 164          Dempsey 12 2022-09-01             0.01679790                  9.44
## 165 Branche sud aval 03 2022-09-01             0.02593918                  8.95
## 166           Sewell 08 2022-09-01             0.01859504                  9.02
## 167        Pok amont 04 2022-09-01             0.01737452                  8.82
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843                 10.06
## 169           Sewell 08 2022-10-03             0.02877358                 10.03
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162                 12.38
## 171 McConnell Six Rd 05 2022-10-03             0.01871491                 12.20
## 172          Pollard 10 2022-10-03             0.01737452                 13.04
## 173    br. sud amont 01 2022-10-03             0.02677702                 11.04
## 174         Morrison 06 2022-10-03             0.02419498                 12.92
## 175             Malt 11 2022-10-03             0.02593918                 12.67
## 176          Suggary 02 2022-10-03             0.03891336                 13.13
## 177     Waugh sanct. 07 2022-10-03             0.03956273                 12.07
## 178          Dempsey 12 2022-10-03             0.01679790                 11.87
## 179 Branche sud aval 03 2022-10-03             0.02683843                 12.21
## 180        Pok amont 04 2022-10-03             0.01859504                 10.04
## 181 Branche sud aval 03 2022-11-01             0.01871491                 12.07
## 182           Sewell 08 2022-11-01             0.02877358                 12.13
## 183        Pok amont 04 2022-11-01             0.02419498                 10.55
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162                 12.12
## 185 McConnell Six Rd 05 2022-11-01             0.01859504                 11.17
## 186          Pollard 10 2022-11-01             0.01737452                 10.85
## 187    br. sud amont 01 2022-11-01             0.02677702                 11.78
## 188         Morrison 06 2022-11-01             0.01679790                 12.66
## 189             Malt 11 2022-11-01             0.02593918                 11.63
## 190          Suggary 02 2022-11-01             0.03891336                 12.35
## 191     Waugh sanct. 07 2022-11-01             0.03956273                  9.42
## 192          Dempsey 12 2022-11-01             0.02683843                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène dissous et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Infrastructures_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctINF_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01            0.015096304                  171.0
## 2          Morrison 06 2001-08-01            0.009973753                  114.0
## 3              Malt 11 2001-08-01            0.019860440                  108.0
## 4           Suggary 02 2001-08-01            0.008264463                  118.0
## 5      Waugh sanct. 07 2001-08-01            0.011969112                  133.0
## 6           Dempsey 12 2001-08-01            0.014605648                  128.0
## 7  Branche sud aval 03 2001-08-01            0.008422603                  115.0
## 8            Sewell 08 2001-08-01            0.008783784                  134.0
## 9         Pok amont 04 2001-08-01            0.007485964                   56.6
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755                  106.0
## 11 McConnell Six Rd 05 2001-08-01            0.024150268                  100.0
## 12          Pollard 10 2001-08-01            0.019823789                  156.0
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755                  105.0
## 14          Pollard 10 2001-08-28            0.019823789                  162.0
## 15    br. sud amont 01 2001-08-28            0.015096304                  177.0
## 16         Morrison 06 2001-08-28            0.009973753                  115.0
## 17             Malt 11 2001-08-28            0.019860440                   90.3
## 18          Suggary 02 2001-08-28            0.008264463                  119.0
## 19     Waugh sanct. 07 2001-08-28            0.011969112                  132.0
## 20          Dempsey 12 2001-08-28            0.014605648                  129.0
## 21 Branche sud aval 03 2001-08-28            0.008422603                  113.0
## 22           Sewell 08 2001-08-28            0.008783784                  150.0
## 23        Pok amont 04 2001-08-28            0.007485964                   60.0
## 24 McConnell Six Rd 05 2001-08-28            0.024150268                  112.0
## 25        Pok amont 04 2001-09-26            0.007485964                   72.1
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755                  115.0
## 27 McConnell Six Rd 05 2001-09-26            0.024150268                  111.0
## 28          Pollard 10 2001-09-26            0.019823789                  153.5
## 29    br. sud amont 01 2001-09-26            0.015096304                  158.0
## 30         Morrison 06 2001-09-26            0.009973753                  117.0
## 31             Malt 11 2001-09-26            0.019860440                   97.7
## 32          Suggary 02 2001-09-26            0.008264463                  139.0
## 33     Waugh sanct. 07 2001-09-26            0.011969112                  136.0
## 34          Dempsey 12 2001-09-26            0.014605648                  137.0
## 35 Branche sud aval 03 2001-09-26            0.008422603                  123.0
## 36           Sewell 08 2001-09-26            0.008783784                  173.0
## 37           Sewell 08 2001-10-31            0.008783784                  111.0
## 38        Pok amont 04 2001-10-31            0.007485964                   68.3
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755                  112.0
## 40         Morrison 06 2001-10-31            0.009973753                  123.0
## 41 McConnell Six Rd 05 2001-10-31            0.024150268                   87.2
## 42          Pollard 10 2001-10-31            0.019823789                  164.0
## 43    br. sud amont 01 2001-10-31            0.015096304                  162.0
## 44          Dempsey 12 2001-10-31            0.014605648                  128.0
## 45             Malt 11 2001-10-31            0.019860440                   98.8
## 46          Suggary 02 2001-10-31            0.008264463                  120.0
## 47     Waugh sanct. 07 2001-10-31            0.011969112                  102.0
## 48 Branche sud aval 03 2001-10-31            0.008422603                  115.0
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755                  112.0
## 50 Branche sud aval 03 2002-07-29            0.008422603                  116.0
## 51           Sewell 08 2002-07-29            0.008783784                  139.0
## 52        Pok amont 04 2002-07-29            0.007485964                   57.1
## 53    br. sud amont 01 2002-07-29            0.015096304                  148.0
## 54         Morrison 06 2002-07-29            0.009973753                  123.0
## 55 McConnell Six Rd 05 2002-07-29            0.024150268                  105.0
## 56          Pollard 10 2002-07-29            0.019823789                  162.0
## 57     Waugh sanct. 07 2002-07-29            0.011969112                  133.0
## 58          Dempsey 12 2002-07-29            0.014605648                  143.0
## 59             Malt 11 2002-07-29            0.019860440                   96.6
## 60          Suggary 02 2002-07-29            0.008264463                  110.0
## 61        Pok amont 04 2002-08-28            0.007485964                   60.3
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755                  115.0
## 63          Dempsey 12 2002-08-28            0.014605648                  144.0
## 64 Branche sud aval 03 2002-08-28            0.008422603                  121.0
## 65           Sewell 08 2002-08-28            0.008783784                  168.0
## 66          Pollard 10 2002-08-28            0.019823789                  164.0
## 67    br. sud amont 01 2002-08-28            0.015096304                  185.0
## 68         Morrison 06 2002-08-28            0.009973753                  125.0
## 69 McConnell Six Rd 05 2002-08-28            0.024150268                  111.0
## 70          Suggary 02 2002-08-28            0.008264463                  110.5
## 71     Waugh sanct. 07 2002-08-28            0.011969112                  135.0
## 72             Malt 11 2002-08-28            0.019860440                  101.0
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755                  120.0
## 74           Sewell 08 2002-10-02            0.008783784                  158.0
## 75        Pok amont 04 2002-10-02            0.007485964                   69.4
## 76     Waugh sanct. 07 2002-10-02            0.011969112                  148.0
## 77          Dempsey 12 2002-10-02            0.014605648                  145.0
## 78 Branche sud aval 03 2002-10-02            0.008422603                  126.0
## 79 McConnell Six Rd 05 2002-10-02            0.024150268                  108.0
## 80          Pollard 10 2002-10-02            0.019823789                  176.0
## 81    br. sud amont 01 2002-10-02            0.015096304                  194.0
## 82         Morrison 06 2002-10-02            0.009973753                  128.0
## 83             Malt 11 2002-10-02            0.019860440                  106.0
## 84          Suggary 02 2002-10-02            0.008264463                  114.0
## 85        Pok amont 04 2002-10-31            0.007485964                   70.9
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755                  122.0
## 87 Branche sud aval 03 2002-10-31            0.008422603                  126.0
## 88           Sewell 08 2002-10-31            0.008783784                  120.0
## 89          Suggary 02 2002-10-31            0.008264463                  118.0
## 90     Waugh sanct. 07 2002-10-31            0.011969112                  129.0
## 91          Dempsey 12 2002-10-31            0.014605648                  141.0
## 92         Morrison 06 2002-10-31            0.009973753                  130.0
## 93 McConnell Six Rd 05 2002-10-31            0.024150268                  103.0
## 94          Pollard 10 2002-10-31            0.019823789                  176.0
## 95    br. sud amont 01 2002-10-31            0.015096304                  175.5
## 96             Malt 11 2002-10-31            0.019860440                  107.0
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctINF_supdrainee_2020
## 97           Suggary 02 2021-07-28             0.03956273
## 98           Dempsey 12 2021-07-28             0.01679790
## 99  Branche sud aval 03 2021-07-28             0.02683843
## 100           Sewell 08 2021-07-28             0.01859504
## 101     Waugh sanct. 07 2021-07-28             0.01737452
## 102    br. sud amont 01 2021-07-28             0.02677702
## 103         Morrison 06 2021-07-28             0.02419498
## 104             Malt 11 2021-07-28             0.03412162
## 105 McConnell Six Rd 05 2021-07-28             0.01871491
## 106          Pollard 10 2021-07-28             0.02877358
## 107        Pok amont 04 2021-07-28             0.02593918
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336
## 109             Malt 11 2021-08-31             0.02877358
## 110          Suggary 02 2021-08-31             0.03891336
## 111     Waugh sanct. 07 2021-08-31             0.03956273
## 112          Dempsey 12 2021-08-31             0.01679790
## 113 Branche sud aval 03 2021-08-31             0.02683843
## 114           Sewell 08 2021-08-31             0.01859504
## 115          Pollard 10 2021-08-31             0.01737452
## 116    br. sud amont 01 2021-08-31             0.02677702
## 117         Morrison 06 2021-08-31             0.02419498
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162
## 119 McConnell Six Rd 05 2021-08-31             0.01871491
## 120        Pok amont 04 2021-08-31             0.02593918
## 121          Suggary 02 2021-10-05             0.01871491
## 122         Morrison 06 2021-10-05             0.02877358
## 123             Malt 11 2021-10-05             0.02593918
## 124           Sewell 08 2021-10-05             0.03891336
## 125     Waugh sanct. 07 2021-10-05             0.03956273
## 126          Dempsey 12 2021-10-05             0.01679790
## 127 Branche sud aval 03 2021-10-05             0.02683843
## 128 McConnell Six Rd 05 2021-10-05             0.01859504
## 129          Pollard 10 2021-10-05             0.01737452
## 130    br. sud amont 01 2021-10-05             0.02677702
## 131        Pok amont 04 2021-10-05             0.02419498
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162
## 133             Malt 11 2021-10-28             0.03412162
## 134          Suggary 02 2021-10-28             0.01871491
## 135    br. sud amont 01 2021-10-28             0.02877358
## 136         Morrison 06 2021-10-28             0.01679790
## 137 Branche sud aval 03 2021-10-28             0.02593918
## 138           Sewell 08 2021-10-28             0.03891336
## 139     Waugh sanct. 07 2021-10-28             0.03956273
## 140          Dempsey 12 2021-10-28             0.02677702
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843
## 142 McConnell Six Rd 05 2021-10-28             0.01859504
## 143          Pollard 10 2021-10-28             0.01737452
## 144        Pok amont 04 2021-10-28             0.02419498
## 145          Pollard 10 2022-07-28             0.02877358
## 146         Morrison 06 2022-07-28             0.02419498
## 147             Malt 11 2022-07-28             0.03412162
## 148          Suggary 02 2022-07-28             0.01871491
## 149    br. sud amont 01 2022-07-28             0.03956273
## 150          Dempsey 12 2022-07-28             0.01679790
## 151 Branche sud aval 03 2022-07-28             0.02593918
## 152           Sewell 08 2022-07-28             0.03891336
## 153     Waugh sanct. 07 2022-07-28             0.01737452
## 154        Pok amont 04 2022-07-28             0.02677702
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843
## 156 McConnell Six Rd 05 2022-07-28             0.01859504
## 157 McConnell Six Rd 05 2022-09-01             0.01871491
## 158          Pollard 10 2022-09-01             0.02877358
## 159    br. sud amont 01 2022-09-01             0.02677702
## 160         Morrison 06 2022-09-01             0.02419498
## 161             Malt 11 2022-09-01             0.03412162
## 162          Suggary 02 2022-09-01             0.03891336
## 163     Waugh sanct. 07 2022-09-01             0.03956273
## 164          Dempsey 12 2022-09-01             0.01679790
## 165 Branche sud aval 03 2022-09-01             0.02593918
## 166           Sewell 08 2022-09-01             0.01859504
## 167        Pok amont 04 2022-09-01             0.01737452
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843
## 169           Sewell 08 2022-10-03             0.02877358
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162
## 171 McConnell Six Rd 05 2022-10-03             0.01871491
## 172          Pollard 10 2022-10-03             0.01737452
## 173    br. sud amont 01 2022-10-03             0.02677702
## 174         Morrison 06 2022-10-03             0.02419498
## 175             Malt 11 2022-10-03             0.02593918
## 176          Suggary 02 2022-10-03             0.03891336
## 177     Waugh sanct. 07 2022-10-03             0.03956273
## 178          Dempsey 12 2022-10-03             0.01679790
## 179 Branche sud aval 03 2022-10-03             0.02683843
## 180        Pok amont 04 2022-10-03             0.01859504
## 181 Branche sud aval 03 2022-11-01             0.01871491
## 182           Sewell 08 2022-11-01             0.02877358
## 183        Pok amont 04 2022-11-01             0.02419498
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162
## 185 McConnell Six Rd 05 2022-11-01             0.01859504
## 186          Pollard 10 2022-11-01             0.01737452
## 187    br. sud amont 01 2022-11-01             0.02677702
## 188         Morrison 06 2022-11-01             0.01679790
## 189             Malt 11 2022-11-01             0.02593918
## 190          Suggary 02 2022-11-01             0.03891336
## 191     Waugh sanct. 07 2022-11-01             0.03956273
## 192          Dempsey 12 2022-11-01             0.02683843
##     Conductivity_microS_cm
## 97                     109
## 98                     139
## 99                     119
## 100                    131
## 101                    128
## 102                    177
## 103                    122
## 104                     90
## 105                    115
## 106                    166
## 107                     60
## 108                    109
## 109                     96
## 110                    116
## 111                    138
## 112                    152
## 113                    125
## 114                    161
## 115                    196
## 116                    199
## 117                    129
## 118                    118
## 119                    114
## 120                     70
## 121                     98
## 122                    114
## 123                     74
## 124                     72
## 125                     70
## 126                     96
## 127                     86
## 128                     90
## 129                    128
## 130                     91
## 131                     52
## 132                     95
## 133                     80
## 134                    100
## 135                    114
## 136                    118
## 137                     97
## 138                     81
## 139                     88
## 140                    113
## 141                    102
## 142                     97
## 143                    139
## 144                     54
## 145                    163
## 146                    119
## 147                     88
## 148                    107
## 149                    161
## 150                    134
## 151                    113
## 152                    113
## 153                    126
## 154                     59
## 155                    108
## 156                    113
## 157                    107
## 158                    178
## 159                    180
## 160                    117
## 161                     88
## 162                    104
## 163                    114
## 164                    137
## 165                    117
## 166                    116
## 167                     63
## 168                    108
## 169                    114
## 170                    113
## 171                     94
## 172                    179
## 173                    182
## 174                    120
## 175                     95
## 176                    107
## 177                    114
## 178                    143
## 179                    118
## 180                     64
## 181                    112
## 182                     92
## 183                     69
## 184                    112
## 185                     92
## 186                    177
## 187                    144
## 188                    125
## 189                     91
## 190                    108
## 191                     92
## 192                    136
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Infrastructures_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,pH_units))
##               Station2       Date pctINF_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01            0.015096304    8.200
## 2          Morrison 06 2001-08-01            0.009973753    7.950
## 3              Malt 11 2001-08-01            0.019860440    7.860
## 4           Suggary 02 2001-08-01            0.008264463    8.020
## 5      Waugh sanct. 07 2001-08-01            0.011969112    7.970
## 6           Dempsey 12 2001-08-01            0.014605648    7.960
## 7  Branche sud aval 03 2001-08-01            0.008422603    8.030
## 8            Sewell 08 2001-08-01            0.008783784    8.020
## 9         Pok amont 04 2001-08-01            0.007485964    7.590
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755    8.010
## 11 McConnell Six Rd 05 2001-08-01            0.024150268    7.860
## 12          Pollard 10 2001-08-01            0.019823789    7.890
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755    7.910
## 14          Pollard 10 2001-08-28            0.019823789    7.860
## 15    br. sud amont 01 2001-08-28            0.015096304    7.980
## 16         Morrison 06 2001-08-28            0.009973753    7.940
## 17             Malt 11 2001-08-28            0.019860440    7.460
## 18          Suggary 02 2001-08-28            0.008264463    7.880
## 19     Waugh sanct. 07 2001-08-28            0.011969112    7.890
## 20          Dempsey 12 2001-08-28            0.014605648    7.760
## 21 Branche sud aval 03 2001-08-28            0.008422603    7.890
## 22           Sewell 08 2001-08-28            0.008783784    7.900
## 23        Pok amont 04 2001-08-28            0.007485964    7.490
## 24 McConnell Six Rd 05 2001-08-28            0.024150268    7.770
## 25        Pok amont 04 2001-09-26            0.007485964    7.640
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755    7.960
## 27 McConnell Six Rd 05 2001-09-26            0.024150268    7.870
## 28          Pollard 10 2001-09-26            0.019823789    7.850
## 29    br. sud amont 01 2001-09-26            0.015096304    8.050
## 30         Morrison 06 2001-09-26            0.009973753    8.020
## 31             Malt 11 2001-09-26            0.019860440    7.710
## 32          Suggary 02 2001-09-26            0.008264463    8.080
## 33     Waugh sanct. 07 2001-09-26            0.011969112    8.020
## 34          Dempsey 12 2001-09-26            0.014605648    7.950
## 35 Branche sud aval 03 2001-09-26            0.008422603    8.040
## 36           Sewell 08 2001-09-26            0.008783784    8.060
## 37           Sewell 08 2001-10-31            0.008783784    7.740
## 38        Pok amont 04 2001-10-31            0.007485964    7.420
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755    7.950
## 40         Morrison 06 2001-10-31            0.009973753    8.010
## 41 McConnell Six Rd 05 2001-10-31            0.024150268    7.500
## 42          Pollard 10 2001-10-31            0.019823789    7.870
## 43    br. sud amont 01 2001-10-31            0.015096304    7.960
## 44          Dempsey 12 2001-10-31            0.014605648    7.820
## 45             Malt 11 2001-10-31            0.019860440    7.530
## 46          Suggary 02 2001-10-31            0.008264463    7.650
## 47     Waugh sanct. 07 2001-10-31            0.011969112    7.410
## 48 Branche sud aval 03 2001-10-31            0.008422603    7.890
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755    7.840
## 50 Branche sud aval 03 2002-07-29            0.008422603    7.870
## 51           Sewell 08 2002-07-29            0.008783784    7.840
## 52        Pok amont 04 2002-07-29            0.007485964    7.180
## 53    br. sud amont 01 2002-07-29            0.015096304    7.840
## 54         Morrison 06 2002-07-29            0.009973753    7.920
## 55 McConnell Six Rd 05 2002-07-29            0.024150268    7.580
## 56          Pollard 10 2002-07-29            0.019823789    7.730
## 57     Waugh sanct. 07 2002-07-29            0.011969112    7.700
## 58          Dempsey 12 2002-07-29            0.014605648    7.755
## 59             Malt 11 2002-07-29            0.019860440    7.420
## 60          Suggary 02 2002-07-29            0.008264463    7.740
## 61        Pok amont 04 2002-08-28            0.007485964    7.250
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755    7.800
## 63          Dempsey 12 2002-08-28            0.014605648    7.690
## 64 Branche sud aval 03 2002-08-28            0.008422603    7.850
## 65           Sewell 08 2002-08-28            0.008783784    7.920
## 66          Pollard 10 2002-08-28            0.019823789    7.730
## 67    br. sud amont 01 2002-08-28            0.015096304    8.070
## 68         Morrison 06 2002-08-28            0.009973753    7.900
## 69 McConnell Six Rd 05 2002-08-28            0.024150268    7.790
## 70          Suggary 02 2002-08-28            0.008264463    7.815
## 71     Waugh sanct. 07 2002-08-28            0.011969112    7.750
## 72             Malt 11 2002-08-28            0.019860440    7.380
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755    7.830
## 74           Sewell 08 2002-10-02            0.008783784    7.820
## 75        Pok amont 04 2002-10-02            0.007485964    7.270
## 76     Waugh sanct. 07 2002-10-02            0.011969112    7.760
## 77          Dempsey 12 2002-10-02            0.014605648    7.640
## 78 Branche sud aval 03 2002-10-02            0.008422603    7.820
## 79 McConnell Six Rd 05 2002-10-02            0.024150268    7.650
## 80          Pollard 10 2002-10-02            0.019823789    7.720
## 81    br. sud amont 01 2002-10-02            0.015096304    7.970
## 82         Morrison 06 2002-10-02            0.009973753    7.890
## 83             Malt 11 2002-10-02            0.019860440    7.380
## 84          Suggary 02 2002-10-02            0.008264463    7.830
## 85        Pok amont 04 2002-10-31            0.007485964    7.360
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755    7.820
## 87 Branche sud aval 03 2002-10-31            0.008422603      NaN
## 88           Sewell 08 2002-10-31            0.008783784    7.550
## 89          Suggary 02 2002-10-31            0.008264463    7.770
## 90     Waugh sanct. 07 2002-10-31            0.011969112    7.580
## 91          Dempsey 12 2002-10-31            0.014605648    7.690
## 92         Morrison 06 2002-10-31            0.009973753    7.870
## 93 McConnell Six Rd 05 2002-10-31            0.024150268    7.440
## 94          Pollard 10 2002-10-31            0.019823789    7.780
## 95    br. sud amont 01 2002-10-31            0.015096304    7.865
## 96             Malt 11 2002-10-31            0.019860440    7.560
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,pH_units))
##                Station2       Date pctINF_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28             0.03956273      7.5
## 98           Dempsey 12 2021-07-28             0.01679790      7.6
## 99  Branche sud aval 03 2021-07-28             0.02683843      7.6
## 100           Sewell 08 2021-07-28             0.01859504      7.7
## 101     Waugh sanct. 07 2021-07-28             0.01737452      7.6
## 102    br. sud amont 01 2021-07-28             0.02677702      7.6
## 103         Morrison 06 2021-07-28             0.02419498      7.4
## 104             Malt 11 2021-07-28             0.03412162      7.2
## 105 McConnell Six Rd 05 2021-07-28             0.01871491      7.6
## 106          Pollard 10 2021-07-28             0.02877358      7.6
## 107        Pok amont 04 2021-07-28             0.02593918      6.8
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336      7.6
## 109             Malt 11 2021-08-31             0.02877358      7.3
## 110          Suggary 02 2021-08-31             0.03891336      7.6
## 111     Waugh sanct. 07 2021-08-31             0.03956273      7.8
## 112          Dempsey 12 2021-08-31             0.01679790      7.6
## 113 Branche sud aval 03 2021-08-31             0.02683843      7.8
## 114           Sewell 08 2021-08-31             0.01859504      7.8
## 115          Pollard 10 2021-08-31             0.01737452      7.8
## 116    br. sud amont 01 2021-08-31             0.02677702      7.5
## 117         Morrison 06 2021-08-31             0.02419498      7.8
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162      7.8
## 119 McConnell Six Rd 05 2021-08-31             0.01871491      7.7
## 120        Pok amont 04 2021-08-31             0.02593918      7.1
## 121          Suggary 02 2021-10-05             0.01871491      7.6
## 122         Morrison 06 2021-10-05             0.02877358      7.1
## 123             Malt 11 2021-10-05             0.02593918      7.1
## 124           Sewell 08 2021-10-05             0.03891336      7.5
## 125     Waugh sanct. 07 2021-10-05             0.03956273      7.2
## 126          Dempsey 12 2021-10-05             0.01679790      7.3
## 127 Branche sud aval 03 2021-10-05             0.02683843      7.6
## 128 McConnell Six Rd 05 2021-10-05             0.01859504      7.4
## 129          Pollard 10 2021-10-05             0.01737452      7.5
## 130    br. sud amont 01 2021-10-05             0.02677702      7.2
## 131        Pok amont 04 2021-10-05             0.02419498      6.8
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162      7.2
## 133             Malt 11 2021-10-28             0.03412162      7.0
## 134          Suggary 02 2021-10-28             0.01871491      7.6
## 135    br. sud amont 01 2021-10-28             0.02877358      7.5
## 136         Morrison 06 2021-10-28             0.01679790      7.6
## 137 Branche sud aval 03 2021-10-28             0.02593918      7.6
## 138           Sewell 08 2021-10-28             0.03891336      7.5
## 139     Waugh sanct. 07 2021-10-28             0.03956273      7.5
## 140          Dempsey 12 2021-10-28             0.02677702      7.6
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843      7.5
## 142 McConnell Six Rd 05 2021-10-28             0.01859504      7.5
## 143          Pollard 10 2021-10-28             0.01737452      7.7
## 144        Pok amont 04 2021-10-28             0.02419498      7.5
## 145          Pollard 10 2022-07-28             0.02877358      7.7
## 146         Morrison 06 2022-07-28             0.02419498      7.8
## 147             Malt 11 2022-07-28             0.03412162      7.6
## 148          Suggary 02 2022-07-28             0.01871491      7.7
## 149    br. sud amont 01 2022-07-28             0.03956273      7.9
## 150          Dempsey 12 2022-07-28             0.01679790      7.8
## 151 Branche sud aval 03 2022-07-28             0.02593918      7.8
## 152           Sewell 08 2022-07-28             0.03891336      7.7
## 153     Waugh sanct. 07 2022-07-28             0.01737452      7.8
## 154        Pok amont 04 2022-07-28             0.02677702      7.5
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843      7.8
## 156 McConnell Six Rd 05 2022-07-28             0.01859504      7.7
## 157 McConnell Six Rd 05 2022-09-01             0.01871491      7.8
## 158          Pollard 10 2022-09-01             0.02877358      7.8
## 159    br. sud amont 01 2022-09-01             0.02677702      8.0
## 160         Morrison 06 2022-09-01             0.02419498      8.0
## 161             Malt 11 2022-09-01             0.03412162      7.7
## 162          Suggary 02 2022-09-01             0.03891336      7.8
## 163     Waugh sanct. 07 2022-09-01             0.03956273      7.9
## 164          Dempsey 12 2022-09-01             0.01679790      7.9
## 165 Branche sud aval 03 2022-09-01             0.02593918      7.9
## 166           Sewell 08 2022-09-01             0.01859504      7.9
## 167        Pok amont 04 2022-09-01             0.01737452      7.2
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843      7.8
## 169           Sewell 08 2022-10-03             0.02877358      7.7
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162      7.8
## 171 McConnell Six Rd 05 2022-10-03             0.01871491      7.5
## 172          Pollard 10 2022-10-03             0.01737452      7.8
## 173    br. sud amont 01 2022-10-03             0.02677702      7.9
## 174         Morrison 06 2022-10-03             0.02419498      7.9
## 175             Malt 11 2022-10-03             0.02593918      7.5
## 176          Suggary 02 2022-10-03             0.03891336      7.7
## 177     Waugh sanct. 07 2022-10-03             0.03956273      7.6
## 178          Dempsey 12 2022-10-03             0.01679790      7.7
## 179 Branche sud aval 03 2022-10-03             0.02683843      7.8
## 180        Pok amont 04 2022-10-03             0.01859504      7.1
## 181 Branche sud aval 03 2022-11-01             0.01871491      7.6
## 182           Sewell 08 2022-11-01             0.02877358      7.5
## 183        Pok amont 04 2022-11-01             0.02419498      7.0
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162      7.5
## 185 McConnell Six Rd 05 2022-11-01             0.01859504      7.3
## 186          Pollard 10 2022-11-01             0.01737452      7.6
## 187    br. sud amont 01 2022-11-01             0.02677702      7.5
## 188         Morrison 06 2022-11-01             0.01679790      7.8
## 189             Malt 11 2022-11-01             0.02593918      7.0
## 190          Suggary 02 2022-11-01             0.03891336      7.5
## 191     Waugh sanct. 07 2022-11-01             0.03956273      7.2
## 192          Dempsey 12 2022-11-01             0.02683843      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

# Infrastructures_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctINF_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.015096304         6.400
## 2          Morrison 06 2001-08-01            0.009973753         0.600
## 3              Malt 11 2001-08-01            0.019860440         1.600
## 4           Suggary 02 2001-08-01            0.008264463         0.700
## 5      Waugh sanct. 07 2001-08-01            0.011969112         1.200
## 6           Dempsey 12 2001-08-01            0.014605648         1.300
## 7  Branche sud aval 03 2001-08-01            0.008422603         0.500
## 8            Sewell 08 2001-08-01            0.008783784         1.500
## 9         Pok amont 04 2001-08-01            0.007485964         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.024150268         0.100
## 12          Pollard 10 2001-08-01            0.019823789         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755         1.200
## 14          Pollard 10 2001-08-28            0.019823789         0.800
## 15    br. sud amont 01 2001-08-28            0.015096304         6.100
## 16         Morrison 06 2001-08-28            0.009973753         0.700
## 17             Malt 11 2001-08-28            0.019860440         0.500
## 18          Suggary 02 2001-08-28            0.008264463         3.500
## 19     Waugh sanct. 07 2001-08-28            0.011969112         1.000
## 20          Dempsey 12 2001-08-28            0.014605648         1.700
## 21 Branche sud aval 03 2001-08-28            0.008422603         0.900
## 22           Sewell 08 2001-08-28            0.008783784         6.500
## 23        Pok amont 04 2001-08-28            0.007485964         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.024150268         1.000
## 25        Pok amont 04 2001-09-26            0.007485964         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.024150268         1.200
## 28          Pollard 10 2001-09-26            0.019823789         1.150
## 29    br. sud amont 01 2001-09-26            0.015096304        44.800
## 30         Morrison 06 2001-09-26            0.009973753         0.900
## 31             Malt 11 2001-09-26            0.019860440         7.800
## 32          Suggary 02 2001-09-26            0.008264463         1.700
## 33     Waugh sanct. 07 2001-09-26            0.011969112         1.200
## 34          Dempsey 12 2001-09-26            0.014605648         1.500
## 35 Branche sud aval 03 2001-09-26            0.008422603         2.400
## 36           Sewell 08 2001-09-26            0.008783784         3.000
## 37           Sewell 08 2001-10-31            0.008783784         5.500
## 38        Pok amont 04 2001-10-31            0.007485964         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755         1.000
## 40         Morrison 06 2001-10-31            0.009973753         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.024150268         1.400
## 42          Pollard 10 2001-10-31            0.019823789         0.600
## 43    br. sud amont 01 2001-10-31            0.015096304         1.100
## 44          Dempsey 12 2001-10-31            0.014605648         1.700
## 45             Malt 11 2001-10-31            0.019860440         0.800
## 46          Suggary 02 2001-10-31            0.008264463         2.050
## 47     Waugh sanct. 07 2001-10-31            0.011969112         1.200
## 48 Branche sud aval 03 2001-10-31            0.008422603         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755         0.780
## 50 Branche sud aval 03 2002-07-29            0.008422603         1.170
## 51           Sewell 08 2002-07-29            0.008783784         4.960
## 52        Pok amont 04 2002-07-29            0.007485964         0.190
## 53    br. sud amont 01 2002-07-29            0.015096304         0.900
## 54         Morrison 06 2002-07-29            0.009973753         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.024150268         1.520
## 56          Pollard 10 2002-07-29            0.019823789         1.630
## 57     Waugh sanct. 07 2002-07-29            0.011969112         1.110
## 58          Dempsey 12 2002-07-29            0.014605648         1.970
## 59             Malt 11 2002-07-29            0.019860440         0.400
## 60          Suggary 02 2002-07-29            0.008264463         0.430
## 61        Pok amont 04 2002-08-28            0.007485964         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755         1.320
## 63          Dempsey 12 2002-08-28            0.014605648         4.440
## 64 Branche sud aval 03 2002-08-28            0.008422603         1.150
## 65           Sewell 08 2002-08-28            0.008783784         2.960
## 66          Pollard 10 2002-08-28            0.019823789         0.950
## 67    br. sud amont 01 2002-08-28            0.015096304         0.570
## 68         Morrison 06 2002-08-28            0.009973753         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.024150268         1.340
## 70          Suggary 02 2002-08-28            0.008264463         0.820
## 71     Waugh sanct. 07 2002-08-28            0.011969112         1.510
## 72             Malt 11 2002-08-28            0.019860440         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755         0.940
## 74           Sewell 08 2002-10-02            0.008783784         5.255
## 75        Pok amont 04 2002-10-02            0.007485964         0.280
## 76     Waugh sanct. 07 2002-10-02            0.011969112         1.280
## 77          Dempsey 12 2002-10-02            0.014605648         3.770
## 78 Branche sud aval 03 2002-10-02            0.008422603         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.024150268         2.110
## 80          Pollard 10 2002-10-02            0.019823789         0.690
## 81    br. sud amont 01 2002-10-02            0.015096304         0.740
## 82         Morrison 06 2002-10-02            0.009973753         0.770
## 83             Malt 11 2002-10-02            0.019860440         0.600
## 84          Suggary 02 2002-10-02            0.008264463         0.480
## 85        Pok amont 04 2002-10-31            0.007485964         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755         0.870
## 87 Branche sud aval 03 2002-10-31            0.008422603           NaN
## 88           Sewell 08 2002-10-31            0.008783784         8.740
## 89          Suggary 02 2002-10-31            0.008264463         0.410
## 90     Waugh sanct. 07 2002-10-31            0.011969112         1.440
## 91          Dempsey 12 2002-10-31            0.014605648         2.880
## 92         Morrison 06 2002-10-31            0.009973753         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.024150268         1.500
## 94          Pollard 10 2002-10-31            0.019823789         1.060
## 95    br. sud amont 01 2002-10-31            0.015096304         1.220
## 96             Malt 11 2002-10-31            0.019860440         0.900
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctINF_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28             0.03956273           1.2
## 98           Dempsey 12 2021-07-28             0.01679790           1.6
## 99  Branche sud aval 03 2021-07-28             0.02683843           1.8
## 100           Sewell 08 2021-07-28             0.01859504           3.5
## 101     Waugh sanct. 07 2021-07-28             0.01737452           1.1
## 102    br. sud amont 01 2021-07-28             0.02677702           2.3
## 103         Morrison 06 2021-07-28             0.02419498           1.4
## 104             Malt 11 2021-07-28             0.03412162           0.7
## 105 McConnell Six Rd 05 2021-07-28             0.01871491           1.9
## 106          Pollard 10 2021-07-28             0.02877358           1.2
## 107        Pok amont 04 2021-07-28             0.02593918           0.9
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336           1.7
## 109             Malt 11 2021-08-31             0.02877358           0.5
## 110          Suggary 02 2021-08-31             0.03891336           0.7
## 111     Waugh sanct. 07 2021-08-31             0.03956273           1.1
## 112          Dempsey 12 2021-08-31             0.01679790           1.7
## 113 Branche sud aval 03 2021-08-31             0.02683843           1.7
## 114           Sewell 08 2021-08-31             0.01859504           3.0
## 115          Pollard 10 2021-08-31             0.01737452           1.7
## 116    br. sud amont 01 2021-08-31             0.02677702           5.6
## 117         Morrison 06 2021-08-31             0.02419498           2.6
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162           2.0
## 119 McConnell Six Rd 05 2021-08-31             0.01871491           3.2
## 120        Pok amont 04 2021-08-31             0.02593918           1.5
## 121          Suggary 02 2021-10-05             0.01871491           0.7
## 122         Morrison 06 2021-10-05             0.02877358           1.4
## 123             Malt 11 2021-10-05             0.02593918           0.9
## 124           Sewell 08 2021-10-05             0.03891336           4.2
## 125     Waugh sanct. 07 2021-10-05             0.03956273           1.2
## 126          Dempsey 12 2021-10-05             0.01679790           1.8
## 127 Branche sud aval 03 2021-10-05             0.02683843           1.7
## 128 McConnell Six Rd 05 2021-10-05             0.01859504           1.8
## 129          Pollard 10 2021-10-05             0.01737452           1.8
## 130    br. sud amont 01 2021-10-05             0.02677702           3.7
## 131        Pok amont 04 2021-10-05             0.02419498           1.0
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162           1.4
## 133             Malt 11 2021-10-28             0.03412162           0.5
## 134          Suggary 02 2021-10-28             0.01871491           0.2
## 135    br. sud amont 01 2021-10-28             0.02877358           1.9
## 136         Morrison 06 2021-10-28             0.01679790           0.6
## 137 Branche sud aval 03 2021-10-28             0.02593918           1.3
## 138           Sewell 08 2021-10-28             0.03891336           2.8
## 139     Waugh sanct. 07 2021-10-28             0.03956273           1.0
## 140          Dempsey 12 2021-10-28             0.02677702           1.3
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843           0.7
## 142 McConnell Six Rd 05 2021-10-28             0.01859504           1.4
## 143          Pollard 10 2021-10-28             0.01737452           0.8
## 144        Pok amont 04 2021-10-28             0.02419498           0.6
## 145          Pollard 10 2022-07-28             0.02877358           0.4
## 146         Morrison 06 2022-07-28             0.02419498           0.7
## 147             Malt 11 2022-07-28             0.03412162           0.4
## 148          Suggary 02 2022-07-28             0.01871491           0.5
## 149    br. sud amont 01 2022-07-28             0.03956273           2.7
## 150          Dempsey 12 2022-07-28             0.01679790           1.2
## 151 Branche sud aval 03 2022-07-28             0.02593918           2.1
## 152           Sewell 08 2022-07-28             0.03891336           1.8
## 153     Waugh sanct. 07 2022-07-28             0.01737452           1.0
## 154        Pok amont 04 2022-07-28             0.02677702           0.7
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843           0.7
## 156 McConnell Six Rd 05 2022-07-28             0.01859504           0.8
## 157 McConnell Six Rd 05 2022-09-01             0.01871491           1.9
## 158          Pollard 10 2022-09-01             0.02877358           1.3
## 159    br. sud amont 01 2022-09-01             0.02677702           3.0
## 160         Morrison 06 2022-09-01             0.02419498           2.4
## 161             Malt 11 2022-09-01             0.03412162           0.5
## 162          Suggary 02 2022-09-01             0.03891336           0.7
## 163     Waugh sanct. 07 2022-09-01             0.03956273           1.8
## 164          Dempsey 12 2022-09-01             0.01679790           2.2
## 165 Branche sud aval 03 2022-09-01             0.02593918           1.9
## 166           Sewell 08 2022-09-01             0.01859504           2.6
## 167        Pok amont 04 2022-09-01             0.01737452           1.5
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843           1.4
## 169           Sewell 08 2022-10-03             0.02877358           3.6
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162           1.2
## 171 McConnell Six Rd 05 2022-10-03             0.01871491           1.9
## 172          Pollard 10 2022-10-03             0.01737452           0.4
## 173    br. sud amont 01 2022-10-03             0.02677702           2.8
## 174         Morrison 06 2022-10-03             0.02419498           1.0
## 175             Malt 11 2022-10-03             0.02593918           0.4
## 176          Suggary 02 2022-10-03             0.03891336           0.3
## 177     Waugh sanct. 07 2022-10-03             0.03956273           1.3
## 178          Dempsey 12 2022-10-03             0.01679790           1.3
## 179 Branche sud aval 03 2022-10-03             0.02683843           1.6
## 180        Pok amont 04 2022-10-03             0.01859504           1.5
## 181 Branche sud aval 03 2022-11-01             0.01871491           2.6
## 182           Sewell 08 2022-11-01             0.02877358           5.4
## 183        Pok amont 04 2022-11-01             0.02419498           0.8
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162           2.6
## 185 McConnell Six Rd 05 2022-11-01             0.01859504           2.0
## 186          Pollard 10 2022-11-01             0.01737452           0.7
## 187    br. sud amont 01 2022-11-01             0.02677702           4.8
## 188         Morrison 06 2022-11-01             0.01679790           2.8
## 189             Malt 11 2022-11-01             0.02593918           1.5
## 190          Suggary 02 2022-11-01             0.03891336           0.7
## 191     Waugh sanct. 07 2022-11-01             0.03956273           1.6
## 192          Dempsey 12 2022-11-01             0.02683843           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=log10(Turbidity_NTU),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=log10(Turbidity_NTU)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=log10(Turbidity_NTU),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=log10(Turbidity_NTU)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 3 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Infrastructures_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Colour_TCU))
##               Station2       Date pctINF_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01            0.015096304        5.0
## 2          Morrison 06 2001-08-01            0.009973753       10.0
## 3              Malt 11 2001-08-01            0.019860440       10.0
## 4           Suggary 02 2001-08-01            0.008264463        5.0
## 5      Waugh sanct. 07 2001-08-01            0.011969112       20.0
## 6           Dempsey 12 2001-08-01            0.014605648       15.0
## 7  Branche sud aval 03 2001-08-01            0.008422603        5.0
## 8            Sewell 08 2001-08-01            0.008783784        5.0
## 9         Pok amont 04 2001-08-01            0.007485964        0.0
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755        0.0
## 11 McConnell Six Rd 05 2001-08-01            0.024150268        5.0
## 12          Pollard 10 2001-08-01            0.019823789        5.0
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755        5.0
## 14          Pollard 10 2001-08-28            0.019823789        5.0
## 15    br. sud amont 01 2001-08-28            0.015096304        5.0
## 16         Morrison 06 2001-08-28            0.009973753        5.0
## 17             Malt 11 2001-08-28            0.019860440        5.0
## 18          Suggary 02 2001-08-28            0.008264463       10.0
## 19     Waugh sanct. 07 2001-08-28            0.011969112       10.0
## 20          Dempsey 12 2001-08-28            0.014605648       15.0
## 21 Branche sud aval 03 2001-08-28            0.008422603        5.0
## 22           Sewell 08 2001-08-28            0.008783784       30.0
## 23        Pok amont 04 2001-08-28            0.007485964        5.0
## 24 McConnell Six Rd 05 2001-08-28            0.024150268        5.0
## 25        Pok amont 04 2001-09-26            0.007485964       10.0
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755       30.0
## 27 McConnell Six Rd 05 2001-09-26            0.024150268       15.0
## 28          Pollard 10 2001-09-26            0.019823789       20.0
## 29    br. sud amont 01 2001-09-26            0.015096304      200.0
## 30         Morrison 06 2001-09-26            0.009973753        5.0
## 31             Malt 11 2001-09-26            0.019860440       20.0
## 32          Suggary 02 2001-09-26            0.008264463        5.0
## 33     Waugh sanct. 07 2001-09-26            0.011969112       10.0
## 34          Dempsey 12 2001-09-26            0.014605648       20.0
## 35 Branche sud aval 03 2001-09-26            0.008422603       10.0
## 36           Sewell 08 2001-09-26            0.008783784       30.0
## 37           Sewell 08 2001-10-31            0.008783784       80.0
## 38        Pok amont 04 2001-10-31            0.007485964        5.0
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755       20.0
## 40         Morrison 06 2001-10-31            0.009973753       15.0
## 41 McConnell Six Rd 05 2001-10-31            0.024150268      120.0
## 42          Pollard 10 2001-10-31            0.019823789       10.0
## 43    br. sud amont 01 2001-10-31            0.015096304       30.0
## 44          Dempsey 12 2001-10-31            0.014605648       30.0
## 45             Malt 11 2001-10-31            0.019860440       10.0
## 46          Suggary 02 2001-10-31            0.008264463       30.0
## 47     Waugh sanct. 07 2001-10-31            0.011969112      100.0
## 48 Branche sud aval 03 2001-10-31            0.008422603       20.0
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755       10.0
## 50 Branche sud aval 03 2002-07-29            0.008422603       15.0
## 51           Sewell 08 2002-07-29            0.008783784       40.0
## 52        Pok amont 04 2002-07-29            0.007485964        5.0
## 53    br. sud amont 01 2002-07-29            0.015096304       15.0
## 54         Morrison 06 2002-07-29            0.009973753       10.0
## 55 McConnell Six Rd 05 2002-07-29            0.024150268       80.0
## 56          Pollard 10 2002-07-29            0.019823789       10.0
## 57     Waugh sanct. 07 2002-07-29            0.011969112       40.0
## 58          Dempsey 12 2002-07-29            0.014605648       20.0
## 59             Malt 11 2002-07-29            0.019860440        5.0
## 60          Suggary 02 2002-07-29            0.008264463        5.0
## 61        Pok amont 04 2002-08-28            0.007485964        5.0
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755       20.0
## 63          Dempsey 12 2002-08-28            0.014605648       40.0
## 64 Branche sud aval 03 2002-08-28            0.008422603       15.0
## 65           Sewell 08 2002-08-28            0.008783784       40.0
## 66          Pollard 10 2002-08-28            0.019823789       10.0
## 67    br. sud amont 01 2002-08-28            0.015096304       10.0
## 68         Morrison 06 2002-08-28            0.009973753       10.0
## 69 McConnell Six Rd 05 2002-08-28            0.024150268       20.0
## 70          Suggary 02 2002-08-28            0.008264463        7.5
## 71     Waugh sanct. 07 2002-08-28            0.011969112       30.0
## 72             Malt 11 2002-08-28            0.019860440       10.0
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755        5.0
## 74           Sewell 08 2002-10-02            0.008783784       60.0
## 75        Pok amont 04 2002-10-02            0.007485964        5.0
## 76     Waugh sanct. 07 2002-10-02            0.011969112       20.0
## 77          Dempsey 12 2002-10-02            0.014605648       20.0
## 78 Branche sud aval 03 2002-10-02            0.008422603       15.0
## 79 McConnell Six Rd 05 2002-10-02            0.024150268       60.0
## 80          Pollard 10 2002-10-02            0.019823789       10.0
## 81    br. sud amont 01 2002-10-02            0.015096304       10.0
## 82         Morrison 06 2002-10-02            0.009973753       10.0
## 83             Malt 11 2002-10-02            0.019860440        5.0
## 84          Suggary 02 2002-10-02            0.008264463        5.0
## 85        Pok amont 04 2002-10-31            0.007485964        5.0
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755       20.0
## 87 Branche sud aval 03 2002-10-31            0.008422603        NaN
## 88           Sewell 08 2002-10-31            0.008783784       60.0
## 89          Suggary 02 2002-10-31            0.008264463        5.0
## 90     Waugh sanct. 07 2002-10-31            0.011969112       60.0
## 91          Dempsey 12 2002-10-31            0.014605648       30.0
## 92         Morrison 06 2002-10-31            0.009973753        5.0
## 93 McConnell Six Rd 05 2002-10-31            0.024150268       75.0
## 94          Pollard 10 2002-10-31            0.019823789        5.0
## 95    br. sud amont 01 2002-10-31            0.015096304       30.0
## 96             Malt 11 2002-10-31            0.019860440       15.0
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Colour_TCU))
##                Station2       Date pctINF_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28             0.03956273          8
## 98           Dempsey 12 2021-07-28             0.01679790         22
## 99  Branche sud aval 03 2021-07-28             0.02683843         19
## 100           Sewell 08 2021-07-28             0.01859504         34
## 101     Waugh sanct. 07 2021-07-28             0.01737452         27
## 102    br. sud amont 01 2021-07-28             0.02677702         15
## 103         Morrison 06 2021-07-28             0.02419498         14
## 104             Malt 11 2021-07-28             0.03412162          7
## 105 McConnell Six Rd 05 2021-07-28             0.01871491         29
## 106          Pollard 10 2021-07-28             0.02877358          8
## 107        Pok amont 04 2021-07-28             0.02593918         11
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336          9
## 109             Malt 11 2021-08-31             0.02877358          5
## 110          Suggary 02 2021-08-31             0.03891336          5
## 111     Waugh sanct. 07 2021-08-31             0.03956273         14
## 112          Dempsey 12 2021-08-31             0.01679790         14
## 113 Branche sud aval 03 2021-08-31             0.02683843         20
## 114           Sewell 08 2021-08-31             0.01859504         24
## 115          Pollard 10 2021-08-31             0.01737452          8
## 116    br. sud amont 01 2021-08-31             0.02677702         12
## 117         Morrison 06 2021-08-31             0.02419498         18
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162          8
## 119 McConnell Six Rd 05 2021-08-31             0.01871491         37
## 120        Pok amont 04 2021-08-31             0.02593918         10
## 121          Suggary 02 2021-10-05             0.01871491          8
## 122         Morrison 06 2021-10-05             0.02877358         22
## 123             Malt 11 2021-10-05             0.02593918         66
## 124           Sewell 08 2021-10-05             0.03891336         47
## 125     Waugh sanct. 07 2021-10-05             0.03956273        190
## 126          Dempsey 12 2021-10-05             0.01679790         55
## 127 Branche sud aval 03 2021-10-05             0.02683843         38
## 128 McConnell Six Rd 05 2021-10-05             0.01859504        141
## 129          Pollard 10 2021-10-05             0.01737452         19
## 130    br. sud amont 01 2021-10-05             0.02677702         44
## 131        Pok amont 04 2021-10-05             0.02419498         21
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162         33
## 133             Malt 11 2021-10-28             0.03412162         47
## 134          Suggary 02 2021-10-28             0.01871491          5
## 135    br. sud amont 01 2021-10-28             0.02877358         32
## 136         Morrison 06 2021-10-28             0.01679790         13
## 137 Branche sud aval 03 2021-10-28             0.02593918         22
## 138           Sewell 08 2021-10-28             0.03891336         43
## 139     Waugh sanct. 07 2021-10-28             0.03956273        130
## 140          Dempsey 12 2021-10-28             0.02677702         33
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843         15
## 142 McConnell Six Rd 05 2021-10-28             0.01859504        107
## 143          Pollard 10 2021-10-28             0.01737452         12
## 144        Pok amont 04 2021-10-28             0.02419498         13
## 145          Pollard 10 2022-07-28             0.02877358          5
## 146         Morrison 06 2022-07-28             0.02419498          7
## 147             Malt 11 2022-07-28             0.03412162          6
## 148          Suggary 02 2022-07-28             0.01871491          5
## 149    br. sud amont 01 2022-07-28             0.03956273         26
## 150          Dempsey 12 2022-07-28             0.01679790         16
## 151 Branche sud aval 03 2022-07-28             0.02593918         18
## 152           Sewell 08 2022-07-28             0.03891336         33
## 153     Waugh sanct. 07 2022-07-28             0.01737452         27
## 154        Pok amont 04 2022-07-28             0.02677702          7
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843          5
## 156 McConnell Six Rd 05 2022-07-28             0.01859504         15
## 157 McConnell Six Rd 05 2022-09-01             0.01871491         48
## 158          Pollard 10 2022-09-01             0.02877358         23
## 159    br. sud amont 01 2022-09-01             0.02677702         23
## 160         Morrison 06 2022-09-01             0.02419498         15
## 161             Malt 11 2022-09-01             0.03412162         10
## 162          Suggary 02 2022-09-01             0.03891336          8
## 163     Waugh sanct. 07 2022-09-01             0.03956273         61
## 164          Dempsey 12 2022-09-01             0.01679790         21
## 165 Branche sud aval 03 2022-09-01             0.02593918         21
## 166           Sewell 08 2022-09-01             0.01859504         43
## 167        Pok amont 04 2022-09-01             0.01737452         14
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843         41
## 169           Sewell 08 2022-10-03             0.02877358         71
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162          8
## 171 McConnell Six Rd 05 2022-10-03             0.01871491        130
## 172          Pollard 10 2022-10-03             0.01737452         10
## 173    br. sud amont 01 2022-10-03             0.02677702         20
## 174         Morrison 06 2022-10-03             0.02419498         10
## 175             Malt 11 2022-10-03             0.02593918          5
## 176          Suggary 02 2022-10-03             0.03891336          5
## 177     Waugh sanct. 07 2022-10-03             0.03956273         53
## 178          Dempsey 12 2022-10-03             0.01679790         16
## 179 Branche sud aval 03 2022-10-03             0.02683843         17
## 180        Pok amont 04 2022-10-03             0.01859504         12
## 181 Branche sud aval 03 2022-11-01             0.01871491         25
## 182           Sewell 08 2022-11-01             0.02877358         60
## 183        Pok amont 04 2022-11-01             0.02419498         11
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162         21
## 185 McConnell Six Rd 05 2022-11-01             0.01859504        148
## 186          Pollard 10 2022-11-01             0.01737452         11
## 187    br. sud amont 01 2022-11-01             0.02677702         42
## 188         Morrison 06 2022-11-01             0.01679790         13
## 189             Malt 11 2022-11-01             0.02593918         22
## 190          Suggary 02 2022-11-01             0.03891336          9
## 191     Waugh sanct. 07 2022-11-01             0.03956273        143
## 192          Dempsey 12 2022-11-01             0.02683843         28
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Infrastructures_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctINF_supdrainee_1990
## 1     br. sud amont 01 2001-08-01            0.015096304
## 2          Morrison 06 2001-08-01            0.009973753
## 3              Malt 11 2001-08-01            0.019860440
## 4           Suggary 02 2001-08-01            0.008264463
## 5      Waugh sanct. 07 2001-08-01            0.011969112
## 6           Dempsey 12 2001-08-01            0.014605648
## 7  Branche sud aval 03 2001-08-01            0.008422603
## 8            Sewell 08 2001-08-01            0.008783784
## 9         Pok amont 04 2001-08-01            0.007485964
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755
## 11 McConnell Six Rd 05 2001-08-01            0.024150268
## 12          Pollard 10 2001-08-01            0.019823789
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755
## 14          Pollard 10 2001-08-28            0.019823789
## 15    br. sud amont 01 2001-08-28            0.015096304
## 16         Morrison 06 2001-08-28            0.009973753
## 17             Malt 11 2001-08-28            0.019860440
## 18          Suggary 02 2001-08-28            0.008264463
## 19     Waugh sanct. 07 2001-08-28            0.011969112
## 20          Dempsey 12 2001-08-28            0.014605648
## 21 Branche sud aval 03 2001-08-28            0.008422603
## 22           Sewell 08 2001-08-28            0.008783784
## 23        Pok amont 04 2001-08-28            0.007485964
## 24 McConnell Six Rd 05 2001-08-28            0.024150268
## 25        Pok amont 04 2001-09-26            0.007485964
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755
## 27 McConnell Six Rd 05 2001-09-26            0.024150268
## 28          Pollard 10 2001-09-26            0.019823789
## 29    br. sud amont 01 2001-09-26            0.015096304
## 30         Morrison 06 2001-09-26            0.009973753
## 31             Malt 11 2001-09-26            0.019860440
## 32          Suggary 02 2001-09-26            0.008264463
## 33     Waugh sanct. 07 2001-09-26            0.011969112
## 34          Dempsey 12 2001-09-26            0.014605648
## 35 Branche sud aval 03 2001-09-26            0.008422603
## 36           Sewell 08 2001-09-26            0.008783784
## 37           Sewell 08 2001-10-31            0.008783784
## 38        Pok amont 04 2001-10-31            0.007485964
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755
## 40         Morrison 06 2001-10-31            0.009973753
## 41 McConnell Six Rd 05 2001-10-31            0.024150268
## 42          Pollard 10 2001-10-31            0.019823789
## 43    br. sud amont 01 2001-10-31            0.015096304
## 44          Dempsey 12 2001-10-31            0.014605648
## 45             Malt 11 2001-10-31            0.019860440
## 46          Suggary 02 2001-10-31            0.008264463
## 47     Waugh sanct. 07 2001-10-31            0.011969112
## 48 Branche sud aval 03 2001-10-31            0.008422603
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755
## 50 Branche sud aval 03 2002-07-29            0.008422603
## 51           Sewell 08 2002-07-29            0.008783784
## 52        Pok amont 04 2002-07-29            0.007485964
## 53    br. sud amont 01 2002-07-29            0.015096304
## 54         Morrison 06 2002-07-29            0.009973753
## 55 McConnell Six Rd 05 2002-07-29            0.024150268
## 56          Pollard 10 2002-07-29            0.019823789
## 57     Waugh sanct. 07 2002-07-29            0.011969112
## 58          Dempsey 12 2002-07-29            0.014605648
## 59             Malt 11 2002-07-29            0.019860440
## 60          Suggary 02 2002-07-29            0.008264463
## 61        Pok amont 04 2002-08-28            0.007485964
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755
## 63          Dempsey 12 2002-08-28            0.014605648
## 64 Branche sud aval 03 2002-08-28            0.008422603
## 65           Sewell 08 2002-08-28            0.008783784
## 66          Pollard 10 2002-08-28            0.019823789
## 67    br. sud amont 01 2002-08-28            0.015096304
## 68         Morrison 06 2002-08-28            0.009973753
## 69 McConnell Six Rd 05 2002-08-28            0.024150268
## 70          Suggary 02 2002-08-28            0.008264463
## 71     Waugh sanct. 07 2002-08-28            0.011969112
## 72             Malt 11 2002-08-28            0.019860440
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755
## 74           Sewell 08 2002-10-02            0.008783784
## 75        Pok amont 04 2002-10-02            0.007485964
## 76     Waugh sanct. 07 2002-10-02            0.011969112
## 77          Dempsey 12 2002-10-02            0.014605648
## 78 Branche sud aval 03 2002-10-02            0.008422603
## 79 McConnell Six Rd 05 2002-10-02            0.024150268
## 80          Pollard 10 2002-10-02            0.019823789
## 81    br. sud amont 01 2002-10-02            0.015096304
## 82         Morrison 06 2002-10-02            0.009973753
## 83             Malt 11 2002-10-02            0.019860440
## 84          Suggary 02 2002-10-02            0.008264463
## 85        Pok amont 04 2002-10-31            0.007485964
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755
## 87 Branche sud aval 03 2002-10-31            0.008422603
## 88           Sewell 08 2002-10-31            0.008783784
## 89          Suggary 02 2002-10-31            0.008264463
## 90     Waugh sanct. 07 2002-10-31            0.011969112
## 91          Dempsey 12 2002-10-31            0.014605648
## 92         Morrison 06 2002-10-31            0.009973753
## 93 McConnell Six Rd 05 2002-10-31            0.024150268
## 94          Pollard 10 2002-10-31            0.019823789
## 95    br. sud amont 01 2002-10-31            0.015096304
## 96             Malt 11 2002-10-31            0.019860440
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctINF_supdrainee_2020
## 97           Suggary 02 2021-07-28             0.03956273
## 98           Dempsey 12 2021-07-28             0.01679790
## 99  Branche sud aval 03 2021-07-28             0.02683843
## 100           Sewell 08 2021-07-28             0.01859504
## 101     Waugh sanct. 07 2021-07-28             0.01737452
## 102    br. sud amont 01 2021-07-28             0.02677702
## 103         Morrison 06 2021-07-28             0.02419498
## 104             Malt 11 2021-07-28             0.03412162
## 105 McConnell Six Rd 05 2021-07-28             0.01871491
## 106          Pollard 10 2021-07-28             0.02877358
## 107        Pok amont 04 2021-07-28             0.02593918
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336
## 109             Malt 11 2021-08-31             0.02877358
## 110          Suggary 02 2021-08-31             0.03891336
## 111     Waugh sanct. 07 2021-08-31             0.03956273
## 112          Dempsey 12 2021-08-31             0.01679790
## 113 Branche sud aval 03 2021-08-31             0.02683843
## 114           Sewell 08 2021-08-31             0.01859504
## 115          Pollard 10 2021-08-31             0.01737452
## 116    br. sud amont 01 2021-08-31             0.02677702
## 117         Morrison 06 2021-08-31             0.02419498
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162
## 119 McConnell Six Rd 05 2021-08-31             0.01871491
## 120        Pok amont 04 2021-08-31             0.02593918
## 121          Suggary 02 2021-10-05             0.01871491
## 122         Morrison 06 2021-10-05             0.02877358
## 123             Malt 11 2021-10-05             0.02593918
## 124           Sewell 08 2021-10-05             0.03891336
## 125     Waugh sanct. 07 2021-10-05             0.03956273
## 126          Dempsey 12 2021-10-05             0.01679790
## 127 Branche sud aval 03 2021-10-05             0.02683843
## 128 McConnell Six Rd 05 2021-10-05             0.01859504
## 129          Pollard 10 2021-10-05             0.01737452
## 130    br. sud amont 01 2021-10-05             0.02677702
## 131        Pok amont 04 2021-10-05             0.02419498
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162
## 133             Malt 11 2021-10-28             0.03412162
## 134          Suggary 02 2021-10-28             0.01871491
## 135    br. sud amont 01 2021-10-28             0.02877358
## 136         Morrison 06 2021-10-28             0.01679790
## 137 Branche sud aval 03 2021-10-28             0.02593918
## 138           Sewell 08 2021-10-28             0.03891336
## 139     Waugh sanct. 07 2021-10-28             0.03956273
## 140          Dempsey 12 2021-10-28             0.02677702
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843
## 142 McConnell Six Rd 05 2021-10-28             0.01859504
## 143          Pollard 10 2021-10-28             0.01737452
## 144        Pok amont 04 2021-10-28             0.02419498
## 145          Pollard 10 2022-07-28             0.02877358
## 146         Morrison 06 2022-07-28             0.02419498
## 147             Malt 11 2022-07-28             0.03412162
## 148          Suggary 02 2022-07-28             0.01871491
## 149    br. sud amont 01 2022-07-28             0.03956273
## 150          Dempsey 12 2022-07-28             0.01679790
## 151 Branche sud aval 03 2022-07-28             0.02593918
## 152           Sewell 08 2022-07-28             0.03891336
## 153     Waugh sanct. 07 2022-07-28             0.01737452
## 154        Pok amont 04 2022-07-28             0.02677702
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843
## 156 McConnell Six Rd 05 2022-07-28             0.01859504
## 157 McConnell Six Rd 05 2022-09-01             0.01871491
## 158          Pollard 10 2022-09-01             0.02877358
## 159    br. sud amont 01 2022-09-01             0.02677702
## 160         Morrison 06 2022-09-01             0.02419498
## 161             Malt 11 2022-09-01             0.03412162
## 162          Suggary 02 2022-09-01             0.03891336
## 163     Waugh sanct. 07 2022-09-01             0.03956273
## 164          Dempsey 12 2022-09-01             0.01679790
## 165 Branche sud aval 03 2022-09-01             0.02593918
## 166           Sewell 08 2022-09-01             0.01859504
## 167        Pok amont 04 2022-09-01             0.01737452
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843
## 169           Sewell 08 2022-10-03             0.02877358
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162
## 171 McConnell Six Rd 05 2022-10-03             0.01871491
## 172          Pollard 10 2022-10-03             0.01737452
## 173    br. sud amont 01 2022-10-03             0.02677702
## 174         Morrison 06 2022-10-03             0.02419498
## 175             Malt 11 2022-10-03             0.02593918
## 176          Suggary 02 2022-10-03             0.03891336
## 177     Waugh sanct. 07 2022-10-03             0.03956273
## 178          Dempsey 12 2022-10-03             0.01679790
## 179 Branche sud aval 03 2022-10-03             0.02683843
## 180        Pok amont 04 2022-10-03             0.01859504
## 181 Branche sud aval 03 2022-11-01             0.01871491
## 182           Sewell 08 2022-11-01             0.02877358
## 183        Pok amont 04 2022-11-01             0.02419498
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162
## 185 McConnell Six Rd 05 2022-11-01             0.01859504
## 186          Pollard 10 2022-11-01             0.01737452
## 187    br. sud amont 01 2022-11-01             0.02677702
## 188         Morrison 06 2022-11-01             0.01679790
## 189             Malt 11 2022-11-01             0.02593918
## 190          Suggary 02 2022-11-01             0.03891336
## 191     Waugh sanct. 07 2022-11-01             0.03956273
## 192          Dempsey 12 2022-11-01             0.02683843
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la COT et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Infrastructures_vs_Coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctINF_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01            0.015096304                10
## 2          Morrison 06 2001-08-01            0.009973753                80
## 3              Malt 11 2001-08-01            0.019860440                30
## 4           Suggary 02 2001-08-01            0.008264463                10
## 5      Waugh sanct. 07 2001-08-01            0.011969112               270
## 6           Dempsey 12 2001-08-01            0.014605648                50
## 7  Branche sud aval 03 2001-08-01            0.008422603                10
## 8            Sewell 08 2001-08-01            0.008783784                20
## 9         Pok amont 04 2001-08-01            0.007485964                10
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755                10
## 11 McConnell Six Rd 05 2001-08-01            0.024150268                30
## 12          Pollard 10 2001-08-01            0.019823789               110
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755                10
## 14          Pollard 10 2001-08-28            0.019823789                50
## 15    br. sud amont 01 2001-08-28            0.015096304               120
## 16         Morrison 06 2001-08-28            0.009973753                90
## 17             Malt 11 2001-08-28            0.019860440                20
## 18          Suggary 02 2001-08-28            0.008264463                80
## 19     Waugh sanct. 07 2001-08-28            0.011969112               430
## 20          Dempsey 12 2001-08-28            0.014605648                20
## 21 Branche sud aval 03 2001-08-28            0.008422603               110
## 22           Sewell 08 2001-08-28            0.008783784               210
## 23        Pok amont 04 2001-08-28            0.007485964                10
## 24 McConnell Six Rd 05 2001-08-28            0.024150268               250
## 25        Pok amont 04 2001-09-26            0.007485964               530
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755               830
## 27 McConnell Six Rd 05 2001-09-26            0.024150268               120
## 28          Pollard 10 2001-09-26            0.019823789              1240
## 29    br. sud amont 01 2001-09-26            0.015096304              2000
## 30         Morrison 06 2001-09-26            0.009973753               220
## 31             Malt 11 2001-09-26            0.019860440               150
## 32          Suggary 02 2001-09-26            0.008264463               150
## 33     Waugh sanct. 07 2001-09-26            0.011969112               590
## 34          Dempsey 12 2001-09-26            0.014605648               150
## 35 Branche sud aval 03 2001-09-26            0.008422603               660
## 36           Sewell 08 2001-09-26            0.008783784               190
## 37           Sewell 08 2001-10-31            0.008783784               140
## 38        Pok amont 04 2001-10-31            0.007485964                20
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755                10
## 40         Morrison 06 2001-10-31            0.009973753                10
## 41 McConnell Six Rd 05 2001-10-31            0.024150268               310
## 42          Pollard 10 2001-10-31            0.019823789                50
## 43    br. sud amont 01 2001-10-31            0.015096304                20
## 44          Dempsey 12 2001-10-31            0.014605648                10
## 45             Malt 11 2001-10-31            0.019860440               100
## 46          Suggary 02 2001-10-31            0.008264463                30
## 47     Waugh sanct. 07 2001-10-31            0.011969112               480
## 48 Branche sud aval 03 2001-10-31            0.008422603                30
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755                10
## 50 Branche sud aval 03 2002-07-29            0.008422603                30
## 51           Sewell 08 2002-07-29            0.008783784                60
## 52        Pok amont 04 2002-07-29            0.007485964                10
## 53    br. sud amont 01 2002-07-29            0.015096304                20
## 54         Morrison 06 2002-07-29            0.009973753                10
## 55 McConnell Six Rd 05 2002-07-29            0.024150268                10
## 56          Pollard 10 2002-07-29            0.019823789               660
## 57     Waugh sanct. 07 2002-07-29            0.011969112                80
## 58          Dempsey 12 2002-07-29            0.014605648                25
## 59             Malt 11 2002-07-29            0.019860440                10
## 60          Suggary 02 2002-07-29            0.008264463                10
## 61        Pok amont 04 2002-08-28            0.007485964                30
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755                10
## 63          Dempsey 12 2002-08-28            0.014605648                10
## 64 Branche sud aval 03 2002-08-28            0.008422603                20
## 65           Sewell 08 2002-08-28            0.008783784                10
## 66          Pollard 10 2002-08-28            0.019823789               180
## 67    br. sud amont 01 2002-08-28            0.015096304                80
## 68         Morrison 06 2002-08-28            0.009973753                20
## 69 McConnell Six Rd 05 2002-08-28            0.024150268               310
## 70          Suggary 02 2002-08-28            0.008264463                15
## 71     Waugh sanct. 07 2002-08-28            0.011969112               410
## 72             Malt 11 2002-08-28            0.019860440                30
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755                10
## 74           Sewell 08 2002-10-02            0.008783784                25
## 75        Pok amont 04 2002-10-02            0.007485964                10
## 76     Waugh sanct. 07 2002-10-02            0.011969112               700
## 77          Dempsey 12 2002-10-02            0.014605648                30
## 78 Branche sud aval 03 2002-10-02            0.008422603                40
## 79 McConnell Six Rd 05 2002-10-02            0.024150268               150
## 80          Pollard 10 2002-10-02            0.019823789                10
## 81    br. sud amont 01 2002-10-02            0.015096304                20
## 82         Morrison 06 2002-10-02            0.009973753                10
## 83             Malt 11 2002-10-02            0.019860440                90
## 84          Suggary 02 2002-10-02            0.008264463                20
## 85        Pok amont 04 2002-10-31            0.007485964                10
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755                10
## 87 Branche sud aval 03 2002-10-31            0.008422603                10
## 88           Sewell 08 2002-10-31            0.008783784                10
## 89          Suggary 02 2002-10-31            0.008264463                50
## 90     Waugh sanct. 07 2002-10-31            0.011969112                40
## 91          Dempsey 12 2002-10-31            0.014605648                10
## 92         Morrison 06 2002-10-31            0.009973753                10
## 93 McConnell Six Rd 05 2002-10-31            0.024150268                30
## 94          Pollard 10 2002-10-31            0.019823789                10
## 95    br. sud amont 01 2002-10-31            0.015096304                10
## 96             Malt 11 2002-10-31            0.019860440                10
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctINF_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28             0.03956273              20.0
## 98           Dempsey 12 2021-07-28             0.01679790              52.0
## 99  Branche sud aval 03 2021-07-28             0.02683843              74.0
## 100           Sewell 08 2021-07-28             0.01859504              98.0
## 101     Waugh sanct. 07 2021-07-28             0.01737452              52.0
## 102    br. sud amont 01 2021-07-28             0.02677702              75.0
## 103         Morrison 06 2021-07-28             0.02419498              30.0
## 104             Malt 11 2021-07-28             0.03412162              10.0
## 105 McConnell Six Rd 05 2021-07-28             0.01871491              75.0
## 106          Pollard 10 2021-07-28             0.02877358              98.0
## 107        Pok amont 04 2021-07-28             0.02593918              10.0
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336              20.0
## 109             Malt 11 2021-08-31             0.02877358              39.3
## 110          Suggary 02 2021-08-31             0.03891336             235.9
## 111     Waugh sanct. 07 2021-08-31             0.03956273              68.3
## 112          Dempsey 12 2021-08-31             0.01679790              49.6
## 113 Branche sud aval 03 2021-08-31             0.02683843              54.5
## 114           Sewell 08 2021-08-31             0.01859504             148.3
## 115          Pollard 10 2021-08-31             0.01737452             117.8
## 116    br. sud amont 01 2021-08-31             0.02677702              72.7
## 117         Morrison 06 2021-08-31             0.02419498              25.6
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162              67.7
## 119 McConnell Six Rd 05 2021-08-31             0.01871491              70.3
## 120        Pok amont 04 2021-08-31             0.02593918              15.6
## 121          Suggary 02 2021-10-05             0.01871491              41.7
## 122         Morrison 06 2021-10-05             0.02877358              24.6
## 123             Malt 11 2021-10-05             0.02593918              47.1
## 124           Sewell 08 2021-10-05             0.03891336             135.4
## 125     Waugh sanct. 07 2021-10-05             0.03956273              29.5
## 126          Dempsey 12 2021-10-05             0.01679790              54.8
## 127 Branche sud aval 03 2021-10-05             0.02683843              37.3
## 128 McConnell Six Rd 05 2021-10-05             0.01859504              95.9
## 129          Pollard 10 2021-10-05             0.01737452              62.7
## 130    br. sud amont 01 2021-10-05             0.02677702              35.5
## 131        Pok amont 04 2021-10-05             0.02419498              10.8
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162              27.5
## 133             Malt 11 2021-10-28             0.03412162              16.0
## 134          Suggary 02 2021-10-28             0.01871491               7.4
## 135    br. sud amont 01 2021-10-28             0.02877358              19.9
## 136         Morrison 06 2021-10-28             0.01679790              12.1
## 137 Branche sud aval 03 2021-10-28             0.02593918              39.9
## 138           Sewell 08 2021-10-28             0.03891336              48.1
## 139     Waugh sanct. 07 2021-10-28             0.03956273              38.4
## 140          Dempsey 12 2021-10-28             0.02677702              52.0
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843              24.3
## 142 McConnell Six Rd 05 2021-10-28             0.01859504              29.5
## 143          Pollard 10 2021-10-28             0.01737452              34.5
## 144        Pok amont 04 2021-10-28             0.02419498              14.6
## 145          Pollard 10 2022-07-28             0.02877358              57.6
## 146         Morrison 06 2022-07-28             0.02419498             133.4
## 147             Malt 11 2022-07-28             0.03412162              70.3
## 148          Suggary 02 2022-07-28             0.01871491              27.5
## 149    br. sud amont 01 2022-07-28             0.03956273              32.7
## 150          Dempsey 12 2022-07-28             0.01679790              41.7
## 151 Branche sud aval 03 2022-07-28             0.02593918              59.8
## 152           Sewell 08 2022-07-28             0.03891336              90.6
## 153     Waugh sanct. 07 2022-07-28             0.01737452              93.3
## 154        Pok amont 04 2022-07-28             0.02677702              77.1
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843              22.8
## 156 McConnell Six Rd 05 2022-07-28             0.01859504             488.4
## 157 McConnell Six Rd 05 2022-09-01             0.01871491              82.0
## 158          Pollard 10 2022-09-01             0.02877358            1046.2
## 159    br. sud amont 01 2022-09-01             0.02677702             114.5
## 160         Morrison 06 2022-09-01             0.02419498             686.7
## 161             Malt 11 2022-09-01             0.03412162              69.1
## 162          Suggary 02 2022-09-01             0.03891336              40.2
## 163     Waugh sanct. 07 2022-09-01             0.03956273              88.0
## 164          Dempsey 12 2022-09-01             0.01679790             248.1
## 165 Branche sud aval 03 2022-09-01             0.02593918              70.3
## 166           Sewell 08 2022-09-01             0.01859504             172.2
## 167        Pok amont 04 2022-09-01             0.01737452               5.2
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843             121.1
## 169           Sewell 08 2022-10-03             0.02877358              48.8
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162              44.1
## 171 McConnell Six Rd 05 2022-10-03             0.01871491              59.1
## 172          Pollard 10 2022-10-03             0.01737452              24.1
## 173    br. sud amont 01 2022-10-03             0.02677702              57.6
## 174         Morrison 06 2022-10-03             0.02419498              47.4
## 175             Malt 11 2022-10-03             0.02593918               5.2
## 176          Suggary 02 2022-10-03             0.03891336               9.7
## 177     Waugh sanct. 07 2022-10-03             0.03956273              65.7
## 178          Dempsey 12 2022-10-03             0.01679790              48.0
## 179 Branche sud aval 03 2022-10-03             0.02683843              13.4
## 180        Pok amont 04 2022-10-03             0.01859504               8.4
## 181 Branche sud aval 03 2022-11-01             0.01871491              24.6
## 182           Sewell 08 2022-11-01             0.02877358             115.3
## 183        Pok amont 04 2022-11-01             0.02419498               5.2
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162               3.1
## 185 McConnell Six Rd 05 2022-11-01             0.01859504              72.3
## 186          Pollard 10 2022-11-01             0.01737452              20.3
## 187    br. sud amont 01 2022-11-01             0.02677702              37.3
## 188         Morrison 06 2022-11-01             0.01679790              39.9
## 189             Malt 11 2022-11-01             0.02593918              45.0
## 190          Suggary 02 2022-11-01             0.03891336               8.5
## 191     Waugh sanct. 07 2022-11-01             0.03956273             249.5
## 192          Dempsey 12 2022-11-01             0.02683843              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Infrastructures_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctINF_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01            0.015096304                0.0080
## 2          Morrison 06 2001-08-01            0.009973753                0.0080
## 3              Malt 11 2001-08-01            0.019860440                0.0110
## 4           Suggary 02 2001-08-01            0.008264463                0.0090
## 5      Waugh sanct. 07 2001-08-01            0.011969112                0.0150
## 6           Dempsey 12 2001-08-01            0.014605648                0.0140
## 7  Branche sud aval 03 2001-08-01            0.008422603                0.0080
## 8            Sewell 08 2001-08-01            0.008783784                0.0110
## 9         Pok amont 04 2001-08-01            0.007485964                0.0110
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755                0.0090
## 11 McConnell Six Rd 05 2001-08-01            0.024150268                0.0160
## 12          Pollard 10 2001-08-01            0.019823789                0.0150
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755                0.0070
## 14          Pollard 10 2001-08-28            0.019823789                0.0170
## 15    br. sud amont 01 2001-08-28            0.015096304                0.0060
## 16         Morrison 06 2001-08-28            0.009973753                0.0080
## 17             Malt 11 2001-08-28            0.019860440                0.0080
## 18          Suggary 02 2001-08-28            0.008264463                0.0080
## 19     Waugh sanct. 07 2001-08-28            0.011969112                0.0090
## 20          Dempsey 12 2001-08-28            0.014605648                0.0110
## 21 Branche sud aval 03 2001-08-28            0.008422603                0.0070
## 22           Sewell 08 2001-08-28            0.008783784                0.0170
## 23        Pok amont 04 2001-08-28            0.007485964                0.0060
## 24 McConnell Six Rd 05 2001-08-28            0.024150268                0.0130
## 25        Pok amont 04 2001-09-26            0.007485964                0.0130
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755                0.0140
## 27 McConnell Six Rd 05 2001-09-26            0.024150268                0.0130
## 28          Pollard 10 2001-09-26            0.019823789                0.0155
## 29    br. sud amont 01 2001-09-26            0.015096304                0.0130
## 30         Morrison 06 2001-09-26            0.009973753                0.0080
## 31             Malt 11 2001-09-26            0.019860440                0.0120
## 32          Suggary 02 2001-09-26            0.008264463                0.0090
## 33     Waugh sanct. 07 2001-09-26            0.011969112                0.0140
## 34          Dempsey 12 2001-09-26            0.014605648                0.0190
## 35 Branche sud aval 03 2001-09-26            0.008422603                0.0090
## 36           Sewell 08 2001-09-26            0.008783784                0.0120
## 37           Sewell 08 2001-10-31            0.008783784                0.0120
## 38        Pok amont 04 2001-10-31            0.007485964                0.0050
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755                0.0050
## 40         Morrison 06 2001-10-31            0.009973753                0.0060
## 41 McConnell Six Rd 05 2001-10-31            0.024150268                0.0110
## 42          Pollard 10 2001-10-31            0.019823789                0.0080
## 43    br. sud amont 01 2001-10-31            0.015096304                0.0050
## 44          Dempsey 12 2001-10-31            0.014605648                0.0090
## 45             Malt 11 2001-10-31            0.019860440                0.0070
## 46          Suggary 02 2001-10-31            0.008264463                0.0080
## 47     Waugh sanct. 07 2001-10-31            0.011969112                0.0120
## 48 Branche sud aval 03 2001-10-31            0.008422603                0.0050
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755                0.0050
## 50 Branche sud aval 03 2002-07-29            0.008422603                0.0070
## 51           Sewell 08 2002-07-29            0.008783784                0.0200
## 52        Pok amont 04 2002-07-29            0.007485964                0.0060
## 53    br. sud amont 01 2002-07-29            0.015096304                0.0060
## 54         Morrison 06 2002-07-29            0.009973753                0.0080
## 55 McConnell Six Rd 05 2002-07-29            0.024150268                0.0130
## 56          Pollard 10 2002-07-29            0.019823789                0.0230
## 57     Waugh sanct. 07 2002-07-29            0.011969112                0.0120
## 58          Dempsey 12 2002-07-29            0.014605648                0.0100
## 59             Malt 11 2002-07-29            0.019860440                0.0090
## 60          Suggary 02 2002-07-29            0.008264463                0.0070
## 61        Pok amont 04 2002-08-28            0.007485964                0.0100
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755                0.0090
## 63          Dempsey 12 2002-08-28            0.014605648                0.0130
## 64 Branche sud aval 03 2002-08-28            0.008422603                0.0080
## 65           Sewell 08 2002-08-28            0.008783784                0.0100
## 66          Pollard 10 2002-08-28            0.019823789                0.0160
## 67    br. sud amont 01 2002-08-28            0.015096304                0.0070
## 68         Morrison 06 2002-08-28            0.009973753                0.0090
## 69 McConnell Six Rd 05 2002-08-28            0.024150268                0.0140
## 70          Suggary 02 2002-08-28            0.008264463                0.0100
## 71     Waugh sanct. 07 2002-08-28            0.011969112                0.0130
## 72             Malt 11 2002-08-28            0.019860440                0.0110
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755                0.0070
## 74           Sewell 08 2002-10-02            0.008783784                0.0155
## 75        Pok amont 04 2002-10-02            0.007485964                0.0060
## 76     Waugh sanct. 07 2002-10-02            0.011969112                0.0090
## 77          Dempsey 12 2002-10-02            0.014605648                0.0120
## 78 Branche sud aval 03 2002-10-02            0.008422603                0.0080
## 79 McConnell Six Rd 05 2002-10-02            0.024150268                0.0110
## 80          Pollard 10 2002-10-02            0.019823789                0.0110
## 81    br. sud amont 01 2002-10-02            0.015096304                0.0050
## 82         Morrison 06 2002-10-02            0.009973753                0.0050
## 83             Malt 11 2002-10-02            0.019860440                0.0080
## 84          Suggary 02 2002-10-02            0.008264463                0.0070
## 85        Pok amont 04 2002-10-31            0.007485964                0.0060
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755                0.0050
## 87 Branche sud aval 03 2002-10-31            0.008422603                0.0050
## 88           Sewell 08 2002-10-31            0.008783784                0.0130
## 89          Suggary 02 2002-10-31            0.008264463                0.0050
## 90     Waugh sanct. 07 2002-10-31            0.011969112                0.0080
## 91          Dempsey 12 2002-10-31            0.014605648                0.0080
## 92         Morrison 06 2002-10-31            0.009973753                0.0050
## 93 McConnell Six Rd 05 2002-10-31            0.024150268                0.0090
## 94          Pollard 10 2002-10-31            0.019823789                0.0060
## 95    br. sud amont 01 2002-10-31            0.015096304                0.0065
## 96             Malt 11 2002-10-31            0.019860440                0.0050
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctINF_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28             0.03956273                 0.018
## 98           Dempsey 12 2021-07-28             0.01679790                 0.024
## 99  Branche sud aval 03 2021-07-28             0.02683843                 0.022
## 100           Sewell 08 2021-07-28             0.01859504                 0.028
## 101     Waugh sanct. 07 2021-07-28             0.01737452                 0.017
## 102    br. sud amont 01 2021-07-28             0.02677702                 0.016
## 103         Morrison 06 2021-07-28             0.02419498                 0.019
## 104             Malt 11 2021-07-28             0.03412162                 0.014
## 105 McConnell Six Rd 05 2021-07-28             0.01871491                 0.026
## 106          Pollard 10 2021-07-28             0.02877358                 0.051
## 107        Pok amont 04 2021-07-28             0.02593918                 0.022
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336                 0.014
## 109             Malt 11 2021-08-31             0.02877358                 0.005
## 110          Suggary 02 2021-08-31             0.03891336                 0.011
## 111     Waugh sanct. 07 2021-08-31             0.03956273                 0.006
## 112          Dempsey 12 2021-08-31             0.01679790                 0.014
## 113 Branche sud aval 03 2021-08-31             0.02683843                 0.009
## 114           Sewell 08 2021-08-31             0.01859504                 0.015
## 115          Pollard 10 2021-08-31             0.01737452                 0.073
## 116    br. sud amont 01 2021-08-31             0.02677702                 0.016
## 117         Morrison 06 2021-08-31             0.02419498                 0.016
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162                 0.012
## 119 McConnell Six Rd 05 2021-08-31             0.01871491                 0.029
## 120        Pok amont 04 2021-08-31             0.02593918                 0.008
## 121          Suggary 02 2021-10-05             0.01871491                 0.007
## 122         Morrison 06 2021-10-05             0.02877358                 0.010
## 123             Malt 11 2021-10-05             0.02593918                 0.012
## 124           Sewell 08 2021-10-05             0.03891336                 0.024
## 125     Waugh sanct. 07 2021-10-05             0.03956273                 0.019
## 126          Dempsey 12 2021-10-05             0.01679790                 0.018
## 127 Branche sud aval 03 2021-10-05             0.02683843                 0.015
## 128 McConnell Six Rd 05 2021-10-05             0.01859504                 0.025
## 129          Pollard 10 2021-10-05             0.01737452                 0.037
## 130    br. sud amont 01 2021-10-05             0.02677702                 0.019
## 131        Pok amont 04 2021-10-05             0.02419498                 0.008
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162                 0.011
## 133             Malt 11 2021-10-28             0.03412162                 0.009
## 134          Suggary 02 2021-10-28             0.01871491                 0.009
## 135    br. sud amont 01 2021-10-28             0.02877358                 0.013
## 136         Morrison 06 2021-10-28             0.01679790                 0.011
## 137 Branche sud aval 03 2021-10-28             0.02593918                 0.022
## 138           Sewell 08 2021-10-28             0.03891336                 0.020
## 139     Waugh sanct. 07 2021-10-28             0.03956273                 0.018
## 140          Dempsey 12 2021-10-28             0.02677702                 0.015
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843                 0.010
## 142 McConnell Six Rd 05 2021-10-28             0.01859504                 0.018
## 143          Pollard 10 2021-10-28             0.01737452                 0.033
## 144        Pok amont 04 2021-10-28             0.02419498                 0.013
## 145          Pollard 10 2022-07-28             0.02877358                 0.034
## 146         Morrison 06 2022-07-28             0.02419498                 0.014
## 147             Malt 11 2022-07-28             0.03412162                 0.008
## 148          Suggary 02 2022-07-28             0.01871491                 0.009
## 149    br. sud amont 01 2022-07-28             0.03956273                 0.016
## 150          Dempsey 12 2022-07-28             0.01679790                 0.017
## 151 Branche sud aval 03 2022-07-28             0.02593918                 0.013
## 152           Sewell 08 2022-07-28             0.03891336                 0.019
## 153     Waugh sanct. 07 2022-07-28             0.01737452                 0.011
## 154        Pok amont 04 2022-07-28             0.02677702                 0.009
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843                 0.009
## 156 McConnell Six Rd 05 2022-07-28             0.01859504                 0.019
## 157 McConnell Six Rd 05 2022-09-01             0.01871491                 0.024
## 158          Pollard 10 2022-09-01             0.02877358                 0.075
## 159    br. sud amont 01 2022-09-01             0.02677702                 0.015
## 160         Morrison 06 2022-09-01             0.02419498                 0.021
## 161             Malt 11 2022-09-01             0.03412162                 0.008
## 162          Suggary 02 2022-09-01             0.03891336                 0.010
## 163     Waugh sanct. 07 2022-09-01             0.03956273                 0.021
## 164          Dempsey 12 2022-09-01             0.01679790                 0.021
## 165 Branche sud aval 03 2022-09-01             0.02593918                 0.016
## 166           Sewell 08 2022-09-01             0.01859504                 0.019
## 167        Pok amont 04 2022-09-01             0.01737452                 0.010
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843                 0.012
## 169           Sewell 08 2022-10-03             0.02877358                 0.016
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162                 0.019
## 171 McConnell Six Rd 05 2022-10-03             0.01871491                 0.022
## 172          Pollard 10 2022-10-03             0.01737452                 0.049
## 173    br. sud amont 01 2022-10-03             0.02677702                 0.016
## 174         Morrison 06 2022-10-03             0.02419498                 0.014
## 175             Malt 11 2022-10-03             0.02593918                 0.007
## 176          Suggary 02 2022-10-03             0.03891336                 0.005
## 177     Waugh sanct. 07 2022-10-03             0.03956273                 0.013
## 178          Dempsey 12 2022-10-03             0.01679790                 0.013
## 179 Branche sud aval 03 2022-10-03             0.02683843                 0.009
## 180        Pok amont 04 2022-10-03             0.01859504                 0.013
## 181 Branche sud aval 03 2022-11-01             0.01871491                 0.013
## 182           Sewell 08 2022-11-01             0.02877358                 0.021
## 183        Pok amont 04 2022-11-01             0.02419498                 0.011
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162                 0.017
## 185 McConnell Six Rd 05 2022-11-01             0.01859504                 0.020
## 186          Pollard 10 2022-11-01             0.01737452                 0.041
## 187    br. sud amont 01 2022-11-01             0.02677702                 0.020
## 188         Morrison 06 2022-11-01             0.01679790                 0.018
## 189             Malt 11 2022-11-01             0.02593918                 0.009
## 190          Suggary 02 2022-11-01             0.03891336                 0.010
## 191     Waugh sanct. 07 2022-11-01             0.03956273                 0.017
## 192          Dempsey 12 2022-11-01             0.02683843                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Infrastructures_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctINF_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctINF_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01            0.015096304            0.0500
## 2          Morrison 06 2001-08-01            0.009973753            0.0940
## 3              Malt 11 2001-08-01            0.019860440            0.0500
## 4           Suggary 02 2001-08-01            0.008264463            0.0500
## 5      Waugh sanct. 07 2001-08-01            0.011969112            0.0500
## 6           Dempsey 12 2001-08-01            0.014605648            0.0500
## 7  Branche sud aval 03 2001-08-01            0.008422603            0.0500
## 8            Sewell 08 2001-08-01            0.008783784            0.1360
## 9         Pok amont 04 2001-08-01            0.007485964            0.0500
## 10 Trout Val-Doucet 09 2001-08-01            0.011320755            0.0500
## 11 McConnell Six Rd 05 2001-08-01            0.024150268            0.2510
## 12          Pollard 10 2001-08-01            0.019823789            0.2600
## 13 Trout Val-Doucet 09 2001-08-28            0.011320755            0.0500
## 14          Pollard 10 2001-08-28            0.019823789            0.3010
## 15    br. sud amont 01 2001-08-28            0.015096304            0.0500
## 16         Morrison 06 2001-08-28            0.009973753            0.0910
## 17             Malt 11 2001-08-28            0.019860440            0.0500
## 18          Suggary 02 2001-08-28            0.008264463            0.0500
## 19     Waugh sanct. 07 2001-08-28            0.011969112            0.0500
## 20          Dempsey 12 2001-08-28            0.014605648            0.0500
## 21 Branche sud aval 03 2001-08-28            0.008422603            0.0500
## 22           Sewell 08 2001-08-28            0.008783784            0.1330
## 23        Pok amont 04 2001-08-28            0.007485964            0.0500
## 24 McConnell Six Rd 05 2001-08-28            0.024150268            0.2810
## 25        Pok amont 04 2001-09-26            0.007485964            0.0500
## 26 Trout Val-Doucet 09 2001-09-26            0.011320755            0.0500
## 27 McConnell Six Rd 05 2001-09-26            0.024150268            0.2110
## 28          Pollard 10 2001-09-26            0.019823789            0.1845
## 29    br. sud amont 01 2001-09-26            0.015096304            0.0770
## 30         Morrison 06 2001-09-26            0.009973753            0.0500
## 31             Malt 11 2001-09-26            0.019860440            0.0500
## 32          Suggary 02 2001-09-26            0.008264463            0.0500
## 33     Waugh sanct. 07 2001-09-26            0.011969112            0.0500
## 34          Dempsey 12 2001-09-26            0.014605648            0.0500
## 35 Branche sud aval 03 2001-09-26            0.008422603            0.0500
## 36           Sewell 08 2001-09-26            0.008783784            0.0500
## 37           Sewell 08 2001-10-31            0.008783784            0.0500
## 38        Pok amont 04 2001-10-31            0.007485964            0.0500
## 39 Trout Val-Doucet 09 2001-10-31            0.011320755            0.0500
## 40         Morrison 06 2001-10-31            0.009973753            0.0500
## 41 McConnell Six Rd 05 2001-10-31            0.024150268            0.0500
## 42          Pollard 10 2001-10-31            0.019823789            0.2300
## 43    br. sud amont 01 2001-10-31            0.015096304            0.0500
## 44          Dempsey 12 2001-10-31            0.014605648            0.0500
## 45             Malt 11 2001-10-31            0.019860440            0.0500
## 46          Suggary 02 2001-10-31            0.008264463            0.0500
## 47     Waugh sanct. 07 2001-10-31            0.011969112            0.0500
## 48 Branche sud aval 03 2001-10-31            0.008422603            0.0500
## 49 Trout Val-Doucet 09 2002-07-29            0.011320755            0.0500
## 50 Branche sud aval 03 2002-07-29            0.008422603            0.0500
## 51           Sewell 08 2002-07-29            0.008783784            0.2200
## 52        Pok amont 04 2002-07-29            0.007485964            0.0700
## 53    br. sud amont 01 2002-07-29            0.015096304            0.0500
## 54         Morrison 06 2002-07-29            0.009973753            0.0700
## 55 McConnell Six Rd 05 2002-07-29            0.024150268            0.2800
## 56          Pollard 10 2002-07-29            0.019823789            0.3300
## 57     Waugh sanct. 07 2002-07-29            0.011969112            0.0500
## 58          Dempsey 12 2002-07-29            0.014605648            0.0500
## 59             Malt 11 2002-07-29            0.019860440            0.0500
## 60          Suggary 02 2002-07-29            0.008264463            0.1900
## 61        Pok amont 04 2002-08-28            0.007485964            0.0700
## 62 Trout Val-Doucet 09 2002-08-28            0.011320755            0.0500
## 63          Dempsey 12 2002-08-28            0.014605648            0.0500
## 64 Branche sud aval 03 2002-08-28            0.008422603            0.0500
## 65           Sewell 08 2002-08-28            0.008783784            0.0500
## 66          Pollard 10 2002-08-28            0.019823789            0.1800
## 67    br. sud amont 01 2002-08-28            0.015096304            0.0500
## 68         Morrison 06 2002-08-28            0.009973753            0.0700
## 69 McConnell Six Rd 05 2002-08-28            0.024150268            0.3000
## 70          Suggary 02 2002-08-28            0.008264463            0.1750
## 71     Waugh sanct. 07 2002-08-28            0.011969112            0.0500
## 72             Malt 11 2002-08-28            0.019860440            0.0500
## 73 Trout Val-Doucet 09 2002-10-02            0.011320755            0.0500
## 74           Sewell 08 2002-10-02            0.008783784            0.0500
## 75        Pok amont 04 2002-10-02            0.007485964            0.0500
## 76     Waugh sanct. 07 2002-10-02            0.011969112            0.0500
## 77          Dempsey 12 2002-10-02            0.014605648            0.0500
## 78 Branche sud aval 03 2002-10-02            0.008422603            0.0500
## 79 McConnell Six Rd 05 2002-10-02            0.024150268            0.1900
## 80          Pollard 10 2002-10-02            0.019823789            0.1300
## 81    br. sud amont 01 2002-10-02            0.015096304            0.0500
## 82         Morrison 06 2002-10-02            0.009973753            0.0500
## 83             Malt 11 2002-10-02            0.019860440            0.0500
## 84          Suggary 02 2002-10-02            0.008264463            0.1300
## 85        Pok amont 04 2002-10-31            0.007485964            0.0500
## 86 Trout Val-Doucet 09 2002-10-31            0.011320755            0.0500
## 87 Branche sud aval 03 2002-10-31            0.008422603            0.0500
## 88           Sewell 08 2002-10-31            0.008783784            0.2300
## 89          Suggary 02 2002-10-31            0.008264463            0.1500
## 90     Waugh sanct. 07 2002-10-31            0.011969112            0.0800
## 91          Dempsey 12 2002-10-31            0.014605648            0.0500
## 92         Morrison 06 2002-10-31            0.009973753            0.0700
## 93 McConnell Six Rd 05 2002-10-31            0.024150268            0.2200
## 94          Pollard 10 2002-10-31            0.019823789            0.1900
## 95    br. sud amont 01 2002-10-31            0.015096304            0.0500
## 96             Malt 11 2002-10-31            0.019860440            0.1300
subset(Period2, select=c(Station2, Date, pctINF_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctINF_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28             0.03956273              0.11
## 98           Dempsey 12 2021-07-28             0.01679790              0.08
## 99  Branche sud aval 03 2021-07-28             0.02683843              0.05
## 100           Sewell 08 2021-07-28             0.01859504              0.17
## 101     Waugh sanct. 07 2021-07-28             0.01737452              0.06
## 102    br. sud amont 01 2021-07-28             0.02677702              0.08
## 103         Morrison 06 2021-07-28             0.02419498              0.05
## 104             Malt 11 2021-07-28             0.03412162              0.06
## 105 McConnell Six Rd 05 2021-07-28             0.01871491              0.21
## 106          Pollard 10 2021-07-28             0.02877358              0.40
## 107        Pok amont 04 2021-07-28             0.02593918              0.12
## 108 Trout Val-Doucet 09 2021-07-28             0.03891336              0.18
## 109             Malt 11 2021-08-31             0.02877358              0.06
## 110          Suggary 02 2021-08-31             0.03891336              0.12
## 111     Waugh sanct. 07 2021-08-31             0.03956273              0.05
## 112          Dempsey 12 2021-08-31             0.01679790              0.08
## 113 Branche sud aval 03 2021-08-31             0.02683843              0.06
## 114           Sewell 08 2021-08-31             0.01859504              0.12
## 115          Pollard 10 2021-08-31             0.01737452              0.32
## 116    br. sud amont 01 2021-08-31             0.02677702              0.05
## 117         Morrison 06 2021-08-31             0.02419498              0.05
## 118 Trout Val-Doucet 09 2021-08-31             0.03412162              0.14
## 119 McConnell Six Rd 05 2021-08-31             0.01871491              0.21
## 120        Pok amont 04 2021-08-31             0.02593918              0.10
## 121          Suggary 02 2021-10-05             0.01871491              0.17
## 122         Morrison 06 2021-10-05             0.02877358              0.06
## 123             Malt 11 2021-10-05             0.02593918              0.12
## 124           Sewell 08 2021-10-05             0.03891336              0.13
## 125     Waugh sanct. 07 2021-10-05             0.03956273              0.05
## 126          Dempsey 12 2021-10-05             0.01679790              0.09
## 127 Branche sud aval 03 2021-10-05             0.02683843              0.05
## 128 McConnell Six Rd 05 2021-10-05             0.01859504              0.33
## 129          Pollard 10 2021-10-05             0.01737452              0.38
## 130    br. sud amont 01 2021-10-05             0.02677702              0.05
## 131        Pok amont 04 2021-10-05             0.02419498              0.11
## 132 Trout Val-Doucet 09 2021-10-05             0.03412162              0.22
## 133             Malt 11 2021-10-28             0.03412162              0.07
## 134          Suggary 02 2021-10-28             0.01871491              0.15
## 135    br. sud amont 01 2021-10-28             0.02877358              0.05
## 136         Morrison 06 2021-10-28             0.01679790              0.08
## 137 Branche sud aval 03 2021-10-28             0.02593918              0.07
## 138           Sewell 08 2021-10-28             0.03891336              0.14
## 139     Waugh sanct. 07 2021-10-28             0.03956273              0.05
## 140          Dempsey 12 2021-10-28             0.02677702              0.10
## 141 Trout Val-Doucet 09 2021-10-28             0.02683843              0.27
## 142 McConnell Six Rd 05 2021-10-28             0.01859504              0.36
## 143          Pollard 10 2021-10-28             0.01737452              0.38
## 144        Pok amont 04 2021-10-28             0.02419498              0.13
## 145          Pollard 10 2022-07-28             0.02877358              0.40
## 146         Morrison 06 2022-07-28             0.02419498              0.08
## 147             Malt 11 2022-07-28             0.03412162              0.06
## 148          Suggary 02 2022-07-28             0.01871491              0.11
## 149    br. sud amont 01 2022-07-28             0.03956273              0.05
## 150          Dempsey 12 2022-07-28             0.01679790              0.11
## 151 Branche sud aval 03 2022-07-28             0.02593918              0.07
## 152           Sewell 08 2022-07-28             0.03891336              0.17
## 153     Waugh sanct. 07 2022-07-28             0.01737452              0.05
## 154        Pok amont 04 2022-07-28             0.02677702              0.07
## 155 Trout Val-Doucet 09 2022-07-28             0.02683843              0.15
## 156 McConnell Six Rd 05 2022-07-28             0.01859504              0.36
## 157 McConnell Six Rd 05 2022-09-01             0.01871491              0.26
## 158          Pollard 10 2022-09-01             0.02877358              0.53
## 159    br. sud amont 01 2022-09-01             0.02677702              0.05
## 160         Morrison 06 2022-09-01             0.02419498              0.06
## 161             Malt 11 2022-09-01             0.03412162              0.10
## 162          Suggary 02 2022-09-01             0.03891336              0.13
## 163     Waugh sanct. 07 2022-09-01             0.03956273              0.10
## 164          Dempsey 12 2022-09-01             0.01679790              0.15
## 165 Branche sud aval 03 2022-09-01             0.02593918              0.06
## 166           Sewell 08 2022-09-01             0.01859504              0.17
## 167        Pok amont 04 2022-09-01             0.01737452              0.06
## 168 Trout Val-Doucet 09 2022-09-01             0.02683843              0.12
## 169           Sewell 08 2022-10-03             0.02877358              0.08
## 170 Trout Val-Doucet 09 2022-10-03             0.03412162              0.11
## 171 McConnell Six Rd 05 2022-10-03             0.01871491              0.27
## 172          Pollard 10 2022-10-03             0.01737452              0.50
## 173    br. sud amont 01 2022-10-03             0.02677702              0.06
## 174         Morrison 06 2022-10-03             0.02419498              0.05
## 175             Malt 11 2022-10-03             0.02593918              0.06
## 176          Suggary 02 2022-10-03             0.03891336              0.15
## 177     Waugh sanct. 07 2022-10-03             0.03956273              0.09
## 178          Dempsey 12 2022-10-03             0.01679790              0.09
## 179 Branche sud aval 03 2022-10-03             0.02683843              0.05
## 180        Pok amont 04 2022-10-03             0.01859504              0.05
## 181 Branche sud aval 03 2022-11-01             0.01871491              0.05
## 182           Sewell 08 2022-11-01             0.02877358              0.15
## 183        Pok amont 04 2022-11-01             0.02419498              0.07
## 184 Trout Val-Doucet 09 2022-11-01             0.03412162              0.14
## 185 McConnell Six Rd 05 2022-11-01             0.01859504              0.25
## 186          Pollard 10 2022-11-01             0.01737452              0.54
## 187    br. sud amont 01 2022-11-01             0.02677702              0.07
## 188         Morrison 06 2022-11-01             0.01679790              0.09
## 189             Malt 11 2022-11-01             0.02593918              0.07
## 190          Suggary 02 2022-11-01             0.03891336              0.16
## 191     Waugh sanct. 07 2022-11-01             0.03956273              0.06
## 192          Dempsey 12 2022-11-01             0.02683843              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctINF_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctINF_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctINF_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctINF_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les infrastructures",
x=" Les infrastructures (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

SET: Zone urbaine

# Crée la variable pourcentage


Period1$pctSET_supdrainee_1990 = Period1$SET_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctSET_supdrainee_2020 = Period1$SET_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Zone_urbaine_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctSET_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01            0.012493493              11.5
## 2          Morrison 06 2001-08-01            0.020472441              10.2
## 3              Malt 11 2001-08-01            0.014492754              25.2
## 4           Suggary 02 2001-08-01            0.017561983              14.4
## 5      Waugh sanct. 07 2001-08-01            0.001544402              10.8
## 6           Dempsey 12 2001-08-01            0.028237585              20.4
## 7  Branche sud aval 03 2001-08-01            0.008329959              13.5
## 8            Sewell 08 2001-08-01            0.031418919              12.8
## 9         Pok amont 04 2001-08-01                     NA              11.4
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792              14.5
## 11 McConnell Six Rd 05 2001-08-01            0.061270125               9.0
## 12          Pollard 10 2001-08-01            0.137298091              15.1
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792               9.3
## 14          Pollard 10 2001-08-28            0.137298091              12.0
## 15    br. sud amont 01 2001-08-28            0.012493493              10.0
## 16         Morrison 06 2001-08-28            0.020472441               NaN
## 17             Malt 11 2001-08-28            0.014492754               8.8
## 18          Suggary 02 2001-08-28            0.017561983              13.0
## 19     Waugh sanct. 07 2001-08-28            0.001544402              10.6
## 20          Dempsey 12 2001-08-28            0.028237585              13.5
## 21 Branche sud aval 03 2001-08-28            0.008329959              11.5
## 22           Sewell 08 2001-08-28            0.031418919              13.5
## 23        Pok amont 04 2001-08-28                     NA               8.4
## 24 McConnell Six Rd 05 2001-08-28            0.061270125              10.9
## 25        Pok amont 04 2001-09-26                     NA               9.8
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792              10.7
## 27 McConnell Six Rd 05 2001-09-26            0.061270125              11.8
## 28          Pollard 10 2001-09-26            0.137298091              12.7
## 29    br. sud amont 01 2001-09-26            0.012493493              11.5
## 30         Morrison 06 2001-09-26            0.020472441              11.2
## 31             Malt 11 2001-09-26            0.014492754               9.3
## 32          Suggary 02 2001-09-26            0.017561983              12.9
## 33     Waugh sanct. 07 2001-09-26            0.001544402              10.4
## 34          Dempsey 12 2001-09-26            0.028237585              13.4
## 35 Branche sud aval 03 2001-09-26            0.008329959              12.0
## 36           Sewell 08 2001-09-26            0.031418919              12.9
## 37           Sewell 08 2001-10-31            0.031418919               1.4
## 38        Pok amont 04 2001-10-31                     NA               4.8
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792               3.0
## 40         Morrison 06 2001-10-31            0.020472441               1.8
## 41 McConnell Six Rd 05 2001-10-31            0.061270125               2.1
## 42          Pollard 10 2001-10-31            0.137298091               3.3
## 43    br. sud amont 01 2001-10-31            0.012493493               2.7
## 44          Dempsey 12 2001-10-31            0.028237585               3.9
## 45             Malt 11 2001-10-31            0.014492754               4.8
## 46          Suggary 02 2001-10-31            0.017561983               2.1
## 47     Waugh sanct. 07 2001-10-31            0.001544402               2.7
## 48 Branche sud aval 03 2001-10-31            0.008329959               2.3
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792              17.5
## 50 Branche sud aval 03 2002-07-29            0.008329959              15.7
## 51           Sewell 08 2002-07-29            0.031418919              16.8
## 52        Pok amont 04 2002-07-29                     NA              13.3
## 53    br. sud amont 01 2002-07-29            0.012493493              14.7
## 54         Morrison 06 2002-07-29            0.020472441              17.3
## 55 McConnell Six Rd 05 2002-07-29            0.061270125              17.4
## 56          Pollard 10 2002-07-29            0.137298091              17.0
## 57     Waugh sanct. 07 2002-07-29            0.001544402              16.4
## 58          Dempsey 12 2002-07-29            0.028237585              15.6
## 59             Malt 11 2002-07-29            0.014492754              14.9
## 60          Suggary 02 2002-07-29            0.017561983              17.9
## 61        Pok amont 04 2002-08-28                     NA               8.0
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792              10.2
## 63          Dempsey 12 2002-08-28            0.028237585              13.2
## 64 Branche sud aval 03 2002-08-28            0.008329959              11.3
## 65           Sewell 08 2002-08-28            0.031418919              13.1
## 66          Pollard 10 2002-08-28            0.137298091              11.1
## 67    br. sud amont 01 2002-08-28            0.012493493              11.1
## 68         Morrison 06 2002-08-28            0.020472441               9.9
## 69 McConnell Six Rd 05 2002-08-28            0.061270125              12.9
## 70          Suggary 02 2002-08-28            0.017561983              10.6
## 71     Waugh sanct. 07 2002-08-28            0.001544402              10.1
## 72             Malt 11 2002-08-28            0.014492754               7.9
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792              10.7
## 74           Sewell 08 2002-10-02            0.031418919              12.7
## 75        Pok amont 04 2002-10-02                     NA               7.8
## 76     Waugh sanct. 07 2002-10-02            0.001544402              10.7
## 77          Dempsey 12 2002-10-02            0.028237585              11.1
## 78 Branche sud aval 03 2002-10-02            0.008329959              10.9
## 79 McConnell Six Rd 05 2002-10-02            0.061270125              12.9
## 80          Pollard 10 2002-10-02            0.137298091              10.8
## 81    br. sud amont 01 2002-10-02            0.012493493              11.0
## 82         Morrison 06 2002-10-02            0.020472441              10.5
## 83             Malt 11 2002-10-02            0.014492754               7.8
## 84          Suggary 02 2002-10-02            0.017561983              10.3
## 85        Pok amont 04 2002-10-31                     NA               4.6
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792               2.7
## 87 Branche sud aval 03 2002-10-31            0.008329959               NaN
## 88           Sewell 08 2002-10-31            0.031418919               1.6
## 89          Suggary 02 2002-10-31            0.017561983               2.7
## 90     Waugh sanct. 07 2002-10-31            0.001544402               2.7
## 91          Dempsey 12 2002-10-31            0.028237585               3.3
## 92         Morrison 06 2002-10-31            0.020472441               1.7
## 93 McConnell Six Rd 05 2002-10-31            0.061270125               2.3
## 94          Pollard 10 2002-10-31            0.137298091               2.7
## 95    br. sud amont 01 2002-10-31            0.012493493               2.5
## 96             Malt 11 2002-10-31            0.014492754               4.4
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctSET_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28           0.0150963040              11.5
## 98           Dempsey 12 2021-07-28           0.0194225722              16.1
## 99  Branche sud aval 03 2021-07-28           0.0155662909              15.5
## 100           Sewell 08 2021-07-28           0.0175619835              14.2
## 101     Waugh sanct. 07 2021-07-28           0.0007722008              12.1
## 102    br. sud amont 01 2021-07-28           0.0282375852              14.0
## 103         Morrison 06 2021-07-28           0.0079167408              15.7
## 104             Malt 11 2021-07-28           0.0304054054              11.7
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000              16.9
## 106          Pollard 10 2021-07-28           0.0240566038              14.6
## 107        Pok amont 04 2021-07-28           0.0630590340              11.2
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335              11.9
## 109             Malt 11 2021-08-31           0.0240566038              12.0
## 110          Suggary 02 2021-08-31           0.1343612335              11.0
## 111     Waugh sanct. 07 2021-08-31           0.0150963040              12.8
## 112          Dempsey 12 2021-08-31           0.0194225722              15.0
## 113 Branche sud aval 03 2021-08-31           0.0155662909              15.0
## 114           Sewell 08 2021-08-31           0.0175619835              14.6
## 115          Pollard 10 2021-08-31           0.0007722008              15.7
## 116    br. sud amont 01 2021-08-31           0.0282375852              13.7
## 117         Morrison 06 2021-08-31           0.0079167408              14.9
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054              11.7
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000              16.4
## 120        Pok amont 04 2021-08-31           0.0630590340              10.8
## 121          Suggary 02 2021-10-05           0.0000000000               6.3
## 122         Morrison 06 2021-10-05           0.0240566038               7.0
## 123             Malt 11 2021-10-05           0.0630590340               8.5
## 124           Sewell 08 2021-10-05           0.1343612335               8.0
## 125     Waugh sanct. 07 2021-10-05           0.0150963040               9.0
## 126          Dempsey 12 2021-10-05           0.0194225722               8.7
## 127 Branche sud aval 03 2021-10-05           0.0155662909               7.9
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835               7.9
## 129          Pollard 10 2021-10-05           0.0007722008               8.7
## 130    br. sud amont 01 2021-10-05           0.0282375852               7.3
## 131        Pok amont 04 2021-10-05           0.0079167408               7.4
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054               6.4
## 133             Malt 11 2021-10-28           0.0304054054               7.1
## 134          Suggary 02 2021-10-28           0.0000000000               6.7
## 135    br. sud amont 01 2021-10-28           0.0240566038               7.0
## 136         Morrison 06 2021-10-28           0.0194225722               6.4
## 137 Branche sud aval 03 2021-10-28           0.0630590340               6.7
## 138           Sewell 08 2021-10-28           0.1343612335               7.4
## 139     Waugh sanct. 07 2021-10-28           0.0150963040               7.3
## 140          Dempsey 12 2021-10-28           0.0282375852               7.3
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909               6.7
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835               7.2
## 143          Pollard 10 2021-10-28           0.0007722008               7.5
## 144        Pok amont 04 2021-10-28           0.0079167408               7.2
## 145          Pollard 10 2022-07-28           0.0240566038              14.2
## 146         Morrison 06 2022-07-28           0.0079167408              13.3
## 147             Malt 11 2022-07-28           0.0304054054              12.9
## 148          Suggary 02 2022-07-28           0.0000000000              11.4
## 149    br. sud amont 01 2022-07-28           0.0150963040              14.9
## 150          Dempsey 12 2022-07-28           0.0194225722              15.3
## 151 Branche sud aval 03 2022-07-28           0.0630590340              15.5
## 152           Sewell 08 2022-07-28           0.1343612335              15.1
## 153     Waugh sanct. 07 2022-07-28           0.0007722008              13.1
## 154        Pok amont 04 2022-07-28           0.0282375852              11.9
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909              11.1
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835              13.8
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000              16.2
## 158          Pollard 10 2022-09-01           0.0240566038              15.1
## 159    br. sud amont 01 2022-09-01           0.0282375852              14.8
## 160         Morrison 06 2022-09-01           0.0079167408              15.0
## 161             Malt 11 2022-09-01           0.0304054054              12.3
## 162          Suggary 02 2022-09-01           0.1343612335              11.9
## 163     Waugh sanct. 07 2022-09-01           0.0150963040              14.0
## 164          Dempsey 12 2022-09-01           0.0194225722              15.0
## 165 Branche sud aval 03 2022-09-01           0.0630590340              16.2
## 166           Sewell 08 2022-09-01           0.0175619835              15.9
## 167        Pok amont 04 2022-09-01           0.0007722008              12.1
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909              12.9
## 169           Sewell 08 2022-10-03           0.0240566038               6.2
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054               4.7
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000               6.5
## 172          Pollard 10 2022-10-03           0.0007722008               6.5
## 173    br. sud amont 01 2022-10-03           0.0282375852               5.6
## 174         Morrison 06 2022-10-03           0.0079167408               4.7
## 175             Malt 11 2022-10-03           0.0630590340               7.9
## 176          Suggary 02 2022-10-03           0.1343612335               4.5
## 177     Waugh sanct. 07 2022-10-03           0.0150963040               6.3
## 178          Dempsey 12 2022-10-03           0.0194225722               6.0
## 179 Branche sud aval 03 2022-10-03           0.0155662909               6.2
## 180        Pok amont 04 2022-10-03           0.0175619835               6.5
## 181 Branche sud aval 03 2022-11-01           0.0000000000               6.5
## 182           Sewell 08 2022-11-01           0.0240566038               7.1
## 183        Pok amont 04 2022-11-01           0.0079167408               6.3
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054               6.1
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835               7.4
## 186          Pollard 10 2022-11-01           0.0007722008               8.0
## 187    br. sud amont 01 2022-11-01           0.0282375852               7.0
## 188         Morrison 06 2022-11-01           0.0194225722               5.9
## 189             Malt 11 2022-11-01           0.0630590340               7.6
## 190          Suggary 02 2022-11-01           0.1343612335               6.5
## 191     Waugh sanct. 07 2022-11-01           0.0150963040               7.3
## 192          Dempsey 12 2022-11-01           0.0155662909               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 10 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 10 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_oxygène dissous

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctSET_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01            0.012493493                 11.30
## 2          Morrison 06 2001-08-01            0.020472441                 10.60
## 3              Malt 11 2001-08-01            0.014492754                 11.80
## 4           Suggary 02 2001-08-01            0.017561983                 10.50
## 5      Waugh sanct. 07 2001-08-01            0.001544402                 10.40
## 6           Dempsey 12 2001-08-01            0.028237585                  8.10
## 7  Branche sud aval 03 2001-08-01            0.008329959                 11.00
## 8            Sewell 08 2001-08-01            0.031418919                 11.10
## 9         Pok amont 04 2001-08-01                     NA                  9.70
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792                 10.50
## 11 McConnell Six Rd 05 2001-08-01            0.061270125                 12.10
## 12          Pollard 10 2001-08-01            0.137298091                  9.50
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792                 10.60
## 14          Pollard 10 2001-08-28            0.137298091                  9.60
## 15    br. sud amont 01 2001-08-28            0.012493493                 10.12
## 16         Morrison 06 2001-08-28            0.020472441                   NaN
## 17             Malt 11 2001-08-28            0.014492754                 10.60
## 18          Suggary 02 2001-08-28            0.017561983                  9.45
## 19     Waugh sanct. 07 2001-08-28            0.001544402                 10.00
## 20          Dempsey 12 2001-08-28            0.028237585                  8.80
## 21 Branche sud aval 03 2001-08-28            0.008329959                 10.00
## 22           Sewell 08 2001-08-28            0.031418919                  9.40
## 23        Pok amont 04 2001-08-28                     NA                 10.50
## 24 McConnell Six Rd 05 2001-08-28            0.061270125                 10.00
## 25        Pok amont 04 2001-09-26                     NA                  8.00
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792                  9.00
## 27 McConnell Six Rd 05 2001-09-26            0.061270125                  8.51
## 28          Pollard 10 2001-09-26            0.137298091                  8.40
## 29    br. sud amont 01 2001-09-26            0.012493493                  8.50
## 30         Morrison 06 2001-09-26            0.020472441                  8.60
## 31             Malt 11 2001-09-26            0.014492754                  9.00
## 32          Suggary 02 2001-09-26            0.017561983                  8.44
## 33     Waugh sanct. 07 2001-09-26            0.001544402                  8.62
## 34          Dempsey 12 2001-09-26            0.028237585                  8.30
## 35 Branche sud aval 03 2001-09-26            0.008329959                  9.20
## 36           Sewell 08 2001-09-26            0.031418919                  7.92
## 37           Sewell 08 2001-10-31            0.031418919                  7.70
## 38        Pok amont 04 2001-10-31                     NA                  8.40
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792                  9.46
## 40         Morrison 06 2001-10-31            0.020472441                  9.84
## 41 McConnell Six Rd 05 2001-10-31            0.061270125                  8.70
## 42          Pollard 10 2001-10-31            0.137298091                  8.85
## 43    br. sud amont 01 2001-10-31            0.012493493                  7.80
## 44          Dempsey 12 2001-10-31            0.028237585                  8.43
## 45             Malt 11 2001-10-31            0.014492754                  9.20
## 46          Suggary 02 2001-10-31            0.017561983                  7.30
## 47     Waugh sanct. 07 2001-10-31            0.001544402                  8.00
## 48 Branche sud aval 03 2001-10-31            0.008329959                  9.57
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792                  8.01
## 50 Branche sud aval 03 2002-07-29            0.008329959                  8.50
## 51           Sewell 08 2002-07-29            0.031418919                  7.60
## 52        Pok amont 04 2002-07-29                     NA                  8.17
## 53    br. sud amont 01 2002-07-29            0.012493493                  8.65
## 54         Morrison 06 2002-07-29            0.020472441                  9.76
## 55 McConnell Six Rd 05 2002-07-29            0.061270125                  7.10
## 56          Pollard 10 2002-07-29            0.137298091                  7.45
## 57     Waugh sanct. 07 2002-07-29            0.001544402                  7.90
## 58          Dempsey 12 2002-07-29            0.028237585                  8.30
## 59             Malt 11 2002-07-29            0.014492754                  8.90
## 60          Suggary 02 2002-07-29            0.017561983                  8.20
## 61        Pok amont 04 2002-08-28                     NA                 10.65
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792                  9.46
## 63          Dempsey 12 2002-08-28            0.028237585                  8.20
## 64 Branche sud aval 03 2002-08-28            0.008329959                 10.41
## 65           Sewell 08 2002-08-28            0.031418919                  9.80
## 66          Pollard 10 2002-08-28            0.137298091                  9.02
## 67    br. sud amont 01 2002-08-28            0.012493493                 10.20
## 68         Morrison 06 2002-08-28            0.020472441                 11.17
## 69 McConnell Six Rd 05 2002-08-28            0.061270125                 11.05
## 70          Suggary 02 2002-08-28            0.017561983                 11.24
## 71     Waugh sanct. 07 2002-08-28            0.001544402                 10.00
## 72             Malt 11 2002-08-28            0.014492754                 10.00
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792                  4.42
## 74           Sewell 08 2002-10-02            0.031418919                  6.84
## 75        Pok amont 04 2002-10-02                     NA                  7.20
## 76     Waugh sanct. 07 2002-10-02            0.001544402                  6.10
## 77          Dempsey 12 2002-10-02            0.028237585                  5.70
## 78 Branche sud aval 03 2002-10-02            0.008329959                  7.10
## 79 McConnell Six Rd 05 2002-10-02            0.061270125                  7.49
## 80          Pollard 10 2002-10-02            0.137298091                  6.80
## 81    br. sud amont 01 2002-10-02            0.012493493                  7.16
## 82         Morrison 06 2002-10-02            0.020472441                  7.60
## 83             Malt 11 2002-10-02            0.014492754                  6.40
## 84          Suggary 02 2002-10-02            0.017561983                  8.08
## 85        Pok amont 04 2002-10-31                     NA                  7.50
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792                  8.50
## 87 Branche sud aval 03 2002-10-31            0.008329959                   NaN
## 88           Sewell 08 2002-10-31            0.031418919                  8.30
## 89          Suggary 02 2002-10-31            0.017561983                  8.60
## 90     Waugh sanct. 07 2002-10-31            0.001544402                  7.00
## 91          Dempsey 12 2002-10-31            0.028237585                  7.40
## 92         Morrison 06 2002-10-31            0.020472441                  8.30
## 93 McConnell Six Rd 05 2002-10-31            0.061270125                  7.60
## 94          Pollard 10 2002-10-31            0.137298091                  7.60
## 95    br. sud amont 01 2002-10-31            0.012493493                  8.20
## 96             Malt 11 2002-10-31            0.014492754                  8.00
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctSET_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28           0.0150963040                  9.68
## 98           Dempsey 12 2021-07-28           0.0194225722                  9.38
## 99  Branche sud aval 03 2021-07-28           0.0155662909                  8.51
## 100           Sewell 08 2021-07-28           0.0175619835                  9.29
## 101     Waugh sanct. 07 2021-07-28           0.0007722008                  9.84
## 102    br. sud amont 01 2021-07-28           0.0282375852                  8.43
## 103         Morrison 06 2021-07-28           0.0079167408                  9.04
## 104             Malt 11 2021-07-28           0.0304054054                  9.73
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000                  8.70
## 106          Pollard 10 2021-07-28           0.0240566038                  9.81
## 107        Pok amont 04 2021-07-28           0.0630590340                  9.22
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335                 10.29
## 109             Malt 11 2021-08-31           0.0240566038                 11.07
## 110          Suggary 02 2021-08-31           0.1343612335                 10.16
## 111     Waugh sanct. 07 2021-08-31           0.0150963040                 10.03
## 112          Dempsey 12 2021-08-31           0.0194225722                  9.51
## 113 Branche sud aval 03 2021-08-31           0.0155662909                  8.83
## 114           Sewell 08 2021-08-31           0.0175619835                  8.18
## 115          Pollard 10 2021-08-31           0.0007722008                  8.15
## 116    br. sud amont 01 2021-08-31           0.0282375852                  7.94
## 117         Morrison 06 2021-08-31           0.0079167408                  9.14
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054                 10.42
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000                  8.54
## 120        Pok amont 04 2021-08-31           0.0630590340                  8.70
## 121          Suggary 02 2021-10-05           0.0000000000                 12.14
## 122         Morrison 06 2021-10-05           0.0240566038                 11.19
## 123             Malt 11 2021-10-05           0.0630590340                 10.27
## 124           Sewell 08 2021-10-05           0.1343612335                 11.17
## 125     Waugh sanct. 07 2021-10-05           0.0150963040                 10.42
## 126          Dempsey 12 2021-10-05           0.0194225722                 10.86
## 127 Branche sud aval 03 2021-10-05           0.0155662909                 10.40
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835                 10.87
## 129          Pollard 10 2021-10-05           0.0007722008                 11.29
## 130    br. sud amont 01 2021-10-05           0.0282375852                 10.74
## 131        Pok amont 04 2021-10-05           0.0079167408                 10.75
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054                 11.40
## 133             Malt 11 2021-10-28           0.0304054054                 10.50
## 134          Suggary 02 2021-10-28           0.0000000000                 11.68
## 135    br. sud amont 01 2021-10-28           0.0240566038                 10.93
## 136         Morrison 06 2021-10-28           0.0194225722                 11.66
## 137 Branche sud aval 03 2021-10-28           0.0630590340                 11.22
## 138           Sewell 08 2021-10-28           0.1343612335                 11.44
## 139     Waugh sanct. 07 2021-10-28           0.0150963040                 10.96
## 140          Dempsey 12 2021-10-28           0.0282375852                  8.77
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909                 11.26
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835                 10.41
## 143          Pollard 10 2021-10-28           0.0007722008                 10.54
## 144        Pok amont 04 2021-10-28           0.0079167408                 10.80
## 145          Pollard 10 2022-07-28           0.0240566038                 10.75
## 146         Morrison 06 2022-07-28           0.0079167408                 10.00
## 147             Malt 11 2022-07-28           0.0304054054                 11.60
## 148          Suggary 02 2022-07-28           0.0000000000                 11.40
## 149    br. sud amont 01 2022-07-28           0.0150963040                  8.64
## 150          Dempsey 12 2022-07-28           0.0194225722                  9.34
## 151 Branche sud aval 03 2022-07-28           0.0630590340                  9.55
## 152           Sewell 08 2022-07-28           0.1343612335                  9.50
## 153     Waugh sanct. 07 2022-07-28           0.0007722008                  9.90
## 154        Pok amont 04 2022-07-28           0.0282375852                  9.52
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909                 11.52
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835                 10.40
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000                  9.19
## 158          Pollard 10 2022-09-01           0.0240566038                 10.25
## 159    br. sud amont 01 2022-09-01           0.0282375852                  8.28
## 160         Morrison 06 2022-09-01           0.0079167408                  9.52
## 161             Malt 11 2022-09-01           0.0304054054                 11.08
## 162          Suggary 02 2022-09-01           0.1343612335                 10.24
## 163     Waugh sanct. 07 2022-09-01           0.0150963040                  9.22
## 164          Dempsey 12 2022-09-01           0.0194225722                  9.44
## 165 Branche sud aval 03 2022-09-01           0.0630590340                  8.95
## 166           Sewell 08 2022-09-01           0.0175619835                  9.02
## 167        Pok amont 04 2022-09-01           0.0007722008                  8.82
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909                 10.06
## 169           Sewell 08 2022-10-03           0.0240566038                 10.03
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054                 12.38
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000                 12.20
## 172          Pollard 10 2022-10-03           0.0007722008                 13.04
## 173    br. sud amont 01 2022-10-03           0.0282375852                 11.04
## 174         Morrison 06 2022-10-03           0.0079167408                 12.92
## 175             Malt 11 2022-10-03           0.0630590340                 12.67
## 176          Suggary 02 2022-10-03           0.1343612335                 13.13
## 177     Waugh sanct. 07 2022-10-03           0.0150963040                 12.07
## 178          Dempsey 12 2022-10-03           0.0194225722                 11.87
## 179 Branche sud aval 03 2022-10-03           0.0155662909                 12.21
## 180        Pok amont 04 2022-10-03           0.0175619835                 10.04
## 181 Branche sud aval 03 2022-11-01           0.0000000000                 12.07
## 182           Sewell 08 2022-11-01           0.0240566038                 12.13
## 183        Pok amont 04 2022-11-01           0.0079167408                 10.55
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054                 12.12
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835                 11.17
## 186          Pollard 10 2022-11-01           0.0007722008                 10.85
## 187    br. sud amont 01 2022-11-01           0.0282375852                 11.78
## 188         Morrison 06 2022-11-01           0.0194225722                 12.66
## 189             Malt 11 2022-11-01           0.0630590340                 11.63
## 190          Suggary 02 2022-11-01           0.1343612335                 12.35
## 191     Waugh sanct. 07 2022-11-01           0.0150963040                  9.42
## 192          Dempsey 12 2022-11-01           0.0155662909                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène dissous et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 10 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 10 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctSET_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01            0.012493493                  171.0
## 2          Morrison 06 2001-08-01            0.020472441                  114.0
## 3              Malt 11 2001-08-01            0.014492754                  108.0
## 4           Suggary 02 2001-08-01            0.017561983                  118.0
## 5      Waugh sanct. 07 2001-08-01            0.001544402                  133.0
## 6           Dempsey 12 2001-08-01            0.028237585                  128.0
## 7  Branche sud aval 03 2001-08-01            0.008329959                  115.0
## 8            Sewell 08 2001-08-01            0.031418919                  134.0
## 9         Pok amont 04 2001-08-01                     NA                   56.6
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792                  106.0
## 11 McConnell Six Rd 05 2001-08-01            0.061270125                  100.0
## 12          Pollard 10 2001-08-01            0.137298091                  156.0
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792                  105.0
## 14          Pollard 10 2001-08-28            0.137298091                  162.0
## 15    br. sud amont 01 2001-08-28            0.012493493                  177.0
## 16         Morrison 06 2001-08-28            0.020472441                  115.0
## 17             Malt 11 2001-08-28            0.014492754                   90.3
## 18          Suggary 02 2001-08-28            0.017561983                  119.0
## 19     Waugh sanct. 07 2001-08-28            0.001544402                  132.0
## 20          Dempsey 12 2001-08-28            0.028237585                  129.0
## 21 Branche sud aval 03 2001-08-28            0.008329959                  113.0
## 22           Sewell 08 2001-08-28            0.031418919                  150.0
## 23        Pok amont 04 2001-08-28                     NA                   60.0
## 24 McConnell Six Rd 05 2001-08-28            0.061270125                  112.0
## 25        Pok amont 04 2001-09-26                     NA                   72.1
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792                  115.0
## 27 McConnell Six Rd 05 2001-09-26            0.061270125                  111.0
## 28          Pollard 10 2001-09-26            0.137298091                  153.5
## 29    br. sud amont 01 2001-09-26            0.012493493                  158.0
## 30         Morrison 06 2001-09-26            0.020472441                  117.0
## 31             Malt 11 2001-09-26            0.014492754                   97.7
## 32          Suggary 02 2001-09-26            0.017561983                  139.0
## 33     Waugh sanct. 07 2001-09-26            0.001544402                  136.0
## 34          Dempsey 12 2001-09-26            0.028237585                  137.0
## 35 Branche sud aval 03 2001-09-26            0.008329959                  123.0
## 36           Sewell 08 2001-09-26            0.031418919                  173.0
## 37           Sewell 08 2001-10-31            0.031418919                  111.0
## 38        Pok amont 04 2001-10-31                     NA                   68.3
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792                  112.0
## 40         Morrison 06 2001-10-31            0.020472441                  123.0
## 41 McConnell Six Rd 05 2001-10-31            0.061270125                   87.2
## 42          Pollard 10 2001-10-31            0.137298091                  164.0
## 43    br. sud amont 01 2001-10-31            0.012493493                  162.0
## 44          Dempsey 12 2001-10-31            0.028237585                  128.0
## 45             Malt 11 2001-10-31            0.014492754                   98.8
## 46          Suggary 02 2001-10-31            0.017561983                  120.0
## 47     Waugh sanct. 07 2001-10-31            0.001544402                  102.0
## 48 Branche sud aval 03 2001-10-31            0.008329959                  115.0
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792                  112.0
## 50 Branche sud aval 03 2002-07-29            0.008329959                  116.0
## 51           Sewell 08 2002-07-29            0.031418919                  139.0
## 52        Pok amont 04 2002-07-29                     NA                   57.1
## 53    br. sud amont 01 2002-07-29            0.012493493                  148.0
## 54         Morrison 06 2002-07-29            0.020472441                  123.0
## 55 McConnell Six Rd 05 2002-07-29            0.061270125                  105.0
## 56          Pollard 10 2002-07-29            0.137298091                  162.0
## 57     Waugh sanct. 07 2002-07-29            0.001544402                  133.0
## 58          Dempsey 12 2002-07-29            0.028237585                  143.0
## 59             Malt 11 2002-07-29            0.014492754                   96.6
## 60          Suggary 02 2002-07-29            0.017561983                  110.0
## 61        Pok amont 04 2002-08-28                     NA                   60.3
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792                  115.0
## 63          Dempsey 12 2002-08-28            0.028237585                  144.0
## 64 Branche sud aval 03 2002-08-28            0.008329959                  121.0
## 65           Sewell 08 2002-08-28            0.031418919                  168.0
## 66          Pollard 10 2002-08-28            0.137298091                  164.0
## 67    br. sud amont 01 2002-08-28            0.012493493                  185.0
## 68         Morrison 06 2002-08-28            0.020472441                  125.0
## 69 McConnell Six Rd 05 2002-08-28            0.061270125                  111.0
## 70          Suggary 02 2002-08-28            0.017561983                  110.5
## 71     Waugh sanct. 07 2002-08-28            0.001544402                  135.0
## 72             Malt 11 2002-08-28            0.014492754                  101.0
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792                  120.0
## 74           Sewell 08 2002-10-02            0.031418919                  158.0
## 75        Pok amont 04 2002-10-02                     NA                   69.4
## 76     Waugh sanct. 07 2002-10-02            0.001544402                  148.0
## 77          Dempsey 12 2002-10-02            0.028237585                  145.0
## 78 Branche sud aval 03 2002-10-02            0.008329959                  126.0
## 79 McConnell Six Rd 05 2002-10-02            0.061270125                  108.0
## 80          Pollard 10 2002-10-02            0.137298091                  176.0
## 81    br. sud amont 01 2002-10-02            0.012493493                  194.0
## 82         Morrison 06 2002-10-02            0.020472441                  128.0
## 83             Malt 11 2002-10-02            0.014492754                  106.0
## 84          Suggary 02 2002-10-02            0.017561983                  114.0
## 85        Pok amont 04 2002-10-31                     NA                   70.9
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792                  122.0
## 87 Branche sud aval 03 2002-10-31            0.008329959                  126.0
## 88           Sewell 08 2002-10-31            0.031418919                  120.0
## 89          Suggary 02 2002-10-31            0.017561983                  118.0
## 90     Waugh sanct. 07 2002-10-31            0.001544402                  129.0
## 91          Dempsey 12 2002-10-31            0.028237585                  141.0
## 92         Morrison 06 2002-10-31            0.020472441                  130.0
## 93 McConnell Six Rd 05 2002-10-31            0.061270125                  103.0
## 94          Pollard 10 2002-10-31            0.137298091                  176.0
## 95    br. sud amont 01 2002-10-31            0.012493493                  175.5
## 96             Malt 11 2002-10-31            0.014492754                  107.0
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctSET_supdrainee_2020
## 97           Suggary 02 2021-07-28           0.0150963040
## 98           Dempsey 12 2021-07-28           0.0194225722
## 99  Branche sud aval 03 2021-07-28           0.0155662909
## 100           Sewell 08 2021-07-28           0.0175619835
## 101     Waugh sanct. 07 2021-07-28           0.0007722008
## 102    br. sud amont 01 2021-07-28           0.0282375852
## 103         Morrison 06 2021-07-28           0.0079167408
## 104             Malt 11 2021-07-28           0.0304054054
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000
## 106          Pollard 10 2021-07-28           0.0240566038
## 107        Pok amont 04 2021-07-28           0.0630590340
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335
## 109             Malt 11 2021-08-31           0.0240566038
## 110          Suggary 02 2021-08-31           0.1343612335
## 111     Waugh sanct. 07 2021-08-31           0.0150963040
## 112          Dempsey 12 2021-08-31           0.0194225722
## 113 Branche sud aval 03 2021-08-31           0.0155662909
## 114           Sewell 08 2021-08-31           0.0175619835
## 115          Pollard 10 2021-08-31           0.0007722008
## 116    br. sud amont 01 2021-08-31           0.0282375852
## 117         Morrison 06 2021-08-31           0.0079167408
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000
## 120        Pok amont 04 2021-08-31           0.0630590340
## 121          Suggary 02 2021-10-05           0.0000000000
## 122         Morrison 06 2021-10-05           0.0240566038
## 123             Malt 11 2021-10-05           0.0630590340
## 124           Sewell 08 2021-10-05           0.1343612335
## 125     Waugh sanct. 07 2021-10-05           0.0150963040
## 126          Dempsey 12 2021-10-05           0.0194225722
## 127 Branche sud aval 03 2021-10-05           0.0155662909
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835
## 129          Pollard 10 2021-10-05           0.0007722008
## 130    br. sud amont 01 2021-10-05           0.0282375852
## 131        Pok amont 04 2021-10-05           0.0079167408
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054
## 133             Malt 11 2021-10-28           0.0304054054
## 134          Suggary 02 2021-10-28           0.0000000000
## 135    br. sud amont 01 2021-10-28           0.0240566038
## 136         Morrison 06 2021-10-28           0.0194225722
## 137 Branche sud aval 03 2021-10-28           0.0630590340
## 138           Sewell 08 2021-10-28           0.1343612335
## 139     Waugh sanct. 07 2021-10-28           0.0150963040
## 140          Dempsey 12 2021-10-28           0.0282375852
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835
## 143          Pollard 10 2021-10-28           0.0007722008
## 144        Pok amont 04 2021-10-28           0.0079167408
## 145          Pollard 10 2022-07-28           0.0240566038
## 146         Morrison 06 2022-07-28           0.0079167408
## 147             Malt 11 2022-07-28           0.0304054054
## 148          Suggary 02 2022-07-28           0.0000000000
## 149    br. sud amont 01 2022-07-28           0.0150963040
## 150          Dempsey 12 2022-07-28           0.0194225722
## 151 Branche sud aval 03 2022-07-28           0.0630590340
## 152           Sewell 08 2022-07-28           0.1343612335
## 153     Waugh sanct. 07 2022-07-28           0.0007722008
## 154        Pok amont 04 2022-07-28           0.0282375852
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000
## 158          Pollard 10 2022-09-01           0.0240566038
## 159    br. sud amont 01 2022-09-01           0.0282375852
## 160         Morrison 06 2022-09-01           0.0079167408
## 161             Malt 11 2022-09-01           0.0304054054
## 162          Suggary 02 2022-09-01           0.1343612335
## 163     Waugh sanct. 07 2022-09-01           0.0150963040
## 164          Dempsey 12 2022-09-01           0.0194225722
## 165 Branche sud aval 03 2022-09-01           0.0630590340
## 166           Sewell 08 2022-09-01           0.0175619835
## 167        Pok amont 04 2022-09-01           0.0007722008
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909
## 169           Sewell 08 2022-10-03           0.0240566038
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000
## 172          Pollard 10 2022-10-03           0.0007722008
## 173    br. sud amont 01 2022-10-03           0.0282375852
## 174         Morrison 06 2022-10-03           0.0079167408
## 175             Malt 11 2022-10-03           0.0630590340
## 176          Suggary 02 2022-10-03           0.1343612335
## 177     Waugh sanct. 07 2022-10-03           0.0150963040
## 178          Dempsey 12 2022-10-03           0.0194225722
## 179 Branche sud aval 03 2022-10-03           0.0155662909
## 180        Pok amont 04 2022-10-03           0.0175619835
## 181 Branche sud aval 03 2022-11-01           0.0000000000
## 182           Sewell 08 2022-11-01           0.0240566038
## 183        Pok amont 04 2022-11-01           0.0079167408
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835
## 186          Pollard 10 2022-11-01           0.0007722008
## 187    br. sud amont 01 2022-11-01           0.0282375852
## 188         Morrison 06 2022-11-01           0.0194225722
## 189             Malt 11 2022-11-01           0.0630590340
## 190          Suggary 02 2022-11-01           0.1343612335
## 191     Waugh sanct. 07 2022-11-01           0.0150963040
## 192          Dempsey 12 2022-11-01           0.0155662909
##     Conductivity_microS_cm
## 97                     109
## 98                     139
## 99                     119
## 100                    131
## 101                    128
## 102                    177
## 103                    122
## 104                     90
## 105                    115
## 106                    166
## 107                     60
## 108                    109
## 109                     96
## 110                    116
## 111                    138
## 112                    152
## 113                    125
## 114                    161
## 115                    196
## 116                    199
## 117                    129
## 118                    118
## 119                    114
## 120                     70
## 121                     98
## 122                    114
## 123                     74
## 124                     72
## 125                     70
## 126                     96
## 127                     86
## 128                     90
## 129                    128
## 130                     91
## 131                     52
## 132                     95
## 133                     80
## 134                    100
## 135                    114
## 136                    118
## 137                     97
## 138                     81
## 139                     88
## 140                    113
## 141                    102
## 142                     97
## 143                    139
## 144                     54
## 145                    163
## 146                    119
## 147                     88
## 148                    107
## 149                    161
## 150                    134
## 151                    113
## 152                    113
## 153                    126
## 154                     59
## 155                    108
## 156                    113
## 157                    107
## 158                    178
## 159                    180
## 160                    117
## 161                     88
## 162                    104
## 163                    114
## 164                    137
## 165                    117
## 166                    116
## 167                     63
## 168                    108
## 169                    114
## 170                    113
## 171                     94
## 172                    179
## 173                    182
## 174                    120
## 175                     95
## 176                    107
## 177                    114
## 178                    143
## 179                    118
## 180                     64
## 181                    112
## 182                     92
## 183                     69
## 184                    112
## 185                     92
## 186                    177
## 187                    144
## 188                    125
## 189                     91
## 190                    108
## 191                     92
## 192                    136
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,pH_units))
##               Station2       Date pctSET_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01            0.012493493    8.200
## 2          Morrison 06 2001-08-01            0.020472441    7.950
## 3              Malt 11 2001-08-01            0.014492754    7.860
## 4           Suggary 02 2001-08-01            0.017561983    8.020
## 5      Waugh sanct. 07 2001-08-01            0.001544402    7.970
## 6           Dempsey 12 2001-08-01            0.028237585    7.960
## 7  Branche sud aval 03 2001-08-01            0.008329959    8.030
## 8            Sewell 08 2001-08-01            0.031418919    8.020
## 9         Pok amont 04 2001-08-01                     NA    7.590
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792    8.010
## 11 McConnell Six Rd 05 2001-08-01            0.061270125    7.860
## 12          Pollard 10 2001-08-01            0.137298091    7.890
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792    7.910
## 14          Pollard 10 2001-08-28            0.137298091    7.860
## 15    br. sud amont 01 2001-08-28            0.012493493    7.980
## 16         Morrison 06 2001-08-28            0.020472441    7.940
## 17             Malt 11 2001-08-28            0.014492754    7.460
## 18          Suggary 02 2001-08-28            0.017561983    7.880
## 19     Waugh sanct. 07 2001-08-28            0.001544402    7.890
## 20          Dempsey 12 2001-08-28            0.028237585    7.760
## 21 Branche sud aval 03 2001-08-28            0.008329959    7.890
## 22           Sewell 08 2001-08-28            0.031418919    7.900
## 23        Pok amont 04 2001-08-28                     NA    7.490
## 24 McConnell Six Rd 05 2001-08-28            0.061270125    7.770
## 25        Pok amont 04 2001-09-26                     NA    7.640
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792    7.960
## 27 McConnell Six Rd 05 2001-09-26            0.061270125    7.870
## 28          Pollard 10 2001-09-26            0.137298091    7.850
## 29    br. sud amont 01 2001-09-26            0.012493493    8.050
## 30         Morrison 06 2001-09-26            0.020472441    8.020
## 31             Malt 11 2001-09-26            0.014492754    7.710
## 32          Suggary 02 2001-09-26            0.017561983    8.080
## 33     Waugh sanct. 07 2001-09-26            0.001544402    8.020
## 34          Dempsey 12 2001-09-26            0.028237585    7.950
## 35 Branche sud aval 03 2001-09-26            0.008329959    8.040
## 36           Sewell 08 2001-09-26            0.031418919    8.060
## 37           Sewell 08 2001-10-31            0.031418919    7.740
## 38        Pok amont 04 2001-10-31                     NA    7.420
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792    7.950
## 40         Morrison 06 2001-10-31            0.020472441    8.010
## 41 McConnell Six Rd 05 2001-10-31            0.061270125    7.500
## 42          Pollard 10 2001-10-31            0.137298091    7.870
## 43    br. sud amont 01 2001-10-31            0.012493493    7.960
## 44          Dempsey 12 2001-10-31            0.028237585    7.820
## 45             Malt 11 2001-10-31            0.014492754    7.530
## 46          Suggary 02 2001-10-31            0.017561983    7.650
## 47     Waugh sanct. 07 2001-10-31            0.001544402    7.410
## 48 Branche sud aval 03 2001-10-31            0.008329959    7.890
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792    7.840
## 50 Branche sud aval 03 2002-07-29            0.008329959    7.870
## 51           Sewell 08 2002-07-29            0.031418919    7.840
## 52        Pok amont 04 2002-07-29                     NA    7.180
## 53    br. sud amont 01 2002-07-29            0.012493493    7.840
## 54         Morrison 06 2002-07-29            0.020472441    7.920
## 55 McConnell Six Rd 05 2002-07-29            0.061270125    7.580
## 56          Pollard 10 2002-07-29            0.137298091    7.730
## 57     Waugh sanct. 07 2002-07-29            0.001544402    7.700
## 58          Dempsey 12 2002-07-29            0.028237585    7.755
## 59             Malt 11 2002-07-29            0.014492754    7.420
## 60          Suggary 02 2002-07-29            0.017561983    7.740
## 61        Pok amont 04 2002-08-28                     NA    7.250
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792    7.800
## 63          Dempsey 12 2002-08-28            0.028237585    7.690
## 64 Branche sud aval 03 2002-08-28            0.008329959    7.850
## 65           Sewell 08 2002-08-28            0.031418919    7.920
## 66          Pollard 10 2002-08-28            0.137298091    7.730
## 67    br. sud amont 01 2002-08-28            0.012493493    8.070
## 68         Morrison 06 2002-08-28            0.020472441    7.900
## 69 McConnell Six Rd 05 2002-08-28            0.061270125    7.790
## 70          Suggary 02 2002-08-28            0.017561983    7.815
## 71     Waugh sanct. 07 2002-08-28            0.001544402    7.750
## 72             Malt 11 2002-08-28            0.014492754    7.380
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792    7.830
## 74           Sewell 08 2002-10-02            0.031418919    7.820
## 75        Pok amont 04 2002-10-02                     NA    7.270
## 76     Waugh sanct. 07 2002-10-02            0.001544402    7.760
## 77          Dempsey 12 2002-10-02            0.028237585    7.640
## 78 Branche sud aval 03 2002-10-02            0.008329959    7.820
## 79 McConnell Six Rd 05 2002-10-02            0.061270125    7.650
## 80          Pollard 10 2002-10-02            0.137298091    7.720
## 81    br. sud amont 01 2002-10-02            0.012493493    7.970
## 82         Morrison 06 2002-10-02            0.020472441    7.890
## 83             Malt 11 2002-10-02            0.014492754    7.380
## 84          Suggary 02 2002-10-02            0.017561983    7.830
## 85        Pok amont 04 2002-10-31                     NA    7.360
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792    7.820
## 87 Branche sud aval 03 2002-10-31            0.008329959      NaN
## 88           Sewell 08 2002-10-31            0.031418919    7.550
## 89          Suggary 02 2002-10-31            0.017561983    7.770
## 90     Waugh sanct. 07 2002-10-31            0.001544402    7.580
## 91          Dempsey 12 2002-10-31            0.028237585    7.690
## 92         Morrison 06 2002-10-31            0.020472441    7.870
## 93 McConnell Six Rd 05 2002-10-31            0.061270125    7.440
## 94          Pollard 10 2002-10-31            0.137298091    7.780
## 95    br. sud amont 01 2002-10-31            0.012493493    7.865
## 96             Malt 11 2002-10-31            0.014492754    7.560
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,pH_units))
##                Station2       Date pctSET_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28           0.0150963040      7.5
## 98           Dempsey 12 2021-07-28           0.0194225722      7.6
## 99  Branche sud aval 03 2021-07-28           0.0155662909      7.6
## 100           Sewell 08 2021-07-28           0.0175619835      7.7
## 101     Waugh sanct. 07 2021-07-28           0.0007722008      7.6
## 102    br. sud amont 01 2021-07-28           0.0282375852      7.6
## 103         Morrison 06 2021-07-28           0.0079167408      7.4
## 104             Malt 11 2021-07-28           0.0304054054      7.2
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000      7.6
## 106          Pollard 10 2021-07-28           0.0240566038      7.6
## 107        Pok amont 04 2021-07-28           0.0630590340      6.8
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335      7.6
## 109             Malt 11 2021-08-31           0.0240566038      7.3
## 110          Suggary 02 2021-08-31           0.1343612335      7.6
## 111     Waugh sanct. 07 2021-08-31           0.0150963040      7.8
## 112          Dempsey 12 2021-08-31           0.0194225722      7.6
## 113 Branche sud aval 03 2021-08-31           0.0155662909      7.8
## 114           Sewell 08 2021-08-31           0.0175619835      7.8
## 115          Pollard 10 2021-08-31           0.0007722008      7.8
## 116    br. sud amont 01 2021-08-31           0.0282375852      7.5
## 117         Morrison 06 2021-08-31           0.0079167408      7.8
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054      7.8
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000      7.7
## 120        Pok amont 04 2021-08-31           0.0630590340      7.1
## 121          Suggary 02 2021-10-05           0.0000000000      7.6
## 122         Morrison 06 2021-10-05           0.0240566038      7.1
## 123             Malt 11 2021-10-05           0.0630590340      7.1
## 124           Sewell 08 2021-10-05           0.1343612335      7.5
## 125     Waugh sanct. 07 2021-10-05           0.0150963040      7.2
## 126          Dempsey 12 2021-10-05           0.0194225722      7.3
## 127 Branche sud aval 03 2021-10-05           0.0155662909      7.6
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835      7.4
## 129          Pollard 10 2021-10-05           0.0007722008      7.5
## 130    br. sud amont 01 2021-10-05           0.0282375852      7.2
## 131        Pok amont 04 2021-10-05           0.0079167408      6.8
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054      7.2
## 133             Malt 11 2021-10-28           0.0304054054      7.0
## 134          Suggary 02 2021-10-28           0.0000000000      7.6
## 135    br. sud amont 01 2021-10-28           0.0240566038      7.5
## 136         Morrison 06 2021-10-28           0.0194225722      7.6
## 137 Branche sud aval 03 2021-10-28           0.0630590340      7.6
## 138           Sewell 08 2021-10-28           0.1343612335      7.5
## 139     Waugh sanct. 07 2021-10-28           0.0150963040      7.5
## 140          Dempsey 12 2021-10-28           0.0282375852      7.6
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909      7.5
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835      7.5
## 143          Pollard 10 2021-10-28           0.0007722008      7.7
## 144        Pok amont 04 2021-10-28           0.0079167408      7.5
## 145          Pollard 10 2022-07-28           0.0240566038      7.7
## 146         Morrison 06 2022-07-28           0.0079167408      7.8
## 147             Malt 11 2022-07-28           0.0304054054      7.6
## 148          Suggary 02 2022-07-28           0.0000000000      7.7
## 149    br. sud amont 01 2022-07-28           0.0150963040      7.9
## 150          Dempsey 12 2022-07-28           0.0194225722      7.8
## 151 Branche sud aval 03 2022-07-28           0.0630590340      7.8
## 152           Sewell 08 2022-07-28           0.1343612335      7.7
## 153     Waugh sanct. 07 2022-07-28           0.0007722008      7.8
## 154        Pok amont 04 2022-07-28           0.0282375852      7.5
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909      7.8
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835      7.7
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000      7.8
## 158          Pollard 10 2022-09-01           0.0240566038      7.8
## 159    br. sud amont 01 2022-09-01           0.0282375852      8.0
## 160         Morrison 06 2022-09-01           0.0079167408      8.0
## 161             Malt 11 2022-09-01           0.0304054054      7.7
## 162          Suggary 02 2022-09-01           0.1343612335      7.8
## 163     Waugh sanct. 07 2022-09-01           0.0150963040      7.9
## 164          Dempsey 12 2022-09-01           0.0194225722      7.9
## 165 Branche sud aval 03 2022-09-01           0.0630590340      7.9
## 166           Sewell 08 2022-09-01           0.0175619835      7.9
## 167        Pok amont 04 2022-09-01           0.0007722008      7.2
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909      7.8
## 169           Sewell 08 2022-10-03           0.0240566038      7.7
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054      7.8
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000      7.5
## 172          Pollard 10 2022-10-03           0.0007722008      7.8
## 173    br. sud amont 01 2022-10-03           0.0282375852      7.9
## 174         Morrison 06 2022-10-03           0.0079167408      7.9
## 175             Malt 11 2022-10-03           0.0630590340      7.5
## 176          Suggary 02 2022-10-03           0.1343612335      7.7
## 177     Waugh sanct. 07 2022-10-03           0.0150963040      7.6
## 178          Dempsey 12 2022-10-03           0.0194225722      7.7
## 179 Branche sud aval 03 2022-10-03           0.0155662909      7.8
## 180        Pok amont 04 2022-10-03           0.0175619835      7.1
## 181 Branche sud aval 03 2022-11-01           0.0000000000      7.6
## 182           Sewell 08 2022-11-01           0.0240566038      7.5
## 183        Pok amont 04 2022-11-01           0.0079167408      7.0
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054      7.5
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835      7.3
## 186          Pollard 10 2022-11-01           0.0007722008      7.6
## 187    br. sud amont 01 2022-11-01           0.0282375852      7.5
## 188         Morrison 06 2022-11-01           0.0194225722      7.8
## 189             Malt 11 2022-11-01           0.0630590340      7.0
## 190          Suggary 02 2022-11-01           0.1343612335      7.5
## 191     Waugh sanct. 07 2022-11-01           0.0150963040      7.2
## 192          Dempsey 12 2022-11-01           0.0155662909      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le potentiel d'hydrogène et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctSET_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.012493493         6.400
## 2          Morrison 06 2001-08-01            0.020472441         0.600
## 3              Malt 11 2001-08-01            0.014492754         1.600
## 4           Suggary 02 2001-08-01            0.017561983         0.700
## 5      Waugh sanct. 07 2001-08-01            0.001544402         1.200
## 6           Dempsey 12 2001-08-01            0.028237585         1.300
## 7  Branche sud aval 03 2001-08-01            0.008329959         0.500
## 8            Sewell 08 2001-08-01            0.031418919         1.500
## 9         Pok amont 04 2001-08-01                     NA         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.061270125         0.100
## 12          Pollard 10 2001-08-01            0.137298091         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792         1.200
## 14          Pollard 10 2001-08-28            0.137298091         0.800
## 15    br. sud amont 01 2001-08-28            0.012493493         6.100
## 16         Morrison 06 2001-08-28            0.020472441         0.700
## 17             Malt 11 2001-08-28            0.014492754         0.500
## 18          Suggary 02 2001-08-28            0.017561983         3.500
## 19     Waugh sanct. 07 2001-08-28            0.001544402         1.000
## 20          Dempsey 12 2001-08-28            0.028237585         1.700
## 21 Branche sud aval 03 2001-08-28            0.008329959         0.900
## 22           Sewell 08 2001-08-28            0.031418919         6.500
## 23        Pok amont 04 2001-08-28                     NA         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.061270125         1.000
## 25        Pok amont 04 2001-09-26                     NA         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.061270125         1.200
## 28          Pollard 10 2001-09-26            0.137298091         1.150
## 29    br. sud amont 01 2001-09-26            0.012493493        44.800
## 30         Morrison 06 2001-09-26            0.020472441         0.900
## 31             Malt 11 2001-09-26            0.014492754         7.800
## 32          Suggary 02 2001-09-26            0.017561983         1.700
## 33     Waugh sanct. 07 2001-09-26            0.001544402         1.200
## 34          Dempsey 12 2001-09-26            0.028237585         1.500
## 35 Branche sud aval 03 2001-09-26            0.008329959         2.400
## 36           Sewell 08 2001-09-26            0.031418919         3.000
## 37           Sewell 08 2001-10-31            0.031418919         5.500
## 38        Pok amont 04 2001-10-31                     NA         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792         1.000
## 40         Morrison 06 2001-10-31            0.020472441         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.061270125         1.400
## 42          Pollard 10 2001-10-31            0.137298091         0.600
## 43    br. sud amont 01 2001-10-31            0.012493493         1.100
## 44          Dempsey 12 2001-10-31            0.028237585         1.700
## 45             Malt 11 2001-10-31            0.014492754         0.800
## 46          Suggary 02 2001-10-31            0.017561983         2.050
## 47     Waugh sanct. 07 2001-10-31            0.001544402         1.200
## 48 Branche sud aval 03 2001-10-31            0.008329959         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792         0.780
## 50 Branche sud aval 03 2002-07-29            0.008329959         1.170
## 51           Sewell 08 2002-07-29            0.031418919         4.960
## 52        Pok amont 04 2002-07-29                     NA         0.190
## 53    br. sud amont 01 2002-07-29            0.012493493         0.900
## 54         Morrison 06 2002-07-29            0.020472441         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.061270125         1.520
## 56          Pollard 10 2002-07-29            0.137298091         1.630
## 57     Waugh sanct. 07 2002-07-29            0.001544402         1.110
## 58          Dempsey 12 2002-07-29            0.028237585         1.970
## 59             Malt 11 2002-07-29            0.014492754         0.400
## 60          Suggary 02 2002-07-29            0.017561983         0.430
## 61        Pok amont 04 2002-08-28                     NA         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792         1.320
## 63          Dempsey 12 2002-08-28            0.028237585         4.440
## 64 Branche sud aval 03 2002-08-28            0.008329959         1.150
## 65           Sewell 08 2002-08-28            0.031418919         2.960
## 66          Pollard 10 2002-08-28            0.137298091         0.950
## 67    br. sud amont 01 2002-08-28            0.012493493         0.570
## 68         Morrison 06 2002-08-28            0.020472441         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.061270125         1.340
## 70          Suggary 02 2002-08-28            0.017561983         0.820
## 71     Waugh sanct. 07 2002-08-28            0.001544402         1.510
## 72             Malt 11 2002-08-28            0.014492754         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792         0.940
## 74           Sewell 08 2002-10-02            0.031418919         5.255
## 75        Pok amont 04 2002-10-02                     NA         0.280
## 76     Waugh sanct. 07 2002-10-02            0.001544402         1.280
## 77          Dempsey 12 2002-10-02            0.028237585         3.770
## 78 Branche sud aval 03 2002-10-02            0.008329959         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.061270125         2.110
## 80          Pollard 10 2002-10-02            0.137298091         0.690
## 81    br. sud amont 01 2002-10-02            0.012493493         0.740
## 82         Morrison 06 2002-10-02            0.020472441         0.770
## 83             Malt 11 2002-10-02            0.014492754         0.600
## 84          Suggary 02 2002-10-02            0.017561983         0.480
## 85        Pok amont 04 2002-10-31                     NA         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792         0.870
## 87 Branche sud aval 03 2002-10-31            0.008329959           NaN
## 88           Sewell 08 2002-10-31            0.031418919         8.740
## 89          Suggary 02 2002-10-31            0.017561983         0.410
## 90     Waugh sanct. 07 2002-10-31            0.001544402         1.440
## 91          Dempsey 12 2002-10-31            0.028237585         2.880
## 92         Morrison 06 2002-10-31            0.020472441         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.061270125         1.500
## 94          Pollard 10 2002-10-31            0.137298091         1.060
## 95    br. sud amont 01 2002-10-31            0.012493493         1.220
## 96             Malt 11 2002-10-31            0.014492754         0.900
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctSET_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28           0.0150963040           1.2
## 98           Dempsey 12 2021-07-28           0.0194225722           1.6
## 99  Branche sud aval 03 2021-07-28           0.0155662909           1.8
## 100           Sewell 08 2021-07-28           0.0175619835           3.5
## 101     Waugh sanct. 07 2021-07-28           0.0007722008           1.1
## 102    br. sud amont 01 2021-07-28           0.0282375852           2.3
## 103         Morrison 06 2021-07-28           0.0079167408           1.4
## 104             Malt 11 2021-07-28           0.0304054054           0.7
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000           1.9
## 106          Pollard 10 2021-07-28           0.0240566038           1.2
## 107        Pok amont 04 2021-07-28           0.0630590340           0.9
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335           1.7
## 109             Malt 11 2021-08-31           0.0240566038           0.5
## 110          Suggary 02 2021-08-31           0.1343612335           0.7
## 111     Waugh sanct. 07 2021-08-31           0.0150963040           1.1
## 112          Dempsey 12 2021-08-31           0.0194225722           1.7
## 113 Branche sud aval 03 2021-08-31           0.0155662909           1.7
## 114           Sewell 08 2021-08-31           0.0175619835           3.0
## 115          Pollard 10 2021-08-31           0.0007722008           1.7
## 116    br. sud amont 01 2021-08-31           0.0282375852           5.6
## 117         Morrison 06 2021-08-31           0.0079167408           2.6
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054           2.0
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000           3.2
## 120        Pok amont 04 2021-08-31           0.0630590340           1.5
## 121          Suggary 02 2021-10-05           0.0000000000           0.7
## 122         Morrison 06 2021-10-05           0.0240566038           1.4
## 123             Malt 11 2021-10-05           0.0630590340           0.9
## 124           Sewell 08 2021-10-05           0.1343612335           4.2
## 125     Waugh sanct. 07 2021-10-05           0.0150963040           1.2
## 126          Dempsey 12 2021-10-05           0.0194225722           1.8
## 127 Branche sud aval 03 2021-10-05           0.0155662909           1.7
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835           1.8
## 129          Pollard 10 2021-10-05           0.0007722008           1.8
## 130    br. sud amont 01 2021-10-05           0.0282375852           3.7
## 131        Pok amont 04 2021-10-05           0.0079167408           1.0
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054           1.4
## 133             Malt 11 2021-10-28           0.0304054054           0.5
## 134          Suggary 02 2021-10-28           0.0000000000           0.2
## 135    br. sud amont 01 2021-10-28           0.0240566038           1.9
## 136         Morrison 06 2021-10-28           0.0194225722           0.6
## 137 Branche sud aval 03 2021-10-28           0.0630590340           1.3
## 138           Sewell 08 2021-10-28           0.1343612335           2.8
## 139     Waugh sanct. 07 2021-10-28           0.0150963040           1.0
## 140          Dempsey 12 2021-10-28           0.0282375852           1.3
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909           0.7
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835           1.4
## 143          Pollard 10 2021-10-28           0.0007722008           0.8
## 144        Pok amont 04 2021-10-28           0.0079167408           0.6
## 145          Pollard 10 2022-07-28           0.0240566038           0.4
## 146         Morrison 06 2022-07-28           0.0079167408           0.7
## 147             Malt 11 2022-07-28           0.0304054054           0.4
## 148          Suggary 02 2022-07-28           0.0000000000           0.5
## 149    br. sud amont 01 2022-07-28           0.0150963040           2.7
## 150          Dempsey 12 2022-07-28           0.0194225722           1.2
## 151 Branche sud aval 03 2022-07-28           0.0630590340           2.1
## 152           Sewell 08 2022-07-28           0.1343612335           1.8
## 153     Waugh sanct. 07 2022-07-28           0.0007722008           1.0
## 154        Pok amont 04 2022-07-28           0.0282375852           0.7
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909           0.7
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835           0.8
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000           1.9
## 158          Pollard 10 2022-09-01           0.0240566038           1.3
## 159    br. sud amont 01 2022-09-01           0.0282375852           3.0
## 160         Morrison 06 2022-09-01           0.0079167408           2.4
## 161             Malt 11 2022-09-01           0.0304054054           0.5
## 162          Suggary 02 2022-09-01           0.1343612335           0.7
## 163     Waugh sanct. 07 2022-09-01           0.0150963040           1.8
## 164          Dempsey 12 2022-09-01           0.0194225722           2.2
## 165 Branche sud aval 03 2022-09-01           0.0630590340           1.9
## 166           Sewell 08 2022-09-01           0.0175619835           2.6
## 167        Pok amont 04 2022-09-01           0.0007722008           1.5
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909           1.4
## 169           Sewell 08 2022-10-03           0.0240566038           3.6
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054           1.2
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000           1.9
## 172          Pollard 10 2022-10-03           0.0007722008           0.4
## 173    br. sud amont 01 2022-10-03           0.0282375852           2.8
## 174         Morrison 06 2022-10-03           0.0079167408           1.0
## 175             Malt 11 2022-10-03           0.0630590340           0.4
## 176          Suggary 02 2022-10-03           0.1343612335           0.3
## 177     Waugh sanct. 07 2022-10-03           0.0150963040           1.3
## 178          Dempsey 12 2022-10-03           0.0194225722           1.3
## 179 Branche sud aval 03 2022-10-03           0.0155662909           1.6
## 180        Pok amont 04 2022-10-03           0.0175619835           1.5
## 181 Branche sud aval 03 2022-11-01           0.0000000000           2.6
## 182           Sewell 08 2022-11-01           0.0240566038           5.4
## 183        Pok amont 04 2022-11-01           0.0079167408           0.8
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054           2.6
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835           2.0
## 186          Pollard 10 2022-11-01           0.0007722008           0.7
## 187    br. sud amont 01 2022-11-01           0.0282375852           4.8
## 188         Morrison 06 2022-11-01           0.0194225722           2.8
## 189             Malt 11 2022-11-01           0.0630590340           1.5
## 190          Suggary 02 2022-11-01           0.1343612335           0.7
## 191     Waugh sanct. 07 2022-11-01           0.0150963040           1.6
## 192          Dempsey 12 2022-11-01           0.0155662909           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(Turbidity_NTU),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(Turbidity_NTU)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(Turbidity_NTU),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(Turbidity_NTU)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_Couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Colour_TCU))
##               Station2       Date pctSET_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01            0.012493493        5.0
## 2          Morrison 06 2001-08-01            0.020472441       10.0
## 3              Malt 11 2001-08-01            0.014492754       10.0
## 4           Suggary 02 2001-08-01            0.017561983        5.0
## 5      Waugh sanct. 07 2001-08-01            0.001544402       20.0
## 6           Dempsey 12 2001-08-01            0.028237585       15.0
## 7  Branche sud aval 03 2001-08-01            0.008329959        5.0
## 8            Sewell 08 2001-08-01            0.031418919        5.0
## 9         Pok amont 04 2001-08-01                     NA        0.0
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792        0.0
## 11 McConnell Six Rd 05 2001-08-01            0.061270125        5.0
## 12          Pollard 10 2001-08-01            0.137298091        5.0
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792        5.0
## 14          Pollard 10 2001-08-28            0.137298091        5.0
## 15    br. sud amont 01 2001-08-28            0.012493493        5.0
## 16         Morrison 06 2001-08-28            0.020472441        5.0
## 17             Malt 11 2001-08-28            0.014492754        5.0
## 18          Suggary 02 2001-08-28            0.017561983       10.0
## 19     Waugh sanct. 07 2001-08-28            0.001544402       10.0
## 20          Dempsey 12 2001-08-28            0.028237585       15.0
## 21 Branche sud aval 03 2001-08-28            0.008329959        5.0
## 22           Sewell 08 2001-08-28            0.031418919       30.0
## 23        Pok amont 04 2001-08-28                     NA        5.0
## 24 McConnell Six Rd 05 2001-08-28            0.061270125        5.0
## 25        Pok amont 04 2001-09-26                     NA       10.0
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792       30.0
## 27 McConnell Six Rd 05 2001-09-26            0.061270125       15.0
## 28          Pollard 10 2001-09-26            0.137298091       20.0
## 29    br. sud amont 01 2001-09-26            0.012493493      200.0
## 30         Morrison 06 2001-09-26            0.020472441        5.0
## 31             Malt 11 2001-09-26            0.014492754       20.0
## 32          Suggary 02 2001-09-26            0.017561983        5.0
## 33     Waugh sanct. 07 2001-09-26            0.001544402       10.0
## 34          Dempsey 12 2001-09-26            0.028237585       20.0
## 35 Branche sud aval 03 2001-09-26            0.008329959       10.0
## 36           Sewell 08 2001-09-26            0.031418919       30.0
## 37           Sewell 08 2001-10-31            0.031418919       80.0
## 38        Pok amont 04 2001-10-31                     NA        5.0
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792       20.0
## 40         Morrison 06 2001-10-31            0.020472441       15.0
## 41 McConnell Six Rd 05 2001-10-31            0.061270125      120.0
## 42          Pollard 10 2001-10-31            0.137298091       10.0
## 43    br. sud amont 01 2001-10-31            0.012493493       30.0
## 44          Dempsey 12 2001-10-31            0.028237585       30.0
## 45             Malt 11 2001-10-31            0.014492754       10.0
## 46          Suggary 02 2001-10-31            0.017561983       30.0
## 47     Waugh sanct. 07 2001-10-31            0.001544402      100.0
## 48 Branche sud aval 03 2001-10-31            0.008329959       20.0
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792       10.0
## 50 Branche sud aval 03 2002-07-29            0.008329959       15.0
## 51           Sewell 08 2002-07-29            0.031418919       40.0
## 52        Pok amont 04 2002-07-29                     NA        5.0
## 53    br. sud amont 01 2002-07-29            0.012493493       15.0
## 54         Morrison 06 2002-07-29            0.020472441       10.0
## 55 McConnell Six Rd 05 2002-07-29            0.061270125       80.0
## 56          Pollard 10 2002-07-29            0.137298091       10.0
## 57     Waugh sanct. 07 2002-07-29            0.001544402       40.0
## 58          Dempsey 12 2002-07-29            0.028237585       20.0
## 59             Malt 11 2002-07-29            0.014492754        5.0
## 60          Suggary 02 2002-07-29            0.017561983        5.0
## 61        Pok amont 04 2002-08-28                     NA        5.0
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792       20.0
## 63          Dempsey 12 2002-08-28            0.028237585       40.0
## 64 Branche sud aval 03 2002-08-28            0.008329959       15.0
## 65           Sewell 08 2002-08-28            0.031418919       40.0
## 66          Pollard 10 2002-08-28            0.137298091       10.0
## 67    br. sud amont 01 2002-08-28            0.012493493       10.0
## 68         Morrison 06 2002-08-28            0.020472441       10.0
## 69 McConnell Six Rd 05 2002-08-28            0.061270125       20.0
## 70          Suggary 02 2002-08-28            0.017561983        7.5
## 71     Waugh sanct. 07 2002-08-28            0.001544402       30.0
## 72             Malt 11 2002-08-28            0.014492754       10.0
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792        5.0
## 74           Sewell 08 2002-10-02            0.031418919       60.0
## 75        Pok amont 04 2002-10-02                     NA        5.0
## 76     Waugh sanct. 07 2002-10-02            0.001544402       20.0
## 77          Dempsey 12 2002-10-02            0.028237585       20.0
## 78 Branche sud aval 03 2002-10-02            0.008329959       15.0
## 79 McConnell Six Rd 05 2002-10-02            0.061270125       60.0
## 80          Pollard 10 2002-10-02            0.137298091       10.0
## 81    br. sud amont 01 2002-10-02            0.012493493       10.0
## 82         Morrison 06 2002-10-02            0.020472441       10.0
## 83             Malt 11 2002-10-02            0.014492754        5.0
## 84          Suggary 02 2002-10-02            0.017561983        5.0
## 85        Pok amont 04 2002-10-31                     NA        5.0
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792       20.0
## 87 Branche sud aval 03 2002-10-31            0.008329959        NaN
## 88           Sewell 08 2002-10-31            0.031418919       60.0
## 89          Suggary 02 2002-10-31            0.017561983        5.0
## 90     Waugh sanct. 07 2002-10-31            0.001544402       60.0
## 91          Dempsey 12 2002-10-31            0.028237585       30.0
## 92         Morrison 06 2002-10-31            0.020472441        5.0
## 93 McConnell Six Rd 05 2002-10-31            0.061270125       75.0
## 94          Pollard 10 2002-10-31            0.137298091        5.0
## 95    br. sud amont 01 2002-10-31            0.012493493       30.0
## 96             Malt 11 2002-10-31            0.014492754       15.0
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Colour_TCU))
##                Station2       Date pctSET_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28           0.0150963040          8
## 98           Dempsey 12 2021-07-28           0.0194225722         22
## 99  Branche sud aval 03 2021-07-28           0.0155662909         19
## 100           Sewell 08 2021-07-28           0.0175619835         34
## 101     Waugh sanct. 07 2021-07-28           0.0007722008         27
## 102    br. sud amont 01 2021-07-28           0.0282375852         15
## 103         Morrison 06 2021-07-28           0.0079167408         14
## 104             Malt 11 2021-07-28           0.0304054054          7
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000         29
## 106          Pollard 10 2021-07-28           0.0240566038          8
## 107        Pok amont 04 2021-07-28           0.0630590340         11
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335          9
## 109             Malt 11 2021-08-31           0.0240566038          5
## 110          Suggary 02 2021-08-31           0.1343612335          5
## 111     Waugh sanct. 07 2021-08-31           0.0150963040         14
## 112          Dempsey 12 2021-08-31           0.0194225722         14
## 113 Branche sud aval 03 2021-08-31           0.0155662909         20
## 114           Sewell 08 2021-08-31           0.0175619835         24
## 115          Pollard 10 2021-08-31           0.0007722008          8
## 116    br. sud amont 01 2021-08-31           0.0282375852         12
## 117         Morrison 06 2021-08-31           0.0079167408         18
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054          8
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000         37
## 120        Pok amont 04 2021-08-31           0.0630590340         10
## 121          Suggary 02 2021-10-05           0.0000000000          8
## 122         Morrison 06 2021-10-05           0.0240566038         22
## 123             Malt 11 2021-10-05           0.0630590340         66
## 124           Sewell 08 2021-10-05           0.1343612335         47
## 125     Waugh sanct. 07 2021-10-05           0.0150963040        190
## 126          Dempsey 12 2021-10-05           0.0194225722         55
## 127 Branche sud aval 03 2021-10-05           0.0155662909         38
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835        141
## 129          Pollard 10 2021-10-05           0.0007722008         19
## 130    br. sud amont 01 2021-10-05           0.0282375852         44
## 131        Pok amont 04 2021-10-05           0.0079167408         21
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054         33
## 133             Malt 11 2021-10-28           0.0304054054         47
## 134          Suggary 02 2021-10-28           0.0000000000          5
## 135    br. sud amont 01 2021-10-28           0.0240566038         32
## 136         Morrison 06 2021-10-28           0.0194225722         13
## 137 Branche sud aval 03 2021-10-28           0.0630590340         22
## 138           Sewell 08 2021-10-28           0.1343612335         43
## 139     Waugh sanct. 07 2021-10-28           0.0150963040        130
## 140          Dempsey 12 2021-10-28           0.0282375852         33
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909         15
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835        107
## 143          Pollard 10 2021-10-28           0.0007722008         12
## 144        Pok amont 04 2021-10-28           0.0079167408         13
## 145          Pollard 10 2022-07-28           0.0240566038          5
## 146         Morrison 06 2022-07-28           0.0079167408          7
## 147             Malt 11 2022-07-28           0.0304054054          6
## 148          Suggary 02 2022-07-28           0.0000000000          5
## 149    br. sud amont 01 2022-07-28           0.0150963040         26
## 150          Dempsey 12 2022-07-28           0.0194225722         16
## 151 Branche sud aval 03 2022-07-28           0.0630590340         18
## 152           Sewell 08 2022-07-28           0.1343612335         33
## 153     Waugh sanct. 07 2022-07-28           0.0007722008         27
## 154        Pok amont 04 2022-07-28           0.0282375852          7
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909          5
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835         15
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000         48
## 158          Pollard 10 2022-09-01           0.0240566038         23
## 159    br. sud amont 01 2022-09-01           0.0282375852         23
## 160         Morrison 06 2022-09-01           0.0079167408         15
## 161             Malt 11 2022-09-01           0.0304054054         10
## 162          Suggary 02 2022-09-01           0.1343612335          8
## 163     Waugh sanct. 07 2022-09-01           0.0150963040         61
## 164          Dempsey 12 2022-09-01           0.0194225722         21
## 165 Branche sud aval 03 2022-09-01           0.0630590340         21
## 166           Sewell 08 2022-09-01           0.0175619835         43
## 167        Pok amont 04 2022-09-01           0.0007722008         14
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909         41
## 169           Sewell 08 2022-10-03           0.0240566038         71
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054          8
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000        130
## 172          Pollard 10 2022-10-03           0.0007722008         10
## 173    br. sud amont 01 2022-10-03           0.0282375852         20
## 174         Morrison 06 2022-10-03           0.0079167408         10
## 175             Malt 11 2022-10-03           0.0630590340          5
## 176          Suggary 02 2022-10-03           0.1343612335          5
## 177     Waugh sanct. 07 2022-10-03           0.0150963040         53
## 178          Dempsey 12 2022-10-03           0.0194225722         16
## 179 Branche sud aval 03 2022-10-03           0.0155662909         17
## 180        Pok amont 04 2022-10-03           0.0175619835         12
## 181 Branche sud aval 03 2022-11-01           0.0000000000         25
## 182           Sewell 08 2022-11-01           0.0240566038         60
## 183        Pok amont 04 2022-11-01           0.0079167408         11
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054         21
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835        148
## 186          Pollard 10 2022-11-01           0.0007722008         11
## 187    br. sud amont 01 2022-11-01           0.0282375852         42
## 188         Morrison 06 2022-11-01           0.0194225722         13
## 189             Malt 11 2022-11-01           0.0630590340         22
## 190          Suggary 02 2022-11-01           0.1343612335          9
## 191     Waugh sanct. 07 2022-11-01           0.0150963040        143
## 192          Dempsey 12 2022-11-01           0.0155662909         28
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 9 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctSET_supdrainee_1990
## 1     br. sud amont 01 2001-08-01            0.012493493
## 2          Morrison 06 2001-08-01            0.020472441
## 3              Malt 11 2001-08-01            0.014492754
## 4           Suggary 02 2001-08-01            0.017561983
## 5      Waugh sanct. 07 2001-08-01            0.001544402
## 6           Dempsey 12 2001-08-01            0.028237585
## 7  Branche sud aval 03 2001-08-01            0.008329959
## 8            Sewell 08 2001-08-01            0.031418919
## 9         Pok amont 04 2001-08-01                     NA
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792
## 11 McConnell Six Rd 05 2001-08-01            0.061270125
## 12          Pollard 10 2001-08-01            0.137298091
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792
## 14          Pollard 10 2001-08-28            0.137298091
## 15    br. sud amont 01 2001-08-28            0.012493493
## 16         Morrison 06 2001-08-28            0.020472441
## 17             Malt 11 2001-08-28            0.014492754
## 18          Suggary 02 2001-08-28            0.017561983
## 19     Waugh sanct. 07 2001-08-28            0.001544402
## 20          Dempsey 12 2001-08-28            0.028237585
## 21 Branche sud aval 03 2001-08-28            0.008329959
## 22           Sewell 08 2001-08-28            0.031418919
## 23        Pok amont 04 2001-08-28                     NA
## 24 McConnell Six Rd 05 2001-08-28            0.061270125
## 25        Pok amont 04 2001-09-26                     NA
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792
## 27 McConnell Six Rd 05 2001-09-26            0.061270125
## 28          Pollard 10 2001-09-26            0.137298091
## 29    br. sud amont 01 2001-09-26            0.012493493
## 30         Morrison 06 2001-09-26            0.020472441
## 31             Malt 11 2001-09-26            0.014492754
## 32          Suggary 02 2001-09-26            0.017561983
## 33     Waugh sanct. 07 2001-09-26            0.001544402
## 34          Dempsey 12 2001-09-26            0.028237585
## 35 Branche sud aval 03 2001-09-26            0.008329959
## 36           Sewell 08 2001-09-26            0.031418919
## 37           Sewell 08 2001-10-31            0.031418919
## 38        Pok amont 04 2001-10-31                     NA
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792
## 40         Morrison 06 2001-10-31            0.020472441
## 41 McConnell Six Rd 05 2001-10-31            0.061270125
## 42          Pollard 10 2001-10-31            0.137298091
## 43    br. sud amont 01 2001-10-31            0.012493493
## 44          Dempsey 12 2001-10-31            0.028237585
## 45             Malt 11 2001-10-31            0.014492754
## 46          Suggary 02 2001-10-31            0.017561983
## 47     Waugh sanct. 07 2001-10-31            0.001544402
## 48 Branche sud aval 03 2001-10-31            0.008329959
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792
## 50 Branche sud aval 03 2002-07-29            0.008329959
## 51           Sewell 08 2002-07-29            0.031418919
## 52        Pok amont 04 2002-07-29                     NA
## 53    br. sud amont 01 2002-07-29            0.012493493
## 54         Morrison 06 2002-07-29            0.020472441
## 55 McConnell Six Rd 05 2002-07-29            0.061270125
## 56          Pollard 10 2002-07-29            0.137298091
## 57     Waugh sanct. 07 2002-07-29            0.001544402
## 58          Dempsey 12 2002-07-29            0.028237585
## 59             Malt 11 2002-07-29            0.014492754
## 60          Suggary 02 2002-07-29            0.017561983
## 61        Pok amont 04 2002-08-28                     NA
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792
## 63          Dempsey 12 2002-08-28            0.028237585
## 64 Branche sud aval 03 2002-08-28            0.008329959
## 65           Sewell 08 2002-08-28            0.031418919
## 66          Pollard 10 2002-08-28            0.137298091
## 67    br. sud amont 01 2002-08-28            0.012493493
## 68         Morrison 06 2002-08-28            0.020472441
## 69 McConnell Six Rd 05 2002-08-28            0.061270125
## 70          Suggary 02 2002-08-28            0.017561983
## 71     Waugh sanct. 07 2002-08-28            0.001544402
## 72             Malt 11 2002-08-28            0.014492754
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792
## 74           Sewell 08 2002-10-02            0.031418919
## 75        Pok amont 04 2002-10-02                     NA
## 76     Waugh sanct. 07 2002-10-02            0.001544402
## 77          Dempsey 12 2002-10-02            0.028237585
## 78 Branche sud aval 03 2002-10-02            0.008329959
## 79 McConnell Six Rd 05 2002-10-02            0.061270125
## 80          Pollard 10 2002-10-02            0.137298091
## 81    br. sud amont 01 2002-10-02            0.012493493
## 82         Morrison 06 2002-10-02            0.020472441
## 83             Malt 11 2002-10-02            0.014492754
## 84          Suggary 02 2002-10-02            0.017561983
## 85        Pok amont 04 2002-10-31                     NA
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792
## 87 Branche sud aval 03 2002-10-31            0.008329959
## 88           Sewell 08 2002-10-31            0.031418919
## 89          Suggary 02 2002-10-31            0.017561983
## 90     Waugh sanct. 07 2002-10-31            0.001544402
## 91          Dempsey 12 2002-10-31            0.028237585
## 92         Morrison 06 2002-10-31            0.020472441
## 93 McConnell Six Rd 05 2002-10-31            0.061270125
## 94          Pollard 10 2002-10-31            0.137298091
## 95    br. sud amont 01 2002-10-31            0.012493493
## 96             Malt 11 2002-10-31            0.014492754
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctSET_supdrainee_2020
## 97           Suggary 02 2021-07-28           0.0150963040
## 98           Dempsey 12 2021-07-28           0.0194225722
## 99  Branche sud aval 03 2021-07-28           0.0155662909
## 100           Sewell 08 2021-07-28           0.0175619835
## 101     Waugh sanct. 07 2021-07-28           0.0007722008
## 102    br. sud amont 01 2021-07-28           0.0282375852
## 103         Morrison 06 2021-07-28           0.0079167408
## 104             Malt 11 2021-07-28           0.0304054054
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000
## 106          Pollard 10 2021-07-28           0.0240566038
## 107        Pok amont 04 2021-07-28           0.0630590340
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335
## 109             Malt 11 2021-08-31           0.0240566038
## 110          Suggary 02 2021-08-31           0.1343612335
## 111     Waugh sanct. 07 2021-08-31           0.0150963040
## 112          Dempsey 12 2021-08-31           0.0194225722
## 113 Branche sud aval 03 2021-08-31           0.0155662909
## 114           Sewell 08 2021-08-31           0.0175619835
## 115          Pollard 10 2021-08-31           0.0007722008
## 116    br. sud amont 01 2021-08-31           0.0282375852
## 117         Morrison 06 2021-08-31           0.0079167408
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000
## 120        Pok amont 04 2021-08-31           0.0630590340
## 121          Suggary 02 2021-10-05           0.0000000000
## 122         Morrison 06 2021-10-05           0.0240566038
## 123             Malt 11 2021-10-05           0.0630590340
## 124           Sewell 08 2021-10-05           0.1343612335
## 125     Waugh sanct. 07 2021-10-05           0.0150963040
## 126          Dempsey 12 2021-10-05           0.0194225722
## 127 Branche sud aval 03 2021-10-05           0.0155662909
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835
## 129          Pollard 10 2021-10-05           0.0007722008
## 130    br. sud amont 01 2021-10-05           0.0282375852
## 131        Pok amont 04 2021-10-05           0.0079167408
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054
## 133             Malt 11 2021-10-28           0.0304054054
## 134          Suggary 02 2021-10-28           0.0000000000
## 135    br. sud amont 01 2021-10-28           0.0240566038
## 136         Morrison 06 2021-10-28           0.0194225722
## 137 Branche sud aval 03 2021-10-28           0.0630590340
## 138           Sewell 08 2021-10-28           0.1343612335
## 139     Waugh sanct. 07 2021-10-28           0.0150963040
## 140          Dempsey 12 2021-10-28           0.0282375852
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835
## 143          Pollard 10 2021-10-28           0.0007722008
## 144        Pok amont 04 2021-10-28           0.0079167408
## 145          Pollard 10 2022-07-28           0.0240566038
## 146         Morrison 06 2022-07-28           0.0079167408
## 147             Malt 11 2022-07-28           0.0304054054
## 148          Suggary 02 2022-07-28           0.0000000000
## 149    br. sud amont 01 2022-07-28           0.0150963040
## 150          Dempsey 12 2022-07-28           0.0194225722
## 151 Branche sud aval 03 2022-07-28           0.0630590340
## 152           Sewell 08 2022-07-28           0.1343612335
## 153     Waugh sanct. 07 2022-07-28           0.0007722008
## 154        Pok amont 04 2022-07-28           0.0282375852
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000
## 158          Pollard 10 2022-09-01           0.0240566038
## 159    br. sud amont 01 2022-09-01           0.0282375852
## 160         Morrison 06 2022-09-01           0.0079167408
## 161             Malt 11 2022-09-01           0.0304054054
## 162          Suggary 02 2022-09-01           0.1343612335
## 163     Waugh sanct. 07 2022-09-01           0.0150963040
## 164          Dempsey 12 2022-09-01           0.0194225722
## 165 Branche sud aval 03 2022-09-01           0.0630590340
## 166           Sewell 08 2022-09-01           0.0175619835
## 167        Pok amont 04 2022-09-01           0.0007722008
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909
## 169           Sewell 08 2022-10-03           0.0240566038
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000
## 172          Pollard 10 2022-10-03           0.0007722008
## 173    br. sud amont 01 2022-10-03           0.0282375852
## 174         Morrison 06 2022-10-03           0.0079167408
## 175             Malt 11 2022-10-03           0.0630590340
## 176          Suggary 02 2022-10-03           0.1343612335
## 177     Waugh sanct. 07 2022-10-03           0.0150963040
## 178          Dempsey 12 2022-10-03           0.0194225722
## 179 Branche sud aval 03 2022-10-03           0.0155662909
## 180        Pok amont 04 2022-10-03           0.0175619835
## 181 Branche sud aval 03 2022-11-01           0.0000000000
## 182           Sewell 08 2022-11-01           0.0240566038
## 183        Pok amont 04 2022-11-01           0.0079167408
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835
## 186          Pollard 10 2022-11-01           0.0007722008
## 187    br. sud amont 01 2022-11-01           0.0282375852
## 188         Morrison 06 2022-11-01           0.0194225722
## 189             Malt 11 2022-11-01           0.0630590340
## 190          Suggary 02 2022-11-01           0.1343612335
## 191     Waugh sanct. 07 2022-11-01           0.0150963040
## 192          Dempsey 12 2022-11-01           0.0155662909
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le COT et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctSET_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01            0.012493493                10
## 2          Morrison 06 2001-08-01            0.020472441                80
## 3              Malt 11 2001-08-01            0.014492754                30
## 4           Suggary 02 2001-08-01            0.017561983                10
## 5      Waugh sanct. 07 2001-08-01            0.001544402               270
## 6           Dempsey 12 2001-08-01            0.028237585                50
## 7  Branche sud aval 03 2001-08-01            0.008329959                10
## 8            Sewell 08 2001-08-01            0.031418919                20
## 9         Pok amont 04 2001-08-01                     NA                10
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792                10
## 11 McConnell Six Rd 05 2001-08-01            0.061270125                30
## 12          Pollard 10 2001-08-01            0.137298091               110
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792                10
## 14          Pollard 10 2001-08-28            0.137298091                50
## 15    br. sud amont 01 2001-08-28            0.012493493               120
## 16         Morrison 06 2001-08-28            0.020472441                90
## 17             Malt 11 2001-08-28            0.014492754                20
## 18          Suggary 02 2001-08-28            0.017561983                80
## 19     Waugh sanct. 07 2001-08-28            0.001544402               430
## 20          Dempsey 12 2001-08-28            0.028237585                20
## 21 Branche sud aval 03 2001-08-28            0.008329959               110
## 22           Sewell 08 2001-08-28            0.031418919               210
## 23        Pok amont 04 2001-08-28                     NA                10
## 24 McConnell Six Rd 05 2001-08-28            0.061270125               250
## 25        Pok amont 04 2001-09-26                     NA               530
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792               830
## 27 McConnell Six Rd 05 2001-09-26            0.061270125               120
## 28          Pollard 10 2001-09-26            0.137298091              1240
## 29    br. sud amont 01 2001-09-26            0.012493493              2000
## 30         Morrison 06 2001-09-26            0.020472441               220
## 31             Malt 11 2001-09-26            0.014492754               150
## 32          Suggary 02 2001-09-26            0.017561983               150
## 33     Waugh sanct. 07 2001-09-26            0.001544402               590
## 34          Dempsey 12 2001-09-26            0.028237585               150
## 35 Branche sud aval 03 2001-09-26            0.008329959               660
## 36           Sewell 08 2001-09-26            0.031418919               190
## 37           Sewell 08 2001-10-31            0.031418919               140
## 38        Pok amont 04 2001-10-31                     NA                20
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792                10
## 40         Morrison 06 2001-10-31            0.020472441                10
## 41 McConnell Six Rd 05 2001-10-31            0.061270125               310
## 42          Pollard 10 2001-10-31            0.137298091                50
## 43    br. sud amont 01 2001-10-31            0.012493493                20
## 44          Dempsey 12 2001-10-31            0.028237585                10
## 45             Malt 11 2001-10-31            0.014492754               100
## 46          Suggary 02 2001-10-31            0.017561983                30
## 47     Waugh sanct. 07 2001-10-31            0.001544402               480
## 48 Branche sud aval 03 2001-10-31            0.008329959                30
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792                10
## 50 Branche sud aval 03 2002-07-29            0.008329959                30
## 51           Sewell 08 2002-07-29            0.031418919                60
## 52        Pok amont 04 2002-07-29                     NA                10
## 53    br. sud amont 01 2002-07-29            0.012493493                20
## 54         Morrison 06 2002-07-29            0.020472441                10
## 55 McConnell Six Rd 05 2002-07-29            0.061270125                10
## 56          Pollard 10 2002-07-29            0.137298091               660
## 57     Waugh sanct. 07 2002-07-29            0.001544402                80
## 58          Dempsey 12 2002-07-29            0.028237585                25
## 59             Malt 11 2002-07-29            0.014492754                10
## 60          Suggary 02 2002-07-29            0.017561983                10
## 61        Pok amont 04 2002-08-28                     NA                30
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792                10
## 63          Dempsey 12 2002-08-28            0.028237585                10
## 64 Branche sud aval 03 2002-08-28            0.008329959                20
## 65           Sewell 08 2002-08-28            0.031418919                10
## 66          Pollard 10 2002-08-28            0.137298091               180
## 67    br. sud amont 01 2002-08-28            0.012493493                80
## 68         Morrison 06 2002-08-28            0.020472441                20
## 69 McConnell Six Rd 05 2002-08-28            0.061270125               310
## 70          Suggary 02 2002-08-28            0.017561983                15
## 71     Waugh sanct. 07 2002-08-28            0.001544402               410
## 72             Malt 11 2002-08-28            0.014492754                30
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792                10
## 74           Sewell 08 2002-10-02            0.031418919                25
## 75        Pok amont 04 2002-10-02                     NA                10
## 76     Waugh sanct. 07 2002-10-02            0.001544402               700
## 77          Dempsey 12 2002-10-02            0.028237585                30
## 78 Branche sud aval 03 2002-10-02            0.008329959                40
## 79 McConnell Six Rd 05 2002-10-02            0.061270125               150
## 80          Pollard 10 2002-10-02            0.137298091                10
## 81    br. sud amont 01 2002-10-02            0.012493493                20
## 82         Morrison 06 2002-10-02            0.020472441                10
## 83             Malt 11 2002-10-02            0.014492754                90
## 84          Suggary 02 2002-10-02            0.017561983                20
## 85        Pok amont 04 2002-10-31                     NA                10
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792                10
## 87 Branche sud aval 03 2002-10-31            0.008329959                10
## 88           Sewell 08 2002-10-31            0.031418919                10
## 89          Suggary 02 2002-10-31            0.017561983                50
## 90     Waugh sanct. 07 2002-10-31            0.001544402                40
## 91          Dempsey 12 2002-10-31            0.028237585                10
## 92         Morrison 06 2002-10-31            0.020472441                10
## 93 McConnell Six Rd 05 2002-10-31            0.061270125                30
## 94          Pollard 10 2002-10-31            0.137298091                10
## 95    br. sud amont 01 2002-10-31            0.012493493                10
## 96             Malt 11 2002-10-31            0.014492754                10
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctSET_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28           0.0150963040              20.0
## 98           Dempsey 12 2021-07-28           0.0194225722              52.0
## 99  Branche sud aval 03 2021-07-28           0.0155662909              74.0
## 100           Sewell 08 2021-07-28           0.0175619835              98.0
## 101     Waugh sanct. 07 2021-07-28           0.0007722008              52.0
## 102    br. sud amont 01 2021-07-28           0.0282375852              75.0
## 103         Morrison 06 2021-07-28           0.0079167408              30.0
## 104             Malt 11 2021-07-28           0.0304054054              10.0
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000              75.0
## 106          Pollard 10 2021-07-28           0.0240566038              98.0
## 107        Pok amont 04 2021-07-28           0.0630590340              10.0
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335              20.0
## 109             Malt 11 2021-08-31           0.0240566038              39.3
## 110          Suggary 02 2021-08-31           0.1343612335             235.9
## 111     Waugh sanct. 07 2021-08-31           0.0150963040              68.3
## 112          Dempsey 12 2021-08-31           0.0194225722              49.6
## 113 Branche sud aval 03 2021-08-31           0.0155662909              54.5
## 114           Sewell 08 2021-08-31           0.0175619835             148.3
## 115          Pollard 10 2021-08-31           0.0007722008             117.8
## 116    br. sud amont 01 2021-08-31           0.0282375852              72.7
## 117         Morrison 06 2021-08-31           0.0079167408              25.6
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054              67.7
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000              70.3
## 120        Pok amont 04 2021-08-31           0.0630590340              15.6
## 121          Suggary 02 2021-10-05           0.0000000000              41.7
## 122         Morrison 06 2021-10-05           0.0240566038              24.6
## 123             Malt 11 2021-10-05           0.0630590340              47.1
## 124           Sewell 08 2021-10-05           0.1343612335             135.4
## 125     Waugh sanct. 07 2021-10-05           0.0150963040              29.5
## 126          Dempsey 12 2021-10-05           0.0194225722              54.8
## 127 Branche sud aval 03 2021-10-05           0.0155662909              37.3
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835              95.9
## 129          Pollard 10 2021-10-05           0.0007722008              62.7
## 130    br. sud amont 01 2021-10-05           0.0282375852              35.5
## 131        Pok amont 04 2021-10-05           0.0079167408              10.8
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054              27.5
## 133             Malt 11 2021-10-28           0.0304054054              16.0
## 134          Suggary 02 2021-10-28           0.0000000000               7.4
## 135    br. sud amont 01 2021-10-28           0.0240566038              19.9
## 136         Morrison 06 2021-10-28           0.0194225722              12.1
## 137 Branche sud aval 03 2021-10-28           0.0630590340              39.9
## 138           Sewell 08 2021-10-28           0.1343612335              48.1
## 139     Waugh sanct. 07 2021-10-28           0.0150963040              38.4
## 140          Dempsey 12 2021-10-28           0.0282375852              52.0
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909              24.3
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835              29.5
## 143          Pollard 10 2021-10-28           0.0007722008              34.5
## 144        Pok amont 04 2021-10-28           0.0079167408              14.6
## 145          Pollard 10 2022-07-28           0.0240566038              57.6
## 146         Morrison 06 2022-07-28           0.0079167408             133.4
## 147             Malt 11 2022-07-28           0.0304054054              70.3
## 148          Suggary 02 2022-07-28           0.0000000000              27.5
## 149    br. sud amont 01 2022-07-28           0.0150963040              32.7
## 150          Dempsey 12 2022-07-28           0.0194225722              41.7
## 151 Branche sud aval 03 2022-07-28           0.0630590340              59.8
## 152           Sewell 08 2022-07-28           0.1343612335              90.6
## 153     Waugh sanct. 07 2022-07-28           0.0007722008              93.3
## 154        Pok amont 04 2022-07-28           0.0282375852              77.1
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909              22.8
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835             488.4
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000              82.0
## 158          Pollard 10 2022-09-01           0.0240566038            1046.2
## 159    br. sud amont 01 2022-09-01           0.0282375852             114.5
## 160         Morrison 06 2022-09-01           0.0079167408             686.7
## 161             Malt 11 2022-09-01           0.0304054054              69.1
## 162          Suggary 02 2022-09-01           0.1343612335              40.2
## 163     Waugh sanct. 07 2022-09-01           0.0150963040              88.0
## 164          Dempsey 12 2022-09-01           0.0194225722             248.1
## 165 Branche sud aval 03 2022-09-01           0.0630590340              70.3
## 166           Sewell 08 2022-09-01           0.0175619835             172.2
## 167        Pok amont 04 2022-09-01           0.0007722008               5.2
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909             121.1
## 169           Sewell 08 2022-10-03           0.0240566038              48.8
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054              44.1
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000              59.1
## 172          Pollard 10 2022-10-03           0.0007722008              24.1
## 173    br. sud amont 01 2022-10-03           0.0282375852              57.6
## 174         Morrison 06 2022-10-03           0.0079167408              47.4
## 175             Malt 11 2022-10-03           0.0630590340               5.2
## 176          Suggary 02 2022-10-03           0.1343612335               9.7
## 177     Waugh sanct. 07 2022-10-03           0.0150963040              65.7
## 178          Dempsey 12 2022-10-03           0.0194225722              48.0
## 179 Branche sud aval 03 2022-10-03           0.0155662909              13.4
## 180        Pok amont 04 2022-10-03           0.0175619835               8.4
## 181 Branche sud aval 03 2022-11-01           0.0000000000              24.6
## 182           Sewell 08 2022-11-01           0.0240566038             115.3
## 183        Pok amont 04 2022-11-01           0.0079167408               5.2
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054               3.1
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835              72.3
## 186          Pollard 10 2022-11-01           0.0007722008              20.3
## 187    br. sud amont 01 2022-11-01           0.0282375852              37.3
## 188         Morrison 06 2022-11-01           0.0194225722              39.9
## 189             Malt 11 2022-11-01           0.0630590340              45.0
## 190          Suggary 02 2022-11-01           0.1343612335               8.5
## 191     Waugh sanct. 07 2022-11-01           0.0150963040             249.5
## 192          Dempsey 12 2022-11-01           0.0155662909              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctSET_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01            0.012493493                0.0080
## 2          Morrison 06 2001-08-01            0.020472441                0.0080
## 3              Malt 11 2001-08-01            0.014492754                0.0110
## 4           Suggary 02 2001-08-01            0.017561983                0.0090
## 5      Waugh sanct. 07 2001-08-01            0.001544402                0.0150
## 6           Dempsey 12 2001-08-01            0.028237585                0.0140
## 7  Branche sud aval 03 2001-08-01            0.008329959                0.0080
## 8            Sewell 08 2001-08-01            0.031418919                0.0110
## 9         Pok amont 04 2001-08-01                     NA                0.0110
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792                0.0090
## 11 McConnell Six Rd 05 2001-08-01            0.061270125                0.0160
## 12          Pollard 10 2001-08-01            0.137298091                0.0150
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792                0.0070
## 14          Pollard 10 2001-08-28            0.137298091                0.0170
## 15    br. sud amont 01 2001-08-28            0.012493493                0.0060
## 16         Morrison 06 2001-08-28            0.020472441                0.0080
## 17             Malt 11 2001-08-28            0.014492754                0.0080
## 18          Suggary 02 2001-08-28            0.017561983                0.0080
## 19     Waugh sanct. 07 2001-08-28            0.001544402                0.0090
## 20          Dempsey 12 2001-08-28            0.028237585                0.0110
## 21 Branche sud aval 03 2001-08-28            0.008329959                0.0070
## 22           Sewell 08 2001-08-28            0.031418919                0.0170
## 23        Pok amont 04 2001-08-28                     NA                0.0060
## 24 McConnell Six Rd 05 2001-08-28            0.061270125                0.0130
## 25        Pok amont 04 2001-09-26                     NA                0.0130
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792                0.0140
## 27 McConnell Six Rd 05 2001-09-26            0.061270125                0.0130
## 28          Pollard 10 2001-09-26            0.137298091                0.0155
## 29    br. sud amont 01 2001-09-26            0.012493493                0.0130
## 30         Morrison 06 2001-09-26            0.020472441                0.0080
## 31             Malt 11 2001-09-26            0.014492754                0.0120
## 32          Suggary 02 2001-09-26            0.017561983                0.0090
## 33     Waugh sanct. 07 2001-09-26            0.001544402                0.0140
## 34          Dempsey 12 2001-09-26            0.028237585                0.0190
## 35 Branche sud aval 03 2001-09-26            0.008329959                0.0090
## 36           Sewell 08 2001-09-26            0.031418919                0.0120
## 37           Sewell 08 2001-10-31            0.031418919                0.0120
## 38        Pok amont 04 2001-10-31                     NA                0.0050
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792                0.0050
## 40         Morrison 06 2001-10-31            0.020472441                0.0060
## 41 McConnell Six Rd 05 2001-10-31            0.061270125                0.0110
## 42          Pollard 10 2001-10-31            0.137298091                0.0080
## 43    br. sud amont 01 2001-10-31            0.012493493                0.0050
## 44          Dempsey 12 2001-10-31            0.028237585                0.0090
## 45             Malt 11 2001-10-31            0.014492754                0.0070
## 46          Suggary 02 2001-10-31            0.017561983                0.0080
## 47     Waugh sanct. 07 2001-10-31            0.001544402                0.0120
## 48 Branche sud aval 03 2001-10-31            0.008329959                0.0050
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792                0.0050
## 50 Branche sud aval 03 2002-07-29            0.008329959                0.0070
## 51           Sewell 08 2002-07-29            0.031418919                0.0200
## 52        Pok amont 04 2002-07-29                     NA                0.0060
## 53    br. sud amont 01 2002-07-29            0.012493493                0.0060
## 54         Morrison 06 2002-07-29            0.020472441                0.0080
## 55 McConnell Six Rd 05 2002-07-29            0.061270125                0.0130
## 56          Pollard 10 2002-07-29            0.137298091                0.0230
## 57     Waugh sanct. 07 2002-07-29            0.001544402                0.0120
## 58          Dempsey 12 2002-07-29            0.028237585                0.0100
## 59             Malt 11 2002-07-29            0.014492754                0.0090
## 60          Suggary 02 2002-07-29            0.017561983                0.0070
## 61        Pok amont 04 2002-08-28                     NA                0.0100
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792                0.0090
## 63          Dempsey 12 2002-08-28            0.028237585                0.0130
## 64 Branche sud aval 03 2002-08-28            0.008329959                0.0080
## 65           Sewell 08 2002-08-28            0.031418919                0.0100
## 66          Pollard 10 2002-08-28            0.137298091                0.0160
## 67    br. sud amont 01 2002-08-28            0.012493493                0.0070
## 68         Morrison 06 2002-08-28            0.020472441                0.0090
## 69 McConnell Six Rd 05 2002-08-28            0.061270125                0.0140
## 70          Suggary 02 2002-08-28            0.017561983                0.0100
## 71     Waugh sanct. 07 2002-08-28            0.001544402                0.0130
## 72             Malt 11 2002-08-28            0.014492754                0.0110
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792                0.0070
## 74           Sewell 08 2002-10-02            0.031418919                0.0155
## 75        Pok amont 04 2002-10-02                     NA                0.0060
## 76     Waugh sanct. 07 2002-10-02            0.001544402                0.0090
## 77          Dempsey 12 2002-10-02            0.028237585                0.0120
## 78 Branche sud aval 03 2002-10-02            0.008329959                0.0080
## 79 McConnell Six Rd 05 2002-10-02            0.061270125                0.0110
## 80          Pollard 10 2002-10-02            0.137298091                0.0110
## 81    br. sud amont 01 2002-10-02            0.012493493                0.0050
## 82         Morrison 06 2002-10-02            0.020472441                0.0050
## 83             Malt 11 2002-10-02            0.014492754                0.0080
## 84          Suggary 02 2002-10-02            0.017561983                0.0070
## 85        Pok amont 04 2002-10-31                     NA                0.0060
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792                0.0050
## 87 Branche sud aval 03 2002-10-31            0.008329959                0.0050
## 88           Sewell 08 2002-10-31            0.031418919                0.0130
## 89          Suggary 02 2002-10-31            0.017561983                0.0050
## 90     Waugh sanct. 07 2002-10-31            0.001544402                0.0080
## 91          Dempsey 12 2002-10-31            0.028237585                0.0080
## 92         Morrison 06 2002-10-31            0.020472441                0.0050
## 93 McConnell Six Rd 05 2002-10-31            0.061270125                0.0090
## 94          Pollard 10 2002-10-31            0.137298091                0.0060
## 95    br. sud amont 01 2002-10-31            0.012493493                0.0065
## 96             Malt 11 2002-10-31            0.014492754                0.0050
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctSET_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28           0.0150963040                 0.018
## 98           Dempsey 12 2021-07-28           0.0194225722                 0.024
## 99  Branche sud aval 03 2021-07-28           0.0155662909                 0.022
## 100           Sewell 08 2021-07-28           0.0175619835                 0.028
## 101     Waugh sanct. 07 2021-07-28           0.0007722008                 0.017
## 102    br. sud amont 01 2021-07-28           0.0282375852                 0.016
## 103         Morrison 06 2021-07-28           0.0079167408                 0.019
## 104             Malt 11 2021-07-28           0.0304054054                 0.014
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000                 0.026
## 106          Pollard 10 2021-07-28           0.0240566038                 0.051
## 107        Pok amont 04 2021-07-28           0.0630590340                 0.022
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335                 0.014
## 109             Malt 11 2021-08-31           0.0240566038                 0.005
## 110          Suggary 02 2021-08-31           0.1343612335                 0.011
## 111     Waugh sanct. 07 2021-08-31           0.0150963040                 0.006
## 112          Dempsey 12 2021-08-31           0.0194225722                 0.014
## 113 Branche sud aval 03 2021-08-31           0.0155662909                 0.009
## 114           Sewell 08 2021-08-31           0.0175619835                 0.015
## 115          Pollard 10 2021-08-31           0.0007722008                 0.073
## 116    br. sud amont 01 2021-08-31           0.0282375852                 0.016
## 117         Morrison 06 2021-08-31           0.0079167408                 0.016
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054                 0.012
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000                 0.029
## 120        Pok amont 04 2021-08-31           0.0630590340                 0.008
## 121          Suggary 02 2021-10-05           0.0000000000                 0.007
## 122         Morrison 06 2021-10-05           0.0240566038                 0.010
## 123             Malt 11 2021-10-05           0.0630590340                 0.012
## 124           Sewell 08 2021-10-05           0.1343612335                 0.024
## 125     Waugh sanct. 07 2021-10-05           0.0150963040                 0.019
## 126          Dempsey 12 2021-10-05           0.0194225722                 0.018
## 127 Branche sud aval 03 2021-10-05           0.0155662909                 0.015
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835                 0.025
## 129          Pollard 10 2021-10-05           0.0007722008                 0.037
## 130    br. sud amont 01 2021-10-05           0.0282375852                 0.019
## 131        Pok amont 04 2021-10-05           0.0079167408                 0.008
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054                 0.011
## 133             Malt 11 2021-10-28           0.0304054054                 0.009
## 134          Suggary 02 2021-10-28           0.0000000000                 0.009
## 135    br. sud amont 01 2021-10-28           0.0240566038                 0.013
## 136         Morrison 06 2021-10-28           0.0194225722                 0.011
## 137 Branche sud aval 03 2021-10-28           0.0630590340                 0.022
## 138           Sewell 08 2021-10-28           0.1343612335                 0.020
## 139     Waugh sanct. 07 2021-10-28           0.0150963040                 0.018
## 140          Dempsey 12 2021-10-28           0.0282375852                 0.015
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909                 0.010
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835                 0.018
## 143          Pollard 10 2021-10-28           0.0007722008                 0.033
## 144        Pok amont 04 2021-10-28           0.0079167408                 0.013
## 145          Pollard 10 2022-07-28           0.0240566038                 0.034
## 146         Morrison 06 2022-07-28           0.0079167408                 0.014
## 147             Malt 11 2022-07-28           0.0304054054                 0.008
## 148          Suggary 02 2022-07-28           0.0000000000                 0.009
## 149    br. sud amont 01 2022-07-28           0.0150963040                 0.016
## 150          Dempsey 12 2022-07-28           0.0194225722                 0.017
## 151 Branche sud aval 03 2022-07-28           0.0630590340                 0.013
## 152           Sewell 08 2022-07-28           0.1343612335                 0.019
## 153     Waugh sanct. 07 2022-07-28           0.0007722008                 0.011
## 154        Pok amont 04 2022-07-28           0.0282375852                 0.009
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909                 0.009
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835                 0.019
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000                 0.024
## 158          Pollard 10 2022-09-01           0.0240566038                 0.075
## 159    br. sud amont 01 2022-09-01           0.0282375852                 0.015
## 160         Morrison 06 2022-09-01           0.0079167408                 0.021
## 161             Malt 11 2022-09-01           0.0304054054                 0.008
## 162          Suggary 02 2022-09-01           0.1343612335                 0.010
## 163     Waugh sanct. 07 2022-09-01           0.0150963040                 0.021
## 164          Dempsey 12 2022-09-01           0.0194225722                 0.021
## 165 Branche sud aval 03 2022-09-01           0.0630590340                 0.016
## 166           Sewell 08 2022-09-01           0.0175619835                 0.019
## 167        Pok amont 04 2022-09-01           0.0007722008                 0.010
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909                 0.012
## 169           Sewell 08 2022-10-03           0.0240566038                 0.016
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054                 0.019
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000                 0.022
## 172          Pollard 10 2022-10-03           0.0007722008                 0.049
## 173    br. sud amont 01 2022-10-03           0.0282375852                 0.016
## 174         Morrison 06 2022-10-03           0.0079167408                 0.014
## 175             Malt 11 2022-10-03           0.0630590340                 0.007
## 176          Suggary 02 2022-10-03           0.1343612335                 0.005
## 177     Waugh sanct. 07 2022-10-03           0.0150963040                 0.013
## 178          Dempsey 12 2022-10-03           0.0194225722                 0.013
## 179 Branche sud aval 03 2022-10-03           0.0155662909                 0.009
## 180        Pok amont 04 2022-10-03           0.0175619835                 0.013
## 181 Branche sud aval 03 2022-11-01           0.0000000000                 0.013
## 182           Sewell 08 2022-11-01           0.0240566038                 0.021
## 183        Pok amont 04 2022-11-01           0.0079167408                 0.011
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054                 0.017
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835                 0.020
## 186          Pollard 10 2022-11-01           0.0007722008                 0.041
## 187    br. sud amont 01 2022-11-01           0.0282375852                 0.020
## 188         Morrison 06 2022-11-01           0.0194225722                 0.018
## 189             Malt 11 2022-11-01           0.0630590340                 0.009
## 190          Suggary 02 2022-11-01           0.1343612335                 0.010
## 191     Waugh sanct. 07 2022-11-01           0.0150963040                 0.017
## 192          Dempsey 12 2022-11-01           0.0155662909                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_urbaine_vs_nitratre

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSET_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctSET_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01            0.012493493            0.0500
## 2          Morrison 06 2001-08-01            0.020472441            0.0940
## 3              Malt 11 2001-08-01            0.014492754            0.0500
## 4           Suggary 02 2001-08-01            0.017561983            0.0500
## 5      Waugh sanct. 07 2001-08-01            0.001544402            0.0500
## 6           Dempsey 12 2001-08-01            0.028237585            0.0500
## 7  Branche sud aval 03 2001-08-01            0.008329959            0.0500
## 8            Sewell 08 2001-08-01            0.031418919            0.1360
## 9         Pok amont 04 2001-08-01                     NA            0.0500
## 10 Trout Val-Doucet 09 2001-08-01            0.026886792            0.0500
## 11 McConnell Six Rd 05 2001-08-01            0.061270125            0.2510
## 12          Pollard 10 2001-08-01            0.137298091            0.2600
## 13 Trout Val-Doucet 09 2001-08-28            0.026886792            0.0500
## 14          Pollard 10 2001-08-28            0.137298091            0.3010
## 15    br. sud amont 01 2001-08-28            0.012493493            0.0500
## 16         Morrison 06 2001-08-28            0.020472441            0.0910
## 17             Malt 11 2001-08-28            0.014492754            0.0500
## 18          Suggary 02 2001-08-28            0.017561983            0.0500
## 19     Waugh sanct. 07 2001-08-28            0.001544402            0.0500
## 20          Dempsey 12 2001-08-28            0.028237585            0.0500
## 21 Branche sud aval 03 2001-08-28            0.008329959            0.0500
## 22           Sewell 08 2001-08-28            0.031418919            0.1330
## 23        Pok amont 04 2001-08-28                     NA            0.0500
## 24 McConnell Six Rd 05 2001-08-28            0.061270125            0.2810
## 25        Pok amont 04 2001-09-26                     NA            0.0500
## 26 Trout Val-Doucet 09 2001-09-26            0.026886792            0.0500
## 27 McConnell Six Rd 05 2001-09-26            0.061270125            0.2110
## 28          Pollard 10 2001-09-26            0.137298091            0.1845
## 29    br. sud amont 01 2001-09-26            0.012493493            0.0770
## 30         Morrison 06 2001-09-26            0.020472441            0.0500
## 31             Malt 11 2001-09-26            0.014492754            0.0500
## 32          Suggary 02 2001-09-26            0.017561983            0.0500
## 33     Waugh sanct. 07 2001-09-26            0.001544402            0.0500
## 34          Dempsey 12 2001-09-26            0.028237585            0.0500
## 35 Branche sud aval 03 2001-09-26            0.008329959            0.0500
## 36           Sewell 08 2001-09-26            0.031418919            0.0500
## 37           Sewell 08 2001-10-31            0.031418919            0.0500
## 38        Pok amont 04 2001-10-31                     NA            0.0500
## 39 Trout Val-Doucet 09 2001-10-31            0.026886792            0.0500
## 40         Morrison 06 2001-10-31            0.020472441            0.0500
## 41 McConnell Six Rd 05 2001-10-31            0.061270125            0.0500
## 42          Pollard 10 2001-10-31            0.137298091            0.2300
## 43    br. sud amont 01 2001-10-31            0.012493493            0.0500
## 44          Dempsey 12 2001-10-31            0.028237585            0.0500
## 45             Malt 11 2001-10-31            0.014492754            0.0500
## 46          Suggary 02 2001-10-31            0.017561983            0.0500
## 47     Waugh sanct. 07 2001-10-31            0.001544402            0.0500
## 48 Branche sud aval 03 2001-10-31            0.008329959            0.0500
## 49 Trout Val-Doucet 09 2002-07-29            0.026886792            0.0500
## 50 Branche sud aval 03 2002-07-29            0.008329959            0.0500
## 51           Sewell 08 2002-07-29            0.031418919            0.2200
## 52        Pok amont 04 2002-07-29                     NA            0.0700
## 53    br. sud amont 01 2002-07-29            0.012493493            0.0500
## 54         Morrison 06 2002-07-29            0.020472441            0.0700
## 55 McConnell Six Rd 05 2002-07-29            0.061270125            0.2800
## 56          Pollard 10 2002-07-29            0.137298091            0.3300
## 57     Waugh sanct. 07 2002-07-29            0.001544402            0.0500
## 58          Dempsey 12 2002-07-29            0.028237585            0.0500
## 59             Malt 11 2002-07-29            0.014492754            0.0500
## 60          Suggary 02 2002-07-29            0.017561983            0.1900
## 61        Pok amont 04 2002-08-28                     NA            0.0700
## 62 Trout Val-Doucet 09 2002-08-28            0.026886792            0.0500
## 63          Dempsey 12 2002-08-28            0.028237585            0.0500
## 64 Branche sud aval 03 2002-08-28            0.008329959            0.0500
## 65           Sewell 08 2002-08-28            0.031418919            0.0500
## 66          Pollard 10 2002-08-28            0.137298091            0.1800
## 67    br. sud amont 01 2002-08-28            0.012493493            0.0500
## 68         Morrison 06 2002-08-28            0.020472441            0.0700
## 69 McConnell Six Rd 05 2002-08-28            0.061270125            0.3000
## 70          Suggary 02 2002-08-28            0.017561983            0.1750
## 71     Waugh sanct. 07 2002-08-28            0.001544402            0.0500
## 72             Malt 11 2002-08-28            0.014492754            0.0500
## 73 Trout Val-Doucet 09 2002-10-02            0.026886792            0.0500
## 74           Sewell 08 2002-10-02            0.031418919            0.0500
## 75        Pok amont 04 2002-10-02                     NA            0.0500
## 76     Waugh sanct. 07 2002-10-02            0.001544402            0.0500
## 77          Dempsey 12 2002-10-02            0.028237585            0.0500
## 78 Branche sud aval 03 2002-10-02            0.008329959            0.0500
## 79 McConnell Six Rd 05 2002-10-02            0.061270125            0.1900
## 80          Pollard 10 2002-10-02            0.137298091            0.1300
## 81    br. sud amont 01 2002-10-02            0.012493493            0.0500
## 82         Morrison 06 2002-10-02            0.020472441            0.0500
## 83             Malt 11 2002-10-02            0.014492754            0.0500
## 84          Suggary 02 2002-10-02            0.017561983            0.1300
## 85        Pok amont 04 2002-10-31                     NA            0.0500
## 86 Trout Val-Doucet 09 2002-10-31            0.026886792            0.0500
## 87 Branche sud aval 03 2002-10-31            0.008329959            0.0500
## 88           Sewell 08 2002-10-31            0.031418919            0.2300
## 89          Suggary 02 2002-10-31            0.017561983            0.1500
## 90     Waugh sanct. 07 2002-10-31            0.001544402            0.0800
## 91          Dempsey 12 2002-10-31            0.028237585            0.0500
## 92         Morrison 06 2002-10-31            0.020472441            0.0700
## 93 McConnell Six Rd 05 2002-10-31            0.061270125            0.2200
## 94          Pollard 10 2002-10-31            0.137298091            0.1900
## 95    br. sud amont 01 2002-10-31            0.012493493            0.0500
## 96             Malt 11 2002-10-31            0.014492754            0.1300
subset(Period2, select=c(Station2, Date, pctSET_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctSET_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28           0.0150963040              0.11
## 98           Dempsey 12 2021-07-28           0.0194225722              0.08
## 99  Branche sud aval 03 2021-07-28           0.0155662909              0.05
## 100           Sewell 08 2021-07-28           0.0175619835              0.17
## 101     Waugh sanct. 07 2021-07-28           0.0007722008              0.06
## 102    br. sud amont 01 2021-07-28           0.0282375852              0.08
## 103         Morrison 06 2021-07-28           0.0079167408              0.05
## 104             Malt 11 2021-07-28           0.0304054054              0.06
## 105 McConnell Six Rd 05 2021-07-28           0.0000000000              0.21
## 106          Pollard 10 2021-07-28           0.0240566038              0.40
## 107        Pok amont 04 2021-07-28           0.0630590340              0.12
## 108 Trout Val-Doucet 09 2021-07-28           0.1343612335              0.18
## 109             Malt 11 2021-08-31           0.0240566038              0.06
## 110          Suggary 02 2021-08-31           0.1343612335              0.12
## 111     Waugh sanct. 07 2021-08-31           0.0150963040              0.05
## 112          Dempsey 12 2021-08-31           0.0194225722              0.08
## 113 Branche sud aval 03 2021-08-31           0.0155662909              0.06
## 114           Sewell 08 2021-08-31           0.0175619835              0.12
## 115          Pollard 10 2021-08-31           0.0007722008              0.32
## 116    br. sud amont 01 2021-08-31           0.0282375852              0.05
## 117         Morrison 06 2021-08-31           0.0079167408              0.05
## 118 Trout Val-Doucet 09 2021-08-31           0.0304054054              0.14
## 119 McConnell Six Rd 05 2021-08-31           0.0000000000              0.21
## 120        Pok amont 04 2021-08-31           0.0630590340              0.10
## 121          Suggary 02 2021-10-05           0.0000000000              0.17
## 122         Morrison 06 2021-10-05           0.0240566038              0.06
## 123             Malt 11 2021-10-05           0.0630590340              0.12
## 124           Sewell 08 2021-10-05           0.1343612335              0.13
## 125     Waugh sanct. 07 2021-10-05           0.0150963040              0.05
## 126          Dempsey 12 2021-10-05           0.0194225722              0.09
## 127 Branche sud aval 03 2021-10-05           0.0155662909              0.05
## 128 McConnell Six Rd 05 2021-10-05           0.0175619835              0.33
## 129          Pollard 10 2021-10-05           0.0007722008              0.38
## 130    br. sud amont 01 2021-10-05           0.0282375852              0.05
## 131        Pok amont 04 2021-10-05           0.0079167408              0.11
## 132 Trout Val-Doucet 09 2021-10-05           0.0304054054              0.22
## 133             Malt 11 2021-10-28           0.0304054054              0.07
## 134          Suggary 02 2021-10-28           0.0000000000              0.15
## 135    br. sud amont 01 2021-10-28           0.0240566038              0.05
## 136         Morrison 06 2021-10-28           0.0194225722              0.08
## 137 Branche sud aval 03 2021-10-28           0.0630590340              0.07
## 138           Sewell 08 2021-10-28           0.1343612335              0.14
## 139     Waugh sanct. 07 2021-10-28           0.0150963040              0.05
## 140          Dempsey 12 2021-10-28           0.0282375852              0.10
## 141 Trout Val-Doucet 09 2021-10-28           0.0155662909              0.27
## 142 McConnell Six Rd 05 2021-10-28           0.0175619835              0.36
## 143          Pollard 10 2021-10-28           0.0007722008              0.38
## 144        Pok amont 04 2021-10-28           0.0079167408              0.13
## 145          Pollard 10 2022-07-28           0.0240566038              0.40
## 146         Morrison 06 2022-07-28           0.0079167408              0.08
## 147             Malt 11 2022-07-28           0.0304054054              0.06
## 148          Suggary 02 2022-07-28           0.0000000000              0.11
## 149    br. sud amont 01 2022-07-28           0.0150963040              0.05
## 150          Dempsey 12 2022-07-28           0.0194225722              0.11
## 151 Branche sud aval 03 2022-07-28           0.0630590340              0.07
## 152           Sewell 08 2022-07-28           0.1343612335              0.17
## 153     Waugh sanct. 07 2022-07-28           0.0007722008              0.05
## 154        Pok amont 04 2022-07-28           0.0282375852              0.07
## 155 Trout Val-Doucet 09 2022-07-28           0.0155662909              0.15
## 156 McConnell Six Rd 05 2022-07-28           0.0175619835              0.36
## 157 McConnell Six Rd 05 2022-09-01           0.0000000000              0.26
## 158          Pollard 10 2022-09-01           0.0240566038              0.53
## 159    br. sud amont 01 2022-09-01           0.0282375852              0.05
## 160         Morrison 06 2022-09-01           0.0079167408              0.06
## 161             Malt 11 2022-09-01           0.0304054054              0.10
## 162          Suggary 02 2022-09-01           0.1343612335              0.13
## 163     Waugh sanct. 07 2022-09-01           0.0150963040              0.10
## 164          Dempsey 12 2022-09-01           0.0194225722              0.15
## 165 Branche sud aval 03 2022-09-01           0.0630590340              0.06
## 166           Sewell 08 2022-09-01           0.0175619835              0.17
## 167        Pok amont 04 2022-09-01           0.0007722008              0.06
## 168 Trout Val-Doucet 09 2022-09-01           0.0155662909              0.12
## 169           Sewell 08 2022-10-03           0.0240566038              0.08
## 170 Trout Val-Doucet 09 2022-10-03           0.0304054054              0.11
## 171 McConnell Six Rd 05 2022-10-03           0.0000000000              0.27
## 172          Pollard 10 2022-10-03           0.0007722008              0.50
## 173    br. sud amont 01 2022-10-03           0.0282375852              0.06
## 174         Morrison 06 2022-10-03           0.0079167408              0.05
## 175             Malt 11 2022-10-03           0.0630590340              0.06
## 176          Suggary 02 2022-10-03           0.1343612335              0.15
## 177     Waugh sanct. 07 2022-10-03           0.0150963040              0.09
## 178          Dempsey 12 2022-10-03           0.0194225722              0.09
## 179 Branche sud aval 03 2022-10-03           0.0155662909              0.05
## 180        Pok amont 04 2022-10-03           0.0175619835              0.05
## 181 Branche sud aval 03 2022-11-01           0.0000000000              0.05
## 182           Sewell 08 2022-11-01           0.0240566038              0.15
## 183        Pok amont 04 2022-11-01           0.0079167408              0.07
## 184 Trout Val-Doucet 09 2022-11-01           0.0304054054              0.14
## 185 McConnell Six Rd 05 2022-11-01           0.0175619835              0.25
## 186          Pollard 10 2022-11-01           0.0007722008              0.54
## 187    br. sud amont 01 2022-11-01           0.0282375852              0.07
## 188         Morrison 06 2022-11-01           0.0194225722              0.09
## 189             Malt 11 2022-11-01           0.0630590340              0.07
## 190          Suggary 02 2022-11-01           0.1343612335              0.16
## 191     Waugh sanct. 07 2022-11-01           0.0150963040              0.06
## 192          Dempsey 12 2022-11-01           0.0155662909              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctSET_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSET_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctSET_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctSET_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les Zones urbaines",
x=" Les Zones urbaines (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 8 rows containing missing values or values outside the scale range
## (`geom_point()`).

REC: Zone récréative

# Crée la variable pourcentage


#Period1$pctREC_supdrainee_1990 = Period1$REC_km2_supdrainee_1990 /
#Period1$sup_drainee_km2_sbv

Period2$pctREC_supdrainee_2020 = Period1$REC_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Zone_recreative_vs_température

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Temp_eau_YSI_degC))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctREC_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28           5.205622e-04              11.5
## 98           Dempsey 12 2021-07-28           0.000000e+00              16.1
## 99  Branche sud aval 03 2021-07-28           0.000000e+00              15.5
## 100           Sewell 08 2021-07-28           0.000000e+00              14.2
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00              12.1
## 102    br. sud amont 01 2021-07-28           0.000000e+00              14.0
## 103         Morrison 06 2021-07-28           8.895214e-05              15.7
## 104             Malt 11 2021-07-28           1.689189e-03              11.7
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00              16.9
## 106          Pollard 10 2021-07-28           0.000000e+00              14.6
## 107        Pok amont 04 2021-07-28           0.000000e+00              11.2
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00              11.9
## 109             Malt 11 2021-08-31           0.000000e+00              12.0
## 110          Suggary 02 2021-08-31           0.000000e+00              11.0
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04              12.8
## 112          Dempsey 12 2021-08-31           0.000000e+00              15.0
## 113 Branche sud aval 03 2021-08-31           0.000000e+00              15.0
## 114           Sewell 08 2021-08-31           0.000000e+00              14.6
## 115          Pollard 10 2021-08-31           0.000000e+00              15.7
## 116    br. sud amont 01 2021-08-31           0.000000e+00              13.7
## 117         Morrison 06 2021-08-31           8.895214e-05              14.9
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03              11.7
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00              16.4
## 120        Pok amont 04 2021-08-31           0.000000e+00              10.8
## 121          Suggary 02 2021-10-05           0.000000e+00               6.3
## 122         Morrison 06 2021-10-05           0.000000e+00               7.0
## 123             Malt 11 2021-10-05           0.000000e+00               8.5
## 124           Sewell 08 2021-10-05           0.000000e+00               8.0
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04               9.0
## 126          Dempsey 12 2021-10-05           0.000000e+00               8.7
## 127 Branche sud aval 03 2021-10-05           0.000000e+00               7.9
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00               7.9
## 129          Pollard 10 2021-10-05           0.000000e+00               8.7
## 130    br. sud amont 01 2021-10-05           0.000000e+00               7.3
## 131        Pok amont 04 2021-10-05           8.895214e-05               7.4
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03               6.4
## 133             Malt 11 2021-10-28           1.689189e-03               7.1
## 134          Suggary 02 2021-10-28           0.000000e+00               6.7
## 135    br. sud amont 01 2021-10-28           0.000000e+00               7.0
## 136         Morrison 06 2021-10-28           0.000000e+00               6.4
## 137 Branche sud aval 03 2021-10-28           0.000000e+00               6.7
## 138           Sewell 08 2021-10-28           0.000000e+00               7.4
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04               7.3
## 140          Dempsey 12 2021-10-28           0.000000e+00               7.3
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00               6.7
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00               7.2
## 143          Pollard 10 2021-10-28           0.000000e+00               7.5
## 144        Pok amont 04 2021-10-28           8.895214e-05               7.2
## 145          Pollard 10 2022-07-28           0.000000e+00              14.2
## 146         Morrison 06 2022-07-28           8.895214e-05              13.3
## 147             Malt 11 2022-07-28           1.689189e-03              12.9
## 148          Suggary 02 2022-07-28           0.000000e+00              11.4
## 149    br. sud amont 01 2022-07-28           5.205622e-04              14.9
## 150          Dempsey 12 2022-07-28           0.000000e+00              15.3
## 151 Branche sud aval 03 2022-07-28           0.000000e+00              15.5
## 152           Sewell 08 2022-07-28           0.000000e+00              15.1
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00              13.1
## 154        Pok amont 04 2022-07-28           0.000000e+00              11.9
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00              11.1
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00              13.8
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00              16.2
## 158          Pollard 10 2022-09-01           0.000000e+00              15.1
## 159    br. sud amont 01 2022-09-01           0.000000e+00              14.8
## 160         Morrison 06 2022-09-01           8.895214e-05              15.0
## 161             Malt 11 2022-09-01           1.689189e-03              12.3
## 162          Suggary 02 2022-09-01           0.000000e+00              11.9
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04              14.0
## 164          Dempsey 12 2022-09-01           0.000000e+00              15.0
## 165 Branche sud aval 03 2022-09-01           0.000000e+00              16.2
## 166           Sewell 08 2022-09-01           0.000000e+00              15.9
## 167        Pok amont 04 2022-09-01           0.000000e+00              12.1
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00              12.9
## 169           Sewell 08 2022-10-03           0.000000e+00               6.2
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03               4.7
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00               6.5
## 172          Pollard 10 2022-10-03           0.000000e+00               6.5
## 173    br. sud amont 01 2022-10-03           0.000000e+00               5.6
## 174         Morrison 06 2022-10-03           8.895214e-05               4.7
## 175             Malt 11 2022-10-03           0.000000e+00               7.9
## 176          Suggary 02 2022-10-03           0.000000e+00               4.5
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04               6.3
## 178          Dempsey 12 2022-10-03           0.000000e+00               6.0
## 179 Branche sud aval 03 2022-10-03           0.000000e+00               6.2
## 180        Pok amont 04 2022-10-03           0.000000e+00               6.5
## 181 Branche sud aval 03 2022-11-01           0.000000e+00               6.5
## 182           Sewell 08 2022-11-01           0.000000e+00               7.1
## 183        Pok amont 04 2022-11-01           8.895214e-05               6.3
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03               6.1
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00               7.4
## 186          Pollard 10 2022-11-01           0.000000e+00               8.0
## 187    br. sud amont 01 2022-11-01           0.000000e+00               7.0
## 188         Morrison 06 2022-11-01           0.000000e+00               5.9
## 189             Malt 11 2022-11-01           0.000000e+00               7.6
## 190          Suggary 02 2022-11-01           0.000000e+00               6.5
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04               7.3
## 192          Dempsey 12 2022-11-01           0.000000e+00               7.8
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Temp_eau_YSI_degC,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Temp_eau_YSI_degC),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_oxygène

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctREC_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28           5.205622e-04                  9.68
## 98           Dempsey 12 2021-07-28           0.000000e+00                  9.38
## 99  Branche sud aval 03 2021-07-28           0.000000e+00                  8.51
## 100           Sewell 08 2021-07-28           0.000000e+00                  9.29
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00                  9.84
## 102    br. sud amont 01 2021-07-28           0.000000e+00                  8.43
## 103         Morrison 06 2021-07-28           8.895214e-05                  9.04
## 104             Malt 11 2021-07-28           1.689189e-03                  9.73
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00                  8.70
## 106          Pollard 10 2021-07-28           0.000000e+00                  9.81
## 107        Pok amont 04 2021-07-28           0.000000e+00                  9.22
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00                 10.29
## 109             Malt 11 2021-08-31           0.000000e+00                 11.07
## 110          Suggary 02 2021-08-31           0.000000e+00                 10.16
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04                 10.03
## 112          Dempsey 12 2021-08-31           0.000000e+00                  9.51
## 113 Branche sud aval 03 2021-08-31           0.000000e+00                  8.83
## 114           Sewell 08 2021-08-31           0.000000e+00                  8.18
## 115          Pollard 10 2021-08-31           0.000000e+00                  8.15
## 116    br. sud amont 01 2021-08-31           0.000000e+00                  7.94
## 117         Morrison 06 2021-08-31           8.895214e-05                  9.14
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03                 10.42
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00                  8.54
## 120        Pok amont 04 2021-08-31           0.000000e+00                  8.70
## 121          Suggary 02 2021-10-05           0.000000e+00                 12.14
## 122         Morrison 06 2021-10-05           0.000000e+00                 11.19
## 123             Malt 11 2021-10-05           0.000000e+00                 10.27
## 124           Sewell 08 2021-10-05           0.000000e+00                 11.17
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04                 10.42
## 126          Dempsey 12 2021-10-05           0.000000e+00                 10.86
## 127 Branche sud aval 03 2021-10-05           0.000000e+00                 10.40
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00                 10.87
## 129          Pollard 10 2021-10-05           0.000000e+00                 11.29
## 130    br. sud amont 01 2021-10-05           0.000000e+00                 10.74
## 131        Pok amont 04 2021-10-05           8.895214e-05                 10.75
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03                 11.40
## 133             Malt 11 2021-10-28           1.689189e-03                 10.50
## 134          Suggary 02 2021-10-28           0.000000e+00                 11.68
## 135    br. sud amont 01 2021-10-28           0.000000e+00                 10.93
## 136         Morrison 06 2021-10-28           0.000000e+00                 11.66
## 137 Branche sud aval 03 2021-10-28           0.000000e+00                 11.22
## 138           Sewell 08 2021-10-28           0.000000e+00                 11.44
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04                 10.96
## 140          Dempsey 12 2021-10-28           0.000000e+00                  8.77
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00                 11.26
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00                 10.41
## 143          Pollard 10 2021-10-28           0.000000e+00                 10.54
## 144        Pok amont 04 2021-10-28           8.895214e-05                 10.80
## 145          Pollard 10 2022-07-28           0.000000e+00                 10.75
## 146         Morrison 06 2022-07-28           8.895214e-05                 10.00
## 147             Malt 11 2022-07-28           1.689189e-03                 11.60
## 148          Suggary 02 2022-07-28           0.000000e+00                 11.40
## 149    br. sud amont 01 2022-07-28           5.205622e-04                  8.64
## 150          Dempsey 12 2022-07-28           0.000000e+00                  9.34
## 151 Branche sud aval 03 2022-07-28           0.000000e+00                  9.55
## 152           Sewell 08 2022-07-28           0.000000e+00                  9.50
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00                  9.90
## 154        Pok amont 04 2022-07-28           0.000000e+00                  9.52
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00                 11.52
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00                 10.40
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00                  9.19
## 158          Pollard 10 2022-09-01           0.000000e+00                 10.25
## 159    br. sud amont 01 2022-09-01           0.000000e+00                  8.28
## 160         Morrison 06 2022-09-01           8.895214e-05                  9.52
## 161             Malt 11 2022-09-01           1.689189e-03                 11.08
## 162          Suggary 02 2022-09-01           0.000000e+00                 10.24
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04                  9.22
## 164          Dempsey 12 2022-09-01           0.000000e+00                  9.44
## 165 Branche sud aval 03 2022-09-01           0.000000e+00                  8.95
## 166           Sewell 08 2022-09-01           0.000000e+00                  9.02
## 167        Pok amont 04 2022-09-01           0.000000e+00                  8.82
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00                 10.06
## 169           Sewell 08 2022-10-03           0.000000e+00                 10.03
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03                 12.38
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00                 12.20
## 172          Pollard 10 2022-10-03           0.000000e+00                 13.04
## 173    br. sud amont 01 2022-10-03           0.000000e+00                 11.04
## 174         Morrison 06 2022-10-03           8.895214e-05                 12.92
## 175             Malt 11 2022-10-03           0.000000e+00                 12.67
## 176          Suggary 02 2022-10-03           0.000000e+00                 13.13
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04                 12.07
## 178          Dempsey 12 2022-10-03           0.000000e+00                 11.87
## 179 Branche sud aval 03 2022-10-03           0.000000e+00                 12.21
## 180        Pok amont 04 2022-10-03           0.000000e+00                 10.04
## 181 Branche sud aval 03 2022-11-01           0.000000e+00                 12.07
## 182           Sewell 08 2022-11-01           0.000000e+00                 12.13
## 183        Pok amont 04 2022-11-01           8.895214e-05                 10.55
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03                 12.12
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00                 11.17
## 186          Pollard 10 2022-11-01           0.000000e+00                 10.85
## 187    br. sud amont 01 2022-11-01           0.000000e+00                 11.78
## 188         Morrison 06 2022-11-01           0.000000e+00                 12.66
## 189             Malt 11 2022-11-01           0.000000e+00                 11.63
## 190          Suggary 02 2022-11-01           0.000000e+00                 12.35
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04                  9.42
## 192          Dempsey 12 2022-11-01           0.000000e+00                 11.07
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_conductivité

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctREC_supdrainee_2020
## 97           Suggary 02 2021-07-28           5.205622e-04
## 98           Dempsey 12 2021-07-28           0.000000e+00
## 99  Branche sud aval 03 2021-07-28           0.000000e+00
## 100           Sewell 08 2021-07-28           0.000000e+00
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00
## 102    br. sud amont 01 2021-07-28           0.000000e+00
## 103         Morrison 06 2021-07-28           8.895214e-05
## 104             Malt 11 2021-07-28           1.689189e-03
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00
## 106          Pollard 10 2021-07-28           0.000000e+00
## 107        Pok amont 04 2021-07-28           0.000000e+00
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00
## 109             Malt 11 2021-08-31           0.000000e+00
## 110          Suggary 02 2021-08-31           0.000000e+00
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04
## 112          Dempsey 12 2021-08-31           0.000000e+00
## 113 Branche sud aval 03 2021-08-31           0.000000e+00
## 114           Sewell 08 2021-08-31           0.000000e+00
## 115          Pollard 10 2021-08-31           0.000000e+00
## 116    br. sud amont 01 2021-08-31           0.000000e+00
## 117         Morrison 06 2021-08-31           8.895214e-05
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00
## 120        Pok amont 04 2021-08-31           0.000000e+00
## 121          Suggary 02 2021-10-05           0.000000e+00
## 122         Morrison 06 2021-10-05           0.000000e+00
## 123             Malt 11 2021-10-05           0.000000e+00
## 124           Sewell 08 2021-10-05           0.000000e+00
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04
## 126          Dempsey 12 2021-10-05           0.000000e+00
## 127 Branche sud aval 03 2021-10-05           0.000000e+00
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00
## 129          Pollard 10 2021-10-05           0.000000e+00
## 130    br. sud amont 01 2021-10-05           0.000000e+00
## 131        Pok amont 04 2021-10-05           8.895214e-05
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03
## 133             Malt 11 2021-10-28           1.689189e-03
## 134          Suggary 02 2021-10-28           0.000000e+00
## 135    br. sud amont 01 2021-10-28           0.000000e+00
## 136         Morrison 06 2021-10-28           0.000000e+00
## 137 Branche sud aval 03 2021-10-28           0.000000e+00
## 138           Sewell 08 2021-10-28           0.000000e+00
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04
## 140          Dempsey 12 2021-10-28           0.000000e+00
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00
## 143          Pollard 10 2021-10-28           0.000000e+00
## 144        Pok amont 04 2021-10-28           8.895214e-05
## 145          Pollard 10 2022-07-28           0.000000e+00
## 146         Morrison 06 2022-07-28           8.895214e-05
## 147             Malt 11 2022-07-28           1.689189e-03
## 148          Suggary 02 2022-07-28           0.000000e+00
## 149    br. sud amont 01 2022-07-28           5.205622e-04
## 150          Dempsey 12 2022-07-28           0.000000e+00
## 151 Branche sud aval 03 2022-07-28           0.000000e+00
## 152           Sewell 08 2022-07-28           0.000000e+00
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00
## 154        Pok amont 04 2022-07-28           0.000000e+00
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00
## 158          Pollard 10 2022-09-01           0.000000e+00
## 159    br. sud amont 01 2022-09-01           0.000000e+00
## 160         Morrison 06 2022-09-01           8.895214e-05
## 161             Malt 11 2022-09-01           1.689189e-03
## 162          Suggary 02 2022-09-01           0.000000e+00
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04
## 164          Dempsey 12 2022-09-01           0.000000e+00
## 165 Branche sud aval 03 2022-09-01           0.000000e+00
## 166           Sewell 08 2022-09-01           0.000000e+00
## 167        Pok amont 04 2022-09-01           0.000000e+00
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00
## 169           Sewell 08 2022-10-03           0.000000e+00
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00
## 172          Pollard 10 2022-10-03           0.000000e+00
## 173    br. sud amont 01 2022-10-03           0.000000e+00
## 174         Morrison 06 2022-10-03           8.895214e-05
## 175             Malt 11 2022-10-03           0.000000e+00
## 176          Suggary 02 2022-10-03           0.000000e+00
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04
## 178          Dempsey 12 2022-10-03           0.000000e+00
## 179 Branche sud aval 03 2022-10-03           0.000000e+00
## 180        Pok amont 04 2022-10-03           0.000000e+00
## 181 Branche sud aval 03 2022-11-01           0.000000e+00
## 182           Sewell 08 2022-11-01           0.000000e+00
## 183        Pok amont 04 2022-11-01           8.895214e-05
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00
## 186          Pollard 10 2022-11-01           0.000000e+00
## 187    br. sud amont 01 2022-11-01           0.000000e+00
## 188         Morrison 06 2022-11-01           0.000000e+00
## 189             Malt 11 2022-11-01           0.000000e+00
## 190          Suggary 02 2022-11-01           0.000000e+00
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04
## 192          Dempsey 12 2022-11-01           0.000000e+00
##     Conductivity_microS_cm
## 97                     109
## 98                     139
## 99                     119
## 100                    131
## 101                    128
## 102                    177
## 103                    122
## 104                     90
## 105                    115
## 106                    166
## 107                     60
## 108                    109
## 109                     96
## 110                    116
## 111                    138
## 112                    152
## 113                    125
## 114                    161
## 115                    196
## 116                    199
## 117                    129
## 118                    118
## 119                    114
## 120                     70
## 121                     98
## 122                    114
## 123                     74
## 124                     72
## 125                     70
## 126                     96
## 127                     86
## 128                     90
## 129                    128
## 130                     91
## 131                     52
## 132                     95
## 133                     80
## 134                    100
## 135                    114
## 136                    118
## 137                     97
## 138                     81
## 139                     88
## 140                    113
## 141                    102
## 142                     97
## 143                    139
## 144                     54
## 145                    163
## 146                    119
## 147                     88
## 148                    107
## 149                    161
## 150                    134
## 151                    113
## 152                    113
## 153                    126
## 154                     59
## 155                    108
## 156                    113
## 157                    107
## 158                    178
## 159                    180
## 160                    117
## 161                     88
## 162                    104
## 163                    114
## 164                    137
## 165                    117
## 166                    116
## 167                     63
## 168                    108
## 169                    114
## 170                    113
## 171                     94
## 172                    179
## 173                    182
## 174                    120
## 175                     95
## 176                    107
## 177                    114
## 178                    143
## 179                    118
## 180                     64
## 181                    112
## 182                     92
## 183                     69
## 184                    112
## 185                     92
## 186                    177
## 187                    144
## 188                    125
## 189                     91
## 190                    108
## 191                     92
## 192                    136
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_pH

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,pH_units))
##                Station2       Date pctREC_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28           5.205622e-04      7.5
## 98           Dempsey 12 2021-07-28           0.000000e+00      7.6
## 99  Branche sud aval 03 2021-07-28           0.000000e+00      7.6
## 100           Sewell 08 2021-07-28           0.000000e+00      7.7
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00      7.6
## 102    br. sud amont 01 2021-07-28           0.000000e+00      7.6
## 103         Morrison 06 2021-07-28           8.895214e-05      7.4
## 104             Malt 11 2021-07-28           1.689189e-03      7.2
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00      7.6
## 106          Pollard 10 2021-07-28           0.000000e+00      7.6
## 107        Pok amont 04 2021-07-28           0.000000e+00      6.8
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00      7.6
## 109             Malt 11 2021-08-31           0.000000e+00      7.3
## 110          Suggary 02 2021-08-31           0.000000e+00      7.6
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04      7.8
## 112          Dempsey 12 2021-08-31           0.000000e+00      7.6
## 113 Branche sud aval 03 2021-08-31           0.000000e+00      7.8
## 114           Sewell 08 2021-08-31           0.000000e+00      7.8
## 115          Pollard 10 2021-08-31           0.000000e+00      7.8
## 116    br. sud amont 01 2021-08-31           0.000000e+00      7.5
## 117         Morrison 06 2021-08-31           8.895214e-05      7.8
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03      7.8
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00      7.7
## 120        Pok amont 04 2021-08-31           0.000000e+00      7.1
## 121          Suggary 02 2021-10-05           0.000000e+00      7.6
## 122         Morrison 06 2021-10-05           0.000000e+00      7.1
## 123             Malt 11 2021-10-05           0.000000e+00      7.1
## 124           Sewell 08 2021-10-05           0.000000e+00      7.5
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04      7.2
## 126          Dempsey 12 2021-10-05           0.000000e+00      7.3
## 127 Branche sud aval 03 2021-10-05           0.000000e+00      7.6
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00      7.4
## 129          Pollard 10 2021-10-05           0.000000e+00      7.5
## 130    br. sud amont 01 2021-10-05           0.000000e+00      7.2
## 131        Pok amont 04 2021-10-05           8.895214e-05      6.8
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03      7.2
## 133             Malt 11 2021-10-28           1.689189e-03      7.0
## 134          Suggary 02 2021-10-28           0.000000e+00      7.6
## 135    br. sud amont 01 2021-10-28           0.000000e+00      7.5
## 136         Morrison 06 2021-10-28           0.000000e+00      7.6
## 137 Branche sud aval 03 2021-10-28           0.000000e+00      7.6
## 138           Sewell 08 2021-10-28           0.000000e+00      7.5
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04      7.5
## 140          Dempsey 12 2021-10-28           0.000000e+00      7.6
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00      7.5
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00      7.5
## 143          Pollard 10 2021-10-28           0.000000e+00      7.7
## 144        Pok amont 04 2021-10-28           8.895214e-05      7.5
## 145          Pollard 10 2022-07-28           0.000000e+00      7.7
## 146         Morrison 06 2022-07-28           8.895214e-05      7.8
## 147             Malt 11 2022-07-28           1.689189e-03      7.6
## 148          Suggary 02 2022-07-28           0.000000e+00      7.7
## 149    br. sud amont 01 2022-07-28           5.205622e-04      7.9
## 150          Dempsey 12 2022-07-28           0.000000e+00      7.8
## 151 Branche sud aval 03 2022-07-28           0.000000e+00      7.8
## 152           Sewell 08 2022-07-28           0.000000e+00      7.7
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00      7.8
## 154        Pok amont 04 2022-07-28           0.000000e+00      7.5
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00      7.8
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00      7.7
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00      7.8
## 158          Pollard 10 2022-09-01           0.000000e+00      7.8
## 159    br. sud amont 01 2022-09-01           0.000000e+00      8.0
## 160         Morrison 06 2022-09-01           8.895214e-05      8.0
## 161             Malt 11 2022-09-01           1.689189e-03      7.7
## 162          Suggary 02 2022-09-01           0.000000e+00      7.8
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04      7.9
## 164          Dempsey 12 2022-09-01           0.000000e+00      7.9
## 165 Branche sud aval 03 2022-09-01           0.000000e+00      7.9
## 166           Sewell 08 2022-09-01           0.000000e+00      7.9
## 167        Pok amont 04 2022-09-01           0.000000e+00      7.2
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00      7.8
## 169           Sewell 08 2022-10-03           0.000000e+00      7.7
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03      7.8
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00      7.5
## 172          Pollard 10 2022-10-03           0.000000e+00      7.8
## 173    br. sud amont 01 2022-10-03           0.000000e+00      7.9
## 174         Morrison 06 2022-10-03           8.895214e-05      7.9
## 175             Malt 11 2022-10-03           0.000000e+00      7.5
## 176          Suggary 02 2022-10-03           0.000000e+00      7.7
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04      7.6
## 178          Dempsey 12 2022-10-03           0.000000e+00      7.7
## 179 Branche sud aval 03 2022-10-03           0.000000e+00      7.8
## 180        Pok amont 04 2022-10-03           0.000000e+00      7.1
## 181 Branche sud aval 03 2022-11-01           0.000000e+00      7.6
## 182           Sewell 08 2022-11-01           0.000000e+00      7.5
## 183        Pok amont 04 2022-11-01           8.895214e-05      7.0
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03      7.5
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00      7.3
## 186          Pollard 10 2022-11-01           0.000000e+00      7.6
## 187    br. sud amont 01 2022-11-01           0.000000e+00      7.5
## 188         Morrison 06 2022-11-01           0.000000e+00      7.8
## 189             Malt 11 2022-11-01           0.000000e+00      7.0
## 190          Suggary 02 2022-11-01           0.000000e+00      7.5
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04      7.2
## 192          Dempsey 12 2022-11-01           0.000000e+00      7.4
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_Turbidity

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctREC_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28           5.205622e-04           1.2
## 98           Dempsey 12 2021-07-28           0.000000e+00           1.6
## 99  Branche sud aval 03 2021-07-28           0.000000e+00           1.8
## 100           Sewell 08 2021-07-28           0.000000e+00           3.5
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00           1.1
## 102    br. sud amont 01 2021-07-28           0.000000e+00           2.3
## 103         Morrison 06 2021-07-28           8.895214e-05           1.4
## 104             Malt 11 2021-07-28           1.689189e-03           0.7
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00           1.9
## 106          Pollard 10 2021-07-28           0.000000e+00           1.2
## 107        Pok amont 04 2021-07-28           0.000000e+00           0.9
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00           1.7
## 109             Malt 11 2021-08-31           0.000000e+00           0.5
## 110          Suggary 02 2021-08-31           0.000000e+00           0.7
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04           1.1
## 112          Dempsey 12 2021-08-31           0.000000e+00           1.7
## 113 Branche sud aval 03 2021-08-31           0.000000e+00           1.7
## 114           Sewell 08 2021-08-31           0.000000e+00           3.0
## 115          Pollard 10 2021-08-31           0.000000e+00           1.7
## 116    br. sud amont 01 2021-08-31           0.000000e+00           5.6
## 117         Morrison 06 2021-08-31           8.895214e-05           2.6
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03           2.0
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00           3.2
## 120        Pok amont 04 2021-08-31           0.000000e+00           1.5
## 121          Suggary 02 2021-10-05           0.000000e+00           0.7
## 122         Morrison 06 2021-10-05           0.000000e+00           1.4
## 123             Malt 11 2021-10-05           0.000000e+00           0.9
## 124           Sewell 08 2021-10-05           0.000000e+00           4.2
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04           1.2
## 126          Dempsey 12 2021-10-05           0.000000e+00           1.8
## 127 Branche sud aval 03 2021-10-05           0.000000e+00           1.7
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00           1.8
## 129          Pollard 10 2021-10-05           0.000000e+00           1.8
## 130    br. sud amont 01 2021-10-05           0.000000e+00           3.7
## 131        Pok amont 04 2021-10-05           8.895214e-05           1.0
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03           1.4
## 133             Malt 11 2021-10-28           1.689189e-03           0.5
## 134          Suggary 02 2021-10-28           0.000000e+00           0.2
## 135    br. sud amont 01 2021-10-28           0.000000e+00           1.9
## 136         Morrison 06 2021-10-28           0.000000e+00           0.6
## 137 Branche sud aval 03 2021-10-28           0.000000e+00           1.3
## 138           Sewell 08 2021-10-28           0.000000e+00           2.8
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04           1.0
## 140          Dempsey 12 2021-10-28           0.000000e+00           1.3
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00           0.7
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00           1.4
## 143          Pollard 10 2021-10-28           0.000000e+00           0.8
## 144        Pok amont 04 2021-10-28           8.895214e-05           0.6
## 145          Pollard 10 2022-07-28           0.000000e+00           0.4
## 146         Morrison 06 2022-07-28           8.895214e-05           0.7
## 147             Malt 11 2022-07-28           1.689189e-03           0.4
## 148          Suggary 02 2022-07-28           0.000000e+00           0.5
## 149    br. sud amont 01 2022-07-28           5.205622e-04           2.7
## 150          Dempsey 12 2022-07-28           0.000000e+00           1.2
## 151 Branche sud aval 03 2022-07-28           0.000000e+00           2.1
## 152           Sewell 08 2022-07-28           0.000000e+00           1.8
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00           1.0
## 154        Pok amont 04 2022-07-28           0.000000e+00           0.7
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00           0.7
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00           0.8
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00           1.9
## 158          Pollard 10 2022-09-01           0.000000e+00           1.3
## 159    br. sud amont 01 2022-09-01           0.000000e+00           3.0
## 160         Morrison 06 2022-09-01           8.895214e-05           2.4
## 161             Malt 11 2022-09-01           1.689189e-03           0.5
## 162          Suggary 02 2022-09-01           0.000000e+00           0.7
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04           1.8
## 164          Dempsey 12 2022-09-01           0.000000e+00           2.2
## 165 Branche sud aval 03 2022-09-01           0.000000e+00           1.9
## 166           Sewell 08 2022-09-01           0.000000e+00           2.6
## 167        Pok amont 04 2022-09-01           0.000000e+00           1.5
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00           1.4
## 169           Sewell 08 2022-10-03           0.000000e+00           3.6
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03           1.2
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00           1.9
## 172          Pollard 10 2022-10-03           0.000000e+00           0.4
## 173    br. sud amont 01 2022-10-03           0.000000e+00           2.8
## 174         Morrison 06 2022-10-03           8.895214e-05           1.0
## 175             Malt 11 2022-10-03           0.000000e+00           0.4
## 176          Suggary 02 2022-10-03           0.000000e+00           0.3
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04           1.3
## 178          Dempsey 12 2022-10-03           0.000000e+00           1.3
## 179 Branche sud aval 03 2022-10-03           0.000000e+00           1.6
## 180        Pok amont 04 2022-10-03           0.000000e+00           1.5
## 181 Branche sud aval 03 2022-11-01           0.000000e+00           2.6
## 182           Sewell 08 2022-11-01           0.000000e+00           5.4
## 183        Pok amont 04 2022-11-01           8.895214e-05           0.8
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03           2.6
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00           2.0
## 186          Pollard 10 2022-11-01           0.000000e+00           0.7
## 187    br. sud amont 01 2022-11-01           0.000000e+00           4.8
## 188         Morrison 06 2022-11-01           0.000000e+00           2.8
## 189             Malt 11 2022-11-01           0.000000e+00           1.5
## 190          Suggary 02 2022-11-01           0.000000e+00           0.7
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04           1.6
## 192          Dempsey 12 2022-11-01           0.000000e+00           4.2
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_Colour

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Colour_TCU))
##                Station2       Date pctREC_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28           5.205622e-04          8
## 98           Dempsey 12 2021-07-28           0.000000e+00         22
## 99  Branche sud aval 03 2021-07-28           0.000000e+00         19
## 100           Sewell 08 2021-07-28           0.000000e+00         34
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00         27
## 102    br. sud amont 01 2021-07-28           0.000000e+00         15
## 103         Morrison 06 2021-07-28           8.895214e-05         14
## 104             Malt 11 2021-07-28           1.689189e-03          7
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00         29
## 106          Pollard 10 2021-07-28           0.000000e+00          8
## 107        Pok amont 04 2021-07-28           0.000000e+00         11
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00          9
## 109             Malt 11 2021-08-31           0.000000e+00          5
## 110          Suggary 02 2021-08-31           0.000000e+00          5
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04         14
## 112          Dempsey 12 2021-08-31           0.000000e+00         14
## 113 Branche sud aval 03 2021-08-31           0.000000e+00         20
## 114           Sewell 08 2021-08-31           0.000000e+00         24
## 115          Pollard 10 2021-08-31           0.000000e+00          8
## 116    br. sud amont 01 2021-08-31           0.000000e+00         12
## 117         Morrison 06 2021-08-31           8.895214e-05         18
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03          8
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00         37
## 120        Pok amont 04 2021-08-31           0.000000e+00         10
## 121          Suggary 02 2021-10-05           0.000000e+00          8
## 122         Morrison 06 2021-10-05           0.000000e+00         22
## 123             Malt 11 2021-10-05           0.000000e+00         66
## 124           Sewell 08 2021-10-05           0.000000e+00         47
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04        190
## 126          Dempsey 12 2021-10-05           0.000000e+00         55
## 127 Branche sud aval 03 2021-10-05           0.000000e+00         38
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00        141
## 129          Pollard 10 2021-10-05           0.000000e+00         19
## 130    br. sud amont 01 2021-10-05           0.000000e+00         44
## 131        Pok amont 04 2021-10-05           8.895214e-05         21
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03         33
## 133             Malt 11 2021-10-28           1.689189e-03         47
## 134          Suggary 02 2021-10-28           0.000000e+00          5
## 135    br. sud amont 01 2021-10-28           0.000000e+00         32
## 136         Morrison 06 2021-10-28           0.000000e+00         13
## 137 Branche sud aval 03 2021-10-28           0.000000e+00         22
## 138           Sewell 08 2021-10-28           0.000000e+00         43
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04        130
## 140          Dempsey 12 2021-10-28           0.000000e+00         33
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00         15
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00        107
## 143          Pollard 10 2021-10-28           0.000000e+00         12
## 144        Pok amont 04 2021-10-28           8.895214e-05         13
## 145          Pollard 10 2022-07-28           0.000000e+00          5
## 146         Morrison 06 2022-07-28           8.895214e-05          7
## 147             Malt 11 2022-07-28           1.689189e-03          6
## 148          Suggary 02 2022-07-28           0.000000e+00          5
## 149    br. sud amont 01 2022-07-28           5.205622e-04         26
## 150          Dempsey 12 2022-07-28           0.000000e+00         16
## 151 Branche sud aval 03 2022-07-28           0.000000e+00         18
## 152           Sewell 08 2022-07-28           0.000000e+00         33
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00         27
## 154        Pok amont 04 2022-07-28           0.000000e+00          7
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00          5
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00         15
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00         48
## 158          Pollard 10 2022-09-01           0.000000e+00         23
## 159    br. sud amont 01 2022-09-01           0.000000e+00         23
## 160         Morrison 06 2022-09-01           8.895214e-05         15
## 161             Malt 11 2022-09-01           1.689189e-03         10
## 162          Suggary 02 2022-09-01           0.000000e+00          8
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04         61
## 164          Dempsey 12 2022-09-01           0.000000e+00         21
## 165 Branche sud aval 03 2022-09-01           0.000000e+00         21
## 166           Sewell 08 2022-09-01           0.000000e+00         43
## 167        Pok amont 04 2022-09-01           0.000000e+00         14
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00         41
## 169           Sewell 08 2022-10-03           0.000000e+00         71
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03          8
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00        130
## 172          Pollard 10 2022-10-03           0.000000e+00         10
## 173    br. sud amont 01 2022-10-03           0.000000e+00         20
## 174         Morrison 06 2022-10-03           8.895214e-05         10
## 175             Malt 11 2022-10-03           0.000000e+00          5
## 176          Suggary 02 2022-10-03           0.000000e+00          5
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04         53
## 178          Dempsey 12 2022-10-03           0.000000e+00         16
## 179 Branche sud aval 03 2022-10-03           0.000000e+00         17
## 180        Pok amont 04 2022-10-03           0.000000e+00         12
## 181 Branche sud aval 03 2022-11-01           0.000000e+00         25
## 182           Sewell 08 2022-11-01           0.000000e+00         60
## 183        Pok amont 04 2022-11-01           8.895214e-05         11
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03         21
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00        148
## 186          Pollard 10 2022-11-01           0.000000e+00         11
## 187    br. sud amont 01 2022-11-01           0.000000e+00         42
## 188         Morrison 06 2022-11-01           0.000000e+00         13
## 189             Malt 11 2022-11-01           0.000000e+00         22
## 190          Suggary 02 2022-11-01           0.000000e+00          9
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04        143
## 192          Dempsey 12 2022-11-01           0.000000e+00         28
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_COT

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctREC_supdrainee_2020
## 97           Suggary 02 2021-07-28           5.205622e-04
## 98           Dempsey 12 2021-07-28           0.000000e+00
## 99  Branche sud aval 03 2021-07-28           0.000000e+00
## 100           Sewell 08 2021-07-28           0.000000e+00
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00
## 102    br. sud amont 01 2021-07-28           0.000000e+00
## 103         Morrison 06 2021-07-28           8.895214e-05
## 104             Malt 11 2021-07-28           1.689189e-03
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00
## 106          Pollard 10 2021-07-28           0.000000e+00
## 107        Pok amont 04 2021-07-28           0.000000e+00
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00
## 109             Malt 11 2021-08-31           0.000000e+00
## 110          Suggary 02 2021-08-31           0.000000e+00
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04
## 112          Dempsey 12 2021-08-31           0.000000e+00
## 113 Branche sud aval 03 2021-08-31           0.000000e+00
## 114           Sewell 08 2021-08-31           0.000000e+00
## 115          Pollard 10 2021-08-31           0.000000e+00
## 116    br. sud amont 01 2021-08-31           0.000000e+00
## 117         Morrison 06 2021-08-31           8.895214e-05
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00
## 120        Pok amont 04 2021-08-31           0.000000e+00
## 121          Suggary 02 2021-10-05           0.000000e+00
## 122         Morrison 06 2021-10-05           0.000000e+00
## 123             Malt 11 2021-10-05           0.000000e+00
## 124           Sewell 08 2021-10-05           0.000000e+00
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04
## 126          Dempsey 12 2021-10-05           0.000000e+00
## 127 Branche sud aval 03 2021-10-05           0.000000e+00
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00
## 129          Pollard 10 2021-10-05           0.000000e+00
## 130    br. sud amont 01 2021-10-05           0.000000e+00
## 131        Pok amont 04 2021-10-05           8.895214e-05
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03
## 133             Malt 11 2021-10-28           1.689189e-03
## 134          Suggary 02 2021-10-28           0.000000e+00
## 135    br. sud amont 01 2021-10-28           0.000000e+00
## 136         Morrison 06 2021-10-28           0.000000e+00
## 137 Branche sud aval 03 2021-10-28           0.000000e+00
## 138           Sewell 08 2021-10-28           0.000000e+00
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04
## 140          Dempsey 12 2021-10-28           0.000000e+00
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00
## 143          Pollard 10 2021-10-28           0.000000e+00
## 144        Pok amont 04 2021-10-28           8.895214e-05
## 145          Pollard 10 2022-07-28           0.000000e+00
## 146         Morrison 06 2022-07-28           8.895214e-05
## 147             Malt 11 2022-07-28           1.689189e-03
## 148          Suggary 02 2022-07-28           0.000000e+00
## 149    br. sud amont 01 2022-07-28           5.205622e-04
## 150          Dempsey 12 2022-07-28           0.000000e+00
## 151 Branche sud aval 03 2022-07-28           0.000000e+00
## 152           Sewell 08 2022-07-28           0.000000e+00
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00
## 154        Pok amont 04 2022-07-28           0.000000e+00
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00
## 158          Pollard 10 2022-09-01           0.000000e+00
## 159    br. sud amont 01 2022-09-01           0.000000e+00
## 160         Morrison 06 2022-09-01           8.895214e-05
## 161             Malt 11 2022-09-01           1.689189e-03
## 162          Suggary 02 2022-09-01           0.000000e+00
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04
## 164          Dempsey 12 2022-09-01           0.000000e+00
## 165 Branche sud aval 03 2022-09-01           0.000000e+00
## 166           Sewell 08 2022-09-01           0.000000e+00
## 167        Pok amont 04 2022-09-01           0.000000e+00
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00
## 169           Sewell 08 2022-10-03           0.000000e+00
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00
## 172          Pollard 10 2022-10-03           0.000000e+00
## 173    br. sud amont 01 2022-10-03           0.000000e+00
## 174         Morrison 06 2022-10-03           8.895214e-05
## 175             Malt 11 2022-10-03           0.000000e+00
## 176          Suggary 02 2022-10-03           0.000000e+00
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04
## 178          Dempsey 12 2022-10-03           0.000000e+00
## 179 Branche sud aval 03 2022-10-03           0.000000e+00
## 180        Pok amont 04 2022-10-03           0.000000e+00
## 181 Branche sud aval 03 2022-11-01           0.000000e+00
## 182           Sewell 08 2022-11-01           0.000000e+00
## 183        Pok amont 04 2022-11-01           8.895214e-05
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00
## 186          Pollard 10 2022-11-01           0.000000e+00
## 187    br. sud amont 01 2022-11-01           0.000000e+00
## 188         Morrison 06 2022-11-01           0.000000e+00
## 189             Malt 11 2022-11-01           0.000000e+00
## 190          Suggary 02 2022-11-01           0.000000e+00
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04
## 192          Dempsey 12 2022-11-01           0.000000e+00
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le COT et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_coliforme

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctREC_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28           5.205622e-04              20.0
## 98           Dempsey 12 2021-07-28           0.000000e+00              52.0
## 99  Branche sud aval 03 2021-07-28           0.000000e+00              74.0
## 100           Sewell 08 2021-07-28           0.000000e+00              98.0
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00              52.0
## 102    br. sud amont 01 2021-07-28           0.000000e+00              75.0
## 103         Morrison 06 2021-07-28           8.895214e-05              30.0
## 104             Malt 11 2021-07-28           1.689189e-03              10.0
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00              75.0
## 106          Pollard 10 2021-07-28           0.000000e+00              98.0
## 107        Pok amont 04 2021-07-28           0.000000e+00              10.0
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00              20.0
## 109             Malt 11 2021-08-31           0.000000e+00              39.3
## 110          Suggary 02 2021-08-31           0.000000e+00             235.9
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04              68.3
## 112          Dempsey 12 2021-08-31           0.000000e+00              49.6
## 113 Branche sud aval 03 2021-08-31           0.000000e+00              54.5
## 114           Sewell 08 2021-08-31           0.000000e+00             148.3
## 115          Pollard 10 2021-08-31           0.000000e+00             117.8
## 116    br. sud amont 01 2021-08-31           0.000000e+00              72.7
## 117         Morrison 06 2021-08-31           8.895214e-05              25.6
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03              67.7
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00              70.3
## 120        Pok amont 04 2021-08-31           0.000000e+00              15.6
## 121          Suggary 02 2021-10-05           0.000000e+00              41.7
## 122         Morrison 06 2021-10-05           0.000000e+00              24.6
## 123             Malt 11 2021-10-05           0.000000e+00              47.1
## 124           Sewell 08 2021-10-05           0.000000e+00             135.4
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04              29.5
## 126          Dempsey 12 2021-10-05           0.000000e+00              54.8
## 127 Branche sud aval 03 2021-10-05           0.000000e+00              37.3
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00              95.9
## 129          Pollard 10 2021-10-05           0.000000e+00              62.7
## 130    br. sud amont 01 2021-10-05           0.000000e+00              35.5
## 131        Pok amont 04 2021-10-05           8.895214e-05              10.8
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03              27.5
## 133             Malt 11 2021-10-28           1.689189e-03              16.0
## 134          Suggary 02 2021-10-28           0.000000e+00               7.4
## 135    br. sud amont 01 2021-10-28           0.000000e+00              19.9
## 136         Morrison 06 2021-10-28           0.000000e+00              12.1
## 137 Branche sud aval 03 2021-10-28           0.000000e+00              39.9
## 138           Sewell 08 2021-10-28           0.000000e+00              48.1
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04              38.4
## 140          Dempsey 12 2021-10-28           0.000000e+00              52.0
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00              24.3
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00              29.5
## 143          Pollard 10 2021-10-28           0.000000e+00              34.5
## 144        Pok amont 04 2021-10-28           8.895214e-05              14.6
## 145          Pollard 10 2022-07-28           0.000000e+00              57.6
## 146         Morrison 06 2022-07-28           8.895214e-05             133.4
## 147             Malt 11 2022-07-28           1.689189e-03              70.3
## 148          Suggary 02 2022-07-28           0.000000e+00              27.5
## 149    br. sud amont 01 2022-07-28           5.205622e-04              32.7
## 150          Dempsey 12 2022-07-28           0.000000e+00              41.7
## 151 Branche sud aval 03 2022-07-28           0.000000e+00              59.8
## 152           Sewell 08 2022-07-28           0.000000e+00              90.6
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00              93.3
## 154        Pok amont 04 2022-07-28           0.000000e+00              77.1
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00              22.8
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00             488.4
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00              82.0
## 158          Pollard 10 2022-09-01           0.000000e+00            1046.2
## 159    br. sud amont 01 2022-09-01           0.000000e+00             114.5
## 160         Morrison 06 2022-09-01           8.895214e-05             686.7
## 161             Malt 11 2022-09-01           1.689189e-03              69.1
## 162          Suggary 02 2022-09-01           0.000000e+00              40.2
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04              88.0
## 164          Dempsey 12 2022-09-01           0.000000e+00             248.1
## 165 Branche sud aval 03 2022-09-01           0.000000e+00              70.3
## 166           Sewell 08 2022-09-01           0.000000e+00             172.2
## 167        Pok amont 04 2022-09-01           0.000000e+00               5.2
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00             121.1
## 169           Sewell 08 2022-10-03           0.000000e+00              48.8
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03              44.1
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00              59.1
## 172          Pollard 10 2022-10-03           0.000000e+00              24.1
## 173    br. sud amont 01 2022-10-03           0.000000e+00              57.6
## 174         Morrison 06 2022-10-03           8.895214e-05              47.4
## 175             Malt 11 2022-10-03           0.000000e+00               5.2
## 176          Suggary 02 2022-10-03           0.000000e+00               9.7
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04              65.7
## 178          Dempsey 12 2022-10-03           0.000000e+00              48.0
## 179 Branche sud aval 03 2022-10-03           0.000000e+00              13.4
## 180        Pok amont 04 2022-10-03           0.000000e+00               8.4
## 181 Branche sud aval 03 2022-11-01           0.000000e+00              24.6
## 182           Sewell 08 2022-11-01           0.000000e+00             115.3
## 183        Pok amont 04 2022-11-01           8.895214e-05               5.2
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03               3.1
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00              72.3
## 186          Pollard 10 2022-11-01           0.000000e+00              20.3
## 187    br. sud amont 01 2022-11-01           0.000000e+00              37.3
## 188         Morrison 06 2022-11-01           0.000000e+00              39.9
## 189             Malt 11 2022-11-01           0.000000e+00              45.0
## 190          Suggary 02 2022-11-01           0.000000e+00               8.5
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04             249.5
## 192          Dempsey 12 2022-11-01           0.000000e+00              53.8
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_Phosphore

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctREC_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28           5.205622e-04                 0.018
## 98           Dempsey 12 2021-07-28           0.000000e+00                 0.024
## 99  Branche sud aval 03 2021-07-28           0.000000e+00                 0.022
## 100           Sewell 08 2021-07-28           0.000000e+00                 0.028
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00                 0.017
## 102    br. sud amont 01 2021-07-28           0.000000e+00                 0.016
## 103         Morrison 06 2021-07-28           8.895214e-05                 0.019
## 104             Malt 11 2021-07-28           1.689189e-03                 0.014
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00                 0.026
## 106          Pollard 10 2021-07-28           0.000000e+00                 0.051
## 107        Pok amont 04 2021-07-28           0.000000e+00                 0.022
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00                 0.014
## 109             Malt 11 2021-08-31           0.000000e+00                 0.005
## 110          Suggary 02 2021-08-31           0.000000e+00                 0.011
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04                 0.006
## 112          Dempsey 12 2021-08-31           0.000000e+00                 0.014
## 113 Branche sud aval 03 2021-08-31           0.000000e+00                 0.009
## 114           Sewell 08 2021-08-31           0.000000e+00                 0.015
## 115          Pollard 10 2021-08-31           0.000000e+00                 0.073
## 116    br. sud amont 01 2021-08-31           0.000000e+00                 0.016
## 117         Morrison 06 2021-08-31           8.895214e-05                 0.016
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03                 0.012
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00                 0.029
## 120        Pok amont 04 2021-08-31           0.000000e+00                 0.008
## 121          Suggary 02 2021-10-05           0.000000e+00                 0.007
## 122         Morrison 06 2021-10-05           0.000000e+00                 0.010
## 123             Malt 11 2021-10-05           0.000000e+00                 0.012
## 124           Sewell 08 2021-10-05           0.000000e+00                 0.024
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04                 0.019
## 126          Dempsey 12 2021-10-05           0.000000e+00                 0.018
## 127 Branche sud aval 03 2021-10-05           0.000000e+00                 0.015
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00                 0.025
## 129          Pollard 10 2021-10-05           0.000000e+00                 0.037
## 130    br. sud amont 01 2021-10-05           0.000000e+00                 0.019
## 131        Pok amont 04 2021-10-05           8.895214e-05                 0.008
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03                 0.011
## 133             Malt 11 2021-10-28           1.689189e-03                 0.009
## 134          Suggary 02 2021-10-28           0.000000e+00                 0.009
## 135    br. sud amont 01 2021-10-28           0.000000e+00                 0.013
## 136         Morrison 06 2021-10-28           0.000000e+00                 0.011
## 137 Branche sud aval 03 2021-10-28           0.000000e+00                 0.022
## 138           Sewell 08 2021-10-28           0.000000e+00                 0.020
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04                 0.018
## 140          Dempsey 12 2021-10-28           0.000000e+00                 0.015
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00                 0.010
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00                 0.018
## 143          Pollard 10 2021-10-28           0.000000e+00                 0.033
## 144        Pok amont 04 2021-10-28           8.895214e-05                 0.013
## 145          Pollard 10 2022-07-28           0.000000e+00                 0.034
## 146         Morrison 06 2022-07-28           8.895214e-05                 0.014
## 147             Malt 11 2022-07-28           1.689189e-03                 0.008
## 148          Suggary 02 2022-07-28           0.000000e+00                 0.009
## 149    br. sud amont 01 2022-07-28           5.205622e-04                 0.016
## 150          Dempsey 12 2022-07-28           0.000000e+00                 0.017
## 151 Branche sud aval 03 2022-07-28           0.000000e+00                 0.013
## 152           Sewell 08 2022-07-28           0.000000e+00                 0.019
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00                 0.011
## 154        Pok amont 04 2022-07-28           0.000000e+00                 0.009
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00                 0.009
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00                 0.019
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00                 0.024
## 158          Pollard 10 2022-09-01           0.000000e+00                 0.075
## 159    br. sud amont 01 2022-09-01           0.000000e+00                 0.015
## 160         Morrison 06 2022-09-01           8.895214e-05                 0.021
## 161             Malt 11 2022-09-01           1.689189e-03                 0.008
## 162          Suggary 02 2022-09-01           0.000000e+00                 0.010
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04                 0.021
## 164          Dempsey 12 2022-09-01           0.000000e+00                 0.021
## 165 Branche sud aval 03 2022-09-01           0.000000e+00                 0.016
## 166           Sewell 08 2022-09-01           0.000000e+00                 0.019
## 167        Pok amont 04 2022-09-01           0.000000e+00                 0.010
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00                 0.012
## 169           Sewell 08 2022-10-03           0.000000e+00                 0.016
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03                 0.019
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00                 0.022
## 172          Pollard 10 2022-10-03           0.000000e+00                 0.049
## 173    br. sud amont 01 2022-10-03           0.000000e+00                 0.016
## 174         Morrison 06 2022-10-03           8.895214e-05                 0.014
## 175             Malt 11 2022-10-03           0.000000e+00                 0.007
## 176          Suggary 02 2022-10-03           0.000000e+00                 0.005
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04                 0.013
## 178          Dempsey 12 2022-10-03           0.000000e+00                 0.013
## 179 Branche sud aval 03 2022-10-03           0.000000e+00                 0.009
## 180        Pok amont 04 2022-10-03           0.000000e+00                 0.013
## 181 Branche sud aval 03 2022-11-01           0.000000e+00                 0.013
## 182           Sewell 08 2022-11-01           0.000000e+00                 0.021
## 183        Pok amont 04 2022-11-01           8.895214e-05                 0.011
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03                 0.017
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00                 0.020
## 186          Pollard 10 2022-11-01           0.000000e+00                 0.041
## 187    br. sud amont 01 2022-11-01           0.000000e+00                 0.020
## 188         Morrison 06 2022-11-01           0.000000e+00                 0.018
## 189             Malt 11 2022-11-01           0.000000e+00                 0.009
## 190          Suggary 02 2022-11-01           0.000000e+00                 0.010
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04                 0.017
## 192          Dempsey 12 2022-11-01           0.000000e+00                 0.021
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Zone_recreative_vs_nitrate

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctREC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
subset(Period2, select=c(Station2, Date, pctREC_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctREC_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28           5.205622e-04              0.11
## 98           Dempsey 12 2021-07-28           0.000000e+00              0.08
## 99  Branche sud aval 03 2021-07-28           0.000000e+00              0.05
## 100           Sewell 08 2021-07-28           0.000000e+00              0.17
## 101     Waugh sanct. 07 2021-07-28           0.000000e+00              0.06
## 102    br. sud amont 01 2021-07-28           0.000000e+00              0.08
## 103         Morrison 06 2021-07-28           8.895214e-05              0.05
## 104             Malt 11 2021-07-28           1.689189e-03              0.06
## 105 McConnell Six Rd 05 2021-07-28           0.000000e+00              0.21
## 106          Pollard 10 2021-07-28           0.000000e+00              0.40
## 107        Pok amont 04 2021-07-28           0.000000e+00              0.12
## 108 Trout Val-Doucet 09 2021-07-28           0.000000e+00              0.18
## 109             Malt 11 2021-08-31           0.000000e+00              0.06
## 110          Suggary 02 2021-08-31           0.000000e+00              0.12
## 111     Waugh sanct. 07 2021-08-31           5.205622e-04              0.05
## 112          Dempsey 12 2021-08-31           0.000000e+00              0.08
## 113 Branche sud aval 03 2021-08-31           0.000000e+00              0.06
## 114           Sewell 08 2021-08-31           0.000000e+00              0.12
## 115          Pollard 10 2021-08-31           0.000000e+00              0.32
## 116    br. sud amont 01 2021-08-31           0.000000e+00              0.05
## 117         Morrison 06 2021-08-31           8.895214e-05              0.05
## 118 Trout Val-Doucet 09 2021-08-31           1.689189e-03              0.14
## 119 McConnell Six Rd 05 2021-08-31           0.000000e+00              0.21
## 120        Pok amont 04 2021-08-31           0.000000e+00              0.10
## 121          Suggary 02 2021-10-05           0.000000e+00              0.17
## 122         Morrison 06 2021-10-05           0.000000e+00              0.06
## 123             Malt 11 2021-10-05           0.000000e+00              0.12
## 124           Sewell 08 2021-10-05           0.000000e+00              0.13
## 125     Waugh sanct. 07 2021-10-05           5.205622e-04              0.05
## 126          Dempsey 12 2021-10-05           0.000000e+00              0.09
## 127 Branche sud aval 03 2021-10-05           0.000000e+00              0.05
## 128 McConnell Six Rd 05 2021-10-05           0.000000e+00              0.33
## 129          Pollard 10 2021-10-05           0.000000e+00              0.38
## 130    br. sud amont 01 2021-10-05           0.000000e+00              0.05
## 131        Pok amont 04 2021-10-05           8.895214e-05              0.11
## 132 Trout Val-Doucet 09 2021-10-05           1.689189e-03              0.22
## 133             Malt 11 2021-10-28           1.689189e-03              0.07
## 134          Suggary 02 2021-10-28           0.000000e+00              0.15
## 135    br. sud amont 01 2021-10-28           0.000000e+00              0.05
## 136         Morrison 06 2021-10-28           0.000000e+00              0.08
## 137 Branche sud aval 03 2021-10-28           0.000000e+00              0.07
## 138           Sewell 08 2021-10-28           0.000000e+00              0.14
## 139     Waugh sanct. 07 2021-10-28           5.205622e-04              0.05
## 140          Dempsey 12 2021-10-28           0.000000e+00              0.10
## 141 Trout Val-Doucet 09 2021-10-28           0.000000e+00              0.27
## 142 McConnell Six Rd 05 2021-10-28           0.000000e+00              0.36
## 143          Pollard 10 2021-10-28           0.000000e+00              0.38
## 144        Pok amont 04 2021-10-28           8.895214e-05              0.13
## 145          Pollard 10 2022-07-28           0.000000e+00              0.40
## 146         Morrison 06 2022-07-28           8.895214e-05              0.08
## 147             Malt 11 2022-07-28           1.689189e-03              0.06
## 148          Suggary 02 2022-07-28           0.000000e+00              0.11
## 149    br. sud amont 01 2022-07-28           5.205622e-04              0.05
## 150          Dempsey 12 2022-07-28           0.000000e+00              0.11
## 151 Branche sud aval 03 2022-07-28           0.000000e+00              0.07
## 152           Sewell 08 2022-07-28           0.000000e+00              0.17
## 153     Waugh sanct. 07 2022-07-28           0.000000e+00              0.05
## 154        Pok amont 04 2022-07-28           0.000000e+00              0.07
## 155 Trout Val-Doucet 09 2022-07-28           0.000000e+00              0.15
## 156 McConnell Six Rd 05 2022-07-28           0.000000e+00              0.36
## 157 McConnell Six Rd 05 2022-09-01           0.000000e+00              0.26
## 158          Pollard 10 2022-09-01           0.000000e+00              0.53
## 159    br. sud amont 01 2022-09-01           0.000000e+00              0.05
## 160         Morrison 06 2022-09-01           8.895214e-05              0.06
## 161             Malt 11 2022-09-01           1.689189e-03              0.10
## 162          Suggary 02 2022-09-01           0.000000e+00              0.13
## 163     Waugh sanct. 07 2022-09-01           5.205622e-04              0.10
## 164          Dempsey 12 2022-09-01           0.000000e+00              0.15
## 165 Branche sud aval 03 2022-09-01           0.000000e+00              0.06
## 166           Sewell 08 2022-09-01           0.000000e+00              0.17
## 167        Pok amont 04 2022-09-01           0.000000e+00              0.06
## 168 Trout Val-Doucet 09 2022-09-01           0.000000e+00              0.12
## 169           Sewell 08 2022-10-03           0.000000e+00              0.08
## 170 Trout Val-Doucet 09 2022-10-03           1.689189e-03              0.11
## 171 McConnell Six Rd 05 2022-10-03           0.000000e+00              0.27
## 172          Pollard 10 2022-10-03           0.000000e+00              0.50
## 173    br. sud amont 01 2022-10-03           0.000000e+00              0.06
## 174         Morrison 06 2022-10-03           8.895214e-05              0.05
## 175             Malt 11 2022-10-03           0.000000e+00              0.06
## 176          Suggary 02 2022-10-03           0.000000e+00              0.15
## 177     Waugh sanct. 07 2022-10-03           5.205622e-04              0.09
## 178          Dempsey 12 2022-10-03           0.000000e+00              0.09
## 179 Branche sud aval 03 2022-10-03           0.000000e+00              0.05
## 180        Pok amont 04 2022-10-03           0.000000e+00              0.05
## 181 Branche sud aval 03 2022-11-01           0.000000e+00              0.05
## 182           Sewell 08 2022-11-01           0.000000e+00              0.15
## 183        Pok amont 04 2022-11-01           8.895214e-05              0.07
## 184 Trout Val-Doucet 09 2022-11-01           1.689189e-03              0.14
## 185 McConnell Six Rd 05 2022-11-01           0.000000e+00              0.25
## 186          Pollard 10 2022-11-01           0.000000e+00              0.54
## 187    br. sud amont 01 2022-11-01           0.000000e+00              0.07
## 188         Morrison 06 2022-11-01           0.000000e+00              0.09
## 189             Malt 11 2022-11-01           0.000000e+00              0.07
## 190          Suggary 02 2022-11-01           0.000000e+00              0.16
## 191     Waugh sanct. 07 2022-11-01           5.205622e-04              0.06
## 192          Dempsey 12 2022-11-01           0.000000e+00              0.11
ggplot() +
#geom_point(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
# color="P1", shape="P1")) +
#geom_smooth(data=Period1, aes(x=pctREC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
# method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctREC_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctREC_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les Zones récréatives",
x=" Les Zones récréatives (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

FO: Zone forêts

# Crée la variable pourcentage


Period1$pctFO_supdrainee_1990 = Period1$FO_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctFO_supdrainee_2020 = Period1$FO_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Zone_forets_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctFO_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01             0.8875586              11.5
## 2          Morrison 06 2001-08-01             0.9139108              10.2
## 3              Malt 11 2001-08-01             0.9001610              25.2
## 4           Suggary 02 2001-08-01             0.8677686              14.4
## 5      Waugh sanct. 07 2001-08-01             0.8745174              10.8
## 6           Dempsey 12 2001-08-01             0.8855891              20.4
## 7  Branche sud aval 03 2001-08-01             0.8623910              13.5
## 8            Sewell 08 2001-08-01             0.8037162              12.8
## 9         Pok amont 04 2001-08-01             0.7211478              11.4
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491              14.5
## 11 McConnell Six Rd 05 2001-08-01             0.6337209               9.0
## 12          Pollard 10 2001-08-01             0.6431718              15.1
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491               9.3
## 14          Pollard 10 2001-08-28             0.6431718              12.0
## 15    br. sud amont 01 2001-08-28             0.8875586              10.0
## 16         Morrison 06 2001-08-28             0.9139108               NaN
## 17             Malt 11 2001-08-28             0.9001610               8.8
## 18          Suggary 02 2001-08-28             0.8677686              13.0
## 19     Waugh sanct. 07 2001-08-28             0.8745174              10.6
## 20          Dempsey 12 2001-08-28             0.8855891              13.5
## 21 Branche sud aval 03 2001-08-28             0.8623910              11.5
## 22           Sewell 08 2001-08-28             0.8037162              13.5
## 23        Pok amont 04 2001-08-28             0.7211478               8.4
## 24 McConnell Six Rd 05 2001-08-28             0.6337209              10.9
## 25        Pok amont 04 2001-09-26             0.7211478               9.8
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491              10.7
## 27 McConnell Six Rd 05 2001-09-26             0.6337209              11.8
## 28          Pollard 10 2001-09-26             0.6431718              12.7
## 29    br. sud amont 01 2001-09-26             0.8875586              11.5
## 30         Morrison 06 2001-09-26             0.9139108              11.2
## 31             Malt 11 2001-09-26             0.9001610               9.3
## 32          Suggary 02 2001-09-26             0.8677686              12.9
## 33     Waugh sanct. 07 2001-09-26             0.8745174              10.4
## 34          Dempsey 12 2001-09-26             0.8855891              13.4
## 35 Branche sud aval 03 2001-09-26             0.8623910              12.0
## 36           Sewell 08 2001-09-26             0.8037162              12.9
## 37           Sewell 08 2001-10-31             0.8037162               1.4
## 38        Pok amont 04 2001-10-31             0.7211478               4.8
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491               3.0
## 40         Morrison 06 2001-10-31             0.9139108               1.8
## 41 McConnell Six Rd 05 2001-10-31             0.6337209               2.1
## 42          Pollard 10 2001-10-31             0.6431718               3.3
## 43    br. sud amont 01 2001-10-31             0.8875586               2.7
## 44          Dempsey 12 2001-10-31             0.8855891               3.9
## 45             Malt 11 2001-10-31             0.9001610               4.8
## 46          Suggary 02 2001-10-31             0.8677686               2.1
## 47     Waugh sanct. 07 2001-10-31             0.8745174               2.7
## 48 Branche sud aval 03 2001-10-31             0.8623910               2.3
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491              17.5
## 50 Branche sud aval 03 2002-07-29             0.8623910              15.7
## 51           Sewell 08 2002-07-29             0.8037162              16.8
## 52        Pok amont 04 2002-07-29             0.7211478              13.3
## 53    br. sud amont 01 2002-07-29             0.8875586              14.7
## 54         Morrison 06 2002-07-29             0.9139108              17.3
## 55 McConnell Six Rd 05 2002-07-29             0.6337209              17.4
## 56          Pollard 10 2002-07-29             0.6431718              17.0
## 57     Waugh sanct. 07 2002-07-29             0.8745174              16.4
## 58          Dempsey 12 2002-07-29             0.8855891              15.6
## 59             Malt 11 2002-07-29             0.9001610              14.9
## 60          Suggary 02 2002-07-29             0.8677686              17.9
## 61        Pok amont 04 2002-08-28             0.7211478               8.0
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491              10.2
## 63          Dempsey 12 2002-08-28             0.8855891              13.2
## 64 Branche sud aval 03 2002-08-28             0.8623910              11.3
## 65           Sewell 08 2002-08-28             0.8037162              13.1
## 66          Pollard 10 2002-08-28             0.6431718              11.1
## 67    br. sud amont 01 2002-08-28             0.8875586              11.1
## 68         Morrison 06 2002-08-28             0.9139108               9.9
## 69 McConnell Six Rd 05 2002-08-28             0.6337209              12.9
## 70          Suggary 02 2002-08-28             0.8677686              10.6
## 71     Waugh sanct. 07 2002-08-28             0.8745174              10.1
## 72             Malt 11 2002-08-28             0.9001610               7.9
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491              10.7
## 74           Sewell 08 2002-10-02             0.8037162              12.7
## 75        Pok amont 04 2002-10-02             0.7211478               7.8
## 76     Waugh sanct. 07 2002-10-02             0.8745174              10.7
## 77          Dempsey 12 2002-10-02             0.8855891              11.1
## 78 Branche sud aval 03 2002-10-02             0.8623910              10.9
## 79 McConnell Six Rd 05 2002-10-02             0.6337209              12.9
## 80          Pollard 10 2002-10-02             0.6431718              10.8
## 81    br. sud amont 01 2002-10-02             0.8875586              11.0
## 82         Morrison 06 2002-10-02             0.9139108              10.5
## 83             Malt 11 2002-10-02             0.9001610               7.8
## 84          Suggary 02 2002-10-02             0.8677686              10.3
## 85        Pok amont 04 2002-10-31             0.7211478               4.6
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491               2.7
## 87 Branche sud aval 03 2002-10-31             0.8623910               NaN
## 88           Sewell 08 2002-10-31             0.8037162               1.6
## 89          Suggary 02 2002-10-31             0.8677686               2.7
## 90     Waugh sanct. 07 2002-10-31             0.8745174               2.7
## 91          Dempsey 12 2002-10-31             0.8855891               3.3
## 92         Morrison 06 2002-10-31             0.9139108               1.7
## 93 McConnell Six Rd 05 2002-10-31             0.6337209               2.3
## 94          Pollard 10 2002-10-31             0.6431718               2.7
## 95    br. sud amont 01 2002-10-31             0.8875586               2.5
## 96             Malt 11 2002-10-31             0.9001610               4.4
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctFO_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28             0.8511192              11.5
## 98           Dempsey 12 2021-07-28             0.9154856              16.1
## 99  Branche sud aval 03 2021-07-28             0.8878154              15.5
## 100           Sewell 08 2021-07-28             0.9101240              14.2
## 101     Waugh sanct. 07 2021-07-28             0.8362934              12.1
## 102    br. sud amont 01 2021-07-28             0.8549172              14.0
## 103         Morrison 06 2021-07-28             0.7947874              15.7
## 104             Malt 11 2021-07-28             0.8016892              11.7
## 105 McConnell Six Rd 05 2021-07-28             0.6512789              16.9
## 106          Pollard 10 2021-07-28             0.7773585              14.6
## 107        Pok amont 04 2021-07-28             0.6323792              11.2
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034              11.9
## 109             Malt 11 2021-08-31             0.7773585              12.0
## 110          Suggary 02 2021-08-31             0.6417034              11.0
## 111     Waugh sanct. 07 2021-08-31             0.8511192              12.8
## 112          Dempsey 12 2021-08-31             0.9154856              15.0
## 113 Branche sud aval 03 2021-08-31             0.8878154              15.0
## 114           Sewell 08 2021-08-31             0.9101240              14.6
## 115          Pollard 10 2021-08-31             0.8362934              15.7
## 116    br. sud amont 01 2021-08-31             0.8549172              13.7
## 117         Morrison 06 2021-08-31             0.7947874              14.9
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892              11.7
## 119 McConnell Six Rd 05 2021-08-31             0.6512789              16.4
## 120        Pok amont 04 2021-08-31             0.6323792              10.8
## 121          Suggary 02 2021-10-05             0.6512789               6.3
## 122         Morrison 06 2021-10-05             0.7773585               7.0
## 123             Malt 11 2021-10-05             0.6323792               8.5
## 124           Sewell 08 2021-10-05             0.6417034               8.0
## 125     Waugh sanct. 07 2021-10-05             0.8511192               9.0
## 126          Dempsey 12 2021-10-05             0.9154856               8.7
## 127 Branche sud aval 03 2021-10-05             0.8878154               7.9
## 128 McConnell Six Rd 05 2021-10-05             0.9101240               7.9
## 129          Pollard 10 2021-10-05             0.8362934               8.7
## 130    br. sud amont 01 2021-10-05             0.8549172               7.3
## 131        Pok amont 04 2021-10-05             0.7947874               7.4
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892               6.4
## 133             Malt 11 2021-10-28             0.8016892               7.1
## 134          Suggary 02 2021-10-28             0.6512789               6.7
## 135    br. sud amont 01 2021-10-28             0.7773585               7.0
## 136         Morrison 06 2021-10-28             0.9154856               6.4
## 137 Branche sud aval 03 2021-10-28             0.6323792               6.7
## 138           Sewell 08 2021-10-28             0.6417034               7.4
## 139     Waugh sanct. 07 2021-10-28             0.8511192               7.3
## 140          Dempsey 12 2021-10-28             0.8549172               7.3
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154               6.7
## 142 McConnell Six Rd 05 2021-10-28             0.9101240               7.2
## 143          Pollard 10 2021-10-28             0.8362934               7.5
## 144        Pok amont 04 2021-10-28             0.7947874               7.2
## 145          Pollard 10 2022-07-28             0.7773585              14.2
## 146         Morrison 06 2022-07-28             0.7947874              13.3
## 147             Malt 11 2022-07-28             0.8016892              12.9
## 148          Suggary 02 2022-07-28             0.6512789              11.4
## 149    br. sud amont 01 2022-07-28             0.8511192              14.9
## 150          Dempsey 12 2022-07-28             0.9154856              15.3
## 151 Branche sud aval 03 2022-07-28             0.6323792              15.5
## 152           Sewell 08 2022-07-28             0.6417034              15.1
## 153     Waugh sanct. 07 2022-07-28             0.8362934              13.1
## 154        Pok amont 04 2022-07-28             0.8549172              11.9
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154              11.1
## 156 McConnell Six Rd 05 2022-07-28             0.9101240              13.8
## 157 McConnell Six Rd 05 2022-09-01             0.6512789              16.2
## 158          Pollard 10 2022-09-01             0.7773585              15.1
## 159    br. sud amont 01 2022-09-01             0.8549172              14.8
## 160         Morrison 06 2022-09-01             0.7947874              15.0
## 161             Malt 11 2022-09-01             0.8016892              12.3
## 162          Suggary 02 2022-09-01             0.6417034              11.9
## 163     Waugh sanct. 07 2022-09-01             0.8511192              14.0
## 164          Dempsey 12 2022-09-01             0.9154856              15.0
## 165 Branche sud aval 03 2022-09-01             0.6323792              16.2
## 166           Sewell 08 2022-09-01             0.9101240              15.9
## 167        Pok amont 04 2022-09-01             0.8362934              12.1
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154              12.9
## 169           Sewell 08 2022-10-03             0.7773585               6.2
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892               4.7
## 171 McConnell Six Rd 05 2022-10-03             0.6512789               6.5
## 172          Pollard 10 2022-10-03             0.8362934               6.5
## 173    br. sud amont 01 2022-10-03             0.8549172               5.6
## 174         Morrison 06 2022-10-03             0.7947874               4.7
## 175             Malt 11 2022-10-03             0.6323792               7.9
## 176          Suggary 02 2022-10-03             0.6417034               4.5
## 177     Waugh sanct. 07 2022-10-03             0.8511192               6.3
## 178          Dempsey 12 2022-10-03             0.9154856               6.0
## 179 Branche sud aval 03 2022-10-03             0.8878154               6.2
## 180        Pok amont 04 2022-10-03             0.9101240               6.5
## 181 Branche sud aval 03 2022-11-01             0.6512789               6.5
## 182           Sewell 08 2022-11-01             0.7773585               7.1
## 183        Pok amont 04 2022-11-01             0.7947874               6.3
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892               6.1
## 185 McConnell Six Rd 05 2022-11-01             0.9101240               7.4
## 186          Pollard 10 2022-11-01             0.8362934               8.0
## 187    br. sud amont 01 2022-11-01             0.8549172               7.0
## 188         Morrison 06 2022-11-01             0.9154856               5.9
## 189             Malt 11 2022-11-01             0.6323792               7.6
## 190          Suggary 02 2022-11-01             0.6417034               6.5
## 191     Waugh sanct. 07 2022-11-01             0.8511192               7.3
## 192          Dempsey 12 2022-11-01             0.8878154               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_forets_vs_oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctFO_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01             0.8875586                 11.30
## 2          Morrison 06 2001-08-01             0.9139108                 10.60
## 3              Malt 11 2001-08-01             0.9001610                 11.80
## 4           Suggary 02 2001-08-01             0.8677686                 10.50
## 5      Waugh sanct. 07 2001-08-01             0.8745174                 10.40
## 6           Dempsey 12 2001-08-01             0.8855891                  8.10
## 7  Branche sud aval 03 2001-08-01             0.8623910                 11.00
## 8            Sewell 08 2001-08-01             0.8037162                 11.10
## 9         Pok amont 04 2001-08-01             0.7211478                  9.70
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491                 10.50
## 11 McConnell Six Rd 05 2001-08-01             0.6337209                 12.10
## 12          Pollard 10 2001-08-01             0.6431718                  9.50
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491                 10.60
## 14          Pollard 10 2001-08-28             0.6431718                  9.60
## 15    br. sud amont 01 2001-08-28             0.8875586                 10.12
## 16         Morrison 06 2001-08-28             0.9139108                   NaN
## 17             Malt 11 2001-08-28             0.9001610                 10.60
## 18          Suggary 02 2001-08-28             0.8677686                  9.45
## 19     Waugh sanct. 07 2001-08-28             0.8745174                 10.00
## 20          Dempsey 12 2001-08-28             0.8855891                  8.80
## 21 Branche sud aval 03 2001-08-28             0.8623910                 10.00
## 22           Sewell 08 2001-08-28             0.8037162                  9.40
## 23        Pok amont 04 2001-08-28             0.7211478                 10.50
## 24 McConnell Six Rd 05 2001-08-28             0.6337209                 10.00
## 25        Pok amont 04 2001-09-26             0.7211478                  8.00
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491                  9.00
## 27 McConnell Six Rd 05 2001-09-26             0.6337209                  8.51
## 28          Pollard 10 2001-09-26             0.6431718                  8.40
## 29    br. sud amont 01 2001-09-26             0.8875586                  8.50
## 30         Morrison 06 2001-09-26             0.9139108                  8.60
## 31             Malt 11 2001-09-26             0.9001610                  9.00
## 32          Suggary 02 2001-09-26             0.8677686                  8.44
## 33     Waugh sanct. 07 2001-09-26             0.8745174                  8.62
## 34          Dempsey 12 2001-09-26             0.8855891                  8.30
## 35 Branche sud aval 03 2001-09-26             0.8623910                  9.20
## 36           Sewell 08 2001-09-26             0.8037162                  7.92
## 37           Sewell 08 2001-10-31             0.8037162                  7.70
## 38        Pok amont 04 2001-10-31             0.7211478                  8.40
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491                  9.46
## 40         Morrison 06 2001-10-31             0.9139108                  9.84
## 41 McConnell Six Rd 05 2001-10-31             0.6337209                  8.70
## 42          Pollard 10 2001-10-31             0.6431718                  8.85
## 43    br. sud amont 01 2001-10-31             0.8875586                  7.80
## 44          Dempsey 12 2001-10-31             0.8855891                  8.43
## 45             Malt 11 2001-10-31             0.9001610                  9.20
## 46          Suggary 02 2001-10-31             0.8677686                  7.30
## 47     Waugh sanct. 07 2001-10-31             0.8745174                  8.00
## 48 Branche sud aval 03 2001-10-31             0.8623910                  9.57
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491                  8.01
## 50 Branche sud aval 03 2002-07-29             0.8623910                  8.50
## 51           Sewell 08 2002-07-29             0.8037162                  7.60
## 52        Pok amont 04 2002-07-29             0.7211478                  8.17
## 53    br. sud amont 01 2002-07-29             0.8875586                  8.65
## 54         Morrison 06 2002-07-29             0.9139108                  9.76
## 55 McConnell Six Rd 05 2002-07-29             0.6337209                  7.10
## 56          Pollard 10 2002-07-29             0.6431718                  7.45
## 57     Waugh sanct. 07 2002-07-29             0.8745174                  7.90
## 58          Dempsey 12 2002-07-29             0.8855891                  8.30
## 59             Malt 11 2002-07-29             0.9001610                  8.90
## 60          Suggary 02 2002-07-29             0.8677686                  8.20
## 61        Pok amont 04 2002-08-28             0.7211478                 10.65
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491                  9.46
## 63          Dempsey 12 2002-08-28             0.8855891                  8.20
## 64 Branche sud aval 03 2002-08-28             0.8623910                 10.41
## 65           Sewell 08 2002-08-28             0.8037162                  9.80
## 66          Pollard 10 2002-08-28             0.6431718                  9.02
## 67    br. sud amont 01 2002-08-28             0.8875586                 10.20
## 68         Morrison 06 2002-08-28             0.9139108                 11.17
## 69 McConnell Six Rd 05 2002-08-28             0.6337209                 11.05
## 70          Suggary 02 2002-08-28             0.8677686                 11.24
## 71     Waugh sanct. 07 2002-08-28             0.8745174                 10.00
## 72             Malt 11 2002-08-28             0.9001610                 10.00
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491                  4.42
## 74           Sewell 08 2002-10-02             0.8037162                  6.84
## 75        Pok amont 04 2002-10-02             0.7211478                  7.20
## 76     Waugh sanct. 07 2002-10-02             0.8745174                  6.10
## 77          Dempsey 12 2002-10-02             0.8855891                  5.70
## 78 Branche sud aval 03 2002-10-02             0.8623910                  7.10
## 79 McConnell Six Rd 05 2002-10-02             0.6337209                  7.49
## 80          Pollard 10 2002-10-02             0.6431718                  6.80
## 81    br. sud amont 01 2002-10-02             0.8875586                  7.16
## 82         Morrison 06 2002-10-02             0.9139108                  7.60
## 83             Malt 11 2002-10-02             0.9001610                  6.40
## 84          Suggary 02 2002-10-02             0.8677686                  8.08
## 85        Pok amont 04 2002-10-31             0.7211478                  7.50
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491                  8.50
## 87 Branche sud aval 03 2002-10-31             0.8623910                   NaN
## 88           Sewell 08 2002-10-31             0.8037162                  8.30
## 89          Suggary 02 2002-10-31             0.8677686                  8.60
## 90     Waugh sanct. 07 2002-10-31             0.8745174                  7.00
## 91          Dempsey 12 2002-10-31             0.8855891                  7.40
## 92         Morrison 06 2002-10-31             0.9139108                  8.30
## 93 McConnell Six Rd 05 2002-10-31             0.6337209                  7.60
## 94          Pollard 10 2002-10-31             0.6431718                  7.60
## 95    br. sud amont 01 2002-10-31             0.8875586                  8.20
## 96             Malt 11 2002-10-31             0.9001610                  8.00
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctFO_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28             0.8511192                  9.68
## 98           Dempsey 12 2021-07-28             0.9154856                  9.38
## 99  Branche sud aval 03 2021-07-28             0.8878154                  8.51
## 100           Sewell 08 2021-07-28             0.9101240                  9.29
## 101     Waugh sanct. 07 2021-07-28             0.8362934                  9.84
## 102    br. sud amont 01 2021-07-28             0.8549172                  8.43
## 103         Morrison 06 2021-07-28             0.7947874                  9.04
## 104             Malt 11 2021-07-28             0.8016892                  9.73
## 105 McConnell Six Rd 05 2021-07-28             0.6512789                  8.70
## 106          Pollard 10 2021-07-28             0.7773585                  9.81
## 107        Pok amont 04 2021-07-28             0.6323792                  9.22
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034                 10.29
## 109             Malt 11 2021-08-31             0.7773585                 11.07
## 110          Suggary 02 2021-08-31             0.6417034                 10.16
## 111     Waugh sanct. 07 2021-08-31             0.8511192                 10.03
## 112          Dempsey 12 2021-08-31             0.9154856                  9.51
## 113 Branche sud aval 03 2021-08-31             0.8878154                  8.83
## 114           Sewell 08 2021-08-31             0.9101240                  8.18
## 115          Pollard 10 2021-08-31             0.8362934                  8.15
## 116    br. sud amont 01 2021-08-31             0.8549172                  7.94
## 117         Morrison 06 2021-08-31             0.7947874                  9.14
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892                 10.42
## 119 McConnell Six Rd 05 2021-08-31             0.6512789                  8.54
## 120        Pok amont 04 2021-08-31             0.6323792                  8.70
## 121          Suggary 02 2021-10-05             0.6512789                 12.14
## 122         Morrison 06 2021-10-05             0.7773585                 11.19
## 123             Malt 11 2021-10-05             0.6323792                 10.27
## 124           Sewell 08 2021-10-05             0.6417034                 11.17
## 125     Waugh sanct. 07 2021-10-05             0.8511192                 10.42
## 126          Dempsey 12 2021-10-05             0.9154856                 10.86
## 127 Branche sud aval 03 2021-10-05             0.8878154                 10.40
## 128 McConnell Six Rd 05 2021-10-05             0.9101240                 10.87
## 129          Pollard 10 2021-10-05             0.8362934                 11.29
## 130    br. sud amont 01 2021-10-05             0.8549172                 10.74
## 131        Pok amont 04 2021-10-05             0.7947874                 10.75
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892                 11.40
## 133             Malt 11 2021-10-28             0.8016892                 10.50
## 134          Suggary 02 2021-10-28             0.6512789                 11.68
## 135    br. sud amont 01 2021-10-28             0.7773585                 10.93
## 136         Morrison 06 2021-10-28             0.9154856                 11.66
## 137 Branche sud aval 03 2021-10-28             0.6323792                 11.22
## 138           Sewell 08 2021-10-28             0.6417034                 11.44
## 139     Waugh sanct. 07 2021-10-28             0.8511192                 10.96
## 140          Dempsey 12 2021-10-28             0.8549172                  8.77
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154                 11.26
## 142 McConnell Six Rd 05 2021-10-28             0.9101240                 10.41
## 143          Pollard 10 2021-10-28             0.8362934                 10.54
## 144        Pok amont 04 2021-10-28             0.7947874                 10.80
## 145          Pollard 10 2022-07-28             0.7773585                 10.75
## 146         Morrison 06 2022-07-28             0.7947874                 10.00
## 147             Malt 11 2022-07-28             0.8016892                 11.60
## 148          Suggary 02 2022-07-28             0.6512789                 11.40
## 149    br. sud amont 01 2022-07-28             0.8511192                  8.64
## 150          Dempsey 12 2022-07-28             0.9154856                  9.34
## 151 Branche sud aval 03 2022-07-28             0.6323792                  9.55
## 152           Sewell 08 2022-07-28             0.6417034                  9.50
## 153     Waugh sanct. 07 2022-07-28             0.8362934                  9.90
## 154        Pok amont 04 2022-07-28             0.8549172                  9.52
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154                 11.52
## 156 McConnell Six Rd 05 2022-07-28             0.9101240                 10.40
## 157 McConnell Six Rd 05 2022-09-01             0.6512789                  9.19
## 158          Pollard 10 2022-09-01             0.7773585                 10.25
## 159    br. sud amont 01 2022-09-01             0.8549172                  8.28
## 160         Morrison 06 2022-09-01             0.7947874                  9.52
## 161             Malt 11 2022-09-01             0.8016892                 11.08
## 162          Suggary 02 2022-09-01             0.6417034                 10.24
## 163     Waugh sanct. 07 2022-09-01             0.8511192                  9.22
## 164          Dempsey 12 2022-09-01             0.9154856                  9.44
## 165 Branche sud aval 03 2022-09-01             0.6323792                  8.95
## 166           Sewell 08 2022-09-01             0.9101240                  9.02
## 167        Pok amont 04 2022-09-01             0.8362934                  8.82
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154                 10.06
## 169           Sewell 08 2022-10-03             0.7773585                 10.03
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892                 12.38
## 171 McConnell Six Rd 05 2022-10-03             0.6512789                 12.20
## 172          Pollard 10 2022-10-03             0.8362934                 13.04
## 173    br. sud amont 01 2022-10-03             0.8549172                 11.04
## 174         Morrison 06 2022-10-03             0.7947874                 12.92
## 175             Malt 11 2022-10-03             0.6323792                 12.67
## 176          Suggary 02 2022-10-03             0.6417034                 13.13
## 177     Waugh sanct. 07 2022-10-03             0.8511192                 12.07
## 178          Dempsey 12 2022-10-03             0.9154856                 11.87
## 179 Branche sud aval 03 2022-10-03             0.8878154                 12.21
## 180        Pok amont 04 2022-10-03             0.9101240                 10.04
## 181 Branche sud aval 03 2022-11-01             0.6512789                 12.07
## 182           Sewell 08 2022-11-01             0.7773585                 12.13
## 183        Pok amont 04 2022-11-01             0.7947874                 10.55
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892                 12.12
## 185 McConnell Six Rd 05 2022-11-01             0.9101240                 11.17
## 186          Pollard 10 2022-11-01             0.8362934                 10.85
## 187    br. sud amont 01 2022-11-01             0.8549172                 11.78
## 188         Morrison 06 2022-11-01             0.9154856                 12.66
## 189             Malt 11 2022-11-01             0.6323792                 11.63
## 190          Suggary 02 2022-11-01             0.6417034                 12.35
## 191     Waugh sanct. 07 2022-11-01             0.8511192                  9.42
## 192          Dempsey 12 2022-11-01             0.8878154                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'Oxygène dissous et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Zone_forets_vs_Conductivités

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctFO_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01             0.8875586                  171.0
## 2          Morrison 06 2001-08-01             0.9139108                  114.0
## 3              Malt 11 2001-08-01             0.9001610                  108.0
## 4           Suggary 02 2001-08-01             0.8677686                  118.0
## 5      Waugh sanct. 07 2001-08-01             0.8745174                  133.0
## 6           Dempsey 12 2001-08-01             0.8855891                  128.0
## 7  Branche sud aval 03 2001-08-01             0.8623910                  115.0
## 8            Sewell 08 2001-08-01             0.8037162                  134.0
## 9         Pok amont 04 2001-08-01             0.7211478                   56.6
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491                  106.0
## 11 McConnell Six Rd 05 2001-08-01             0.6337209                  100.0
## 12          Pollard 10 2001-08-01             0.6431718                  156.0
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491                  105.0
## 14          Pollard 10 2001-08-28             0.6431718                  162.0
## 15    br. sud amont 01 2001-08-28             0.8875586                  177.0
## 16         Morrison 06 2001-08-28             0.9139108                  115.0
## 17             Malt 11 2001-08-28             0.9001610                   90.3
## 18          Suggary 02 2001-08-28             0.8677686                  119.0
## 19     Waugh sanct. 07 2001-08-28             0.8745174                  132.0
## 20          Dempsey 12 2001-08-28             0.8855891                  129.0
## 21 Branche sud aval 03 2001-08-28             0.8623910                  113.0
## 22           Sewell 08 2001-08-28             0.8037162                  150.0
## 23        Pok amont 04 2001-08-28             0.7211478                   60.0
## 24 McConnell Six Rd 05 2001-08-28             0.6337209                  112.0
## 25        Pok amont 04 2001-09-26             0.7211478                   72.1
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491                  115.0
## 27 McConnell Six Rd 05 2001-09-26             0.6337209                  111.0
## 28          Pollard 10 2001-09-26             0.6431718                  153.5
## 29    br. sud amont 01 2001-09-26             0.8875586                  158.0
## 30         Morrison 06 2001-09-26             0.9139108                  117.0
## 31             Malt 11 2001-09-26             0.9001610                   97.7
## 32          Suggary 02 2001-09-26             0.8677686                  139.0
## 33     Waugh sanct. 07 2001-09-26             0.8745174                  136.0
## 34          Dempsey 12 2001-09-26             0.8855891                  137.0
## 35 Branche sud aval 03 2001-09-26             0.8623910                  123.0
## 36           Sewell 08 2001-09-26             0.8037162                  173.0
## 37           Sewell 08 2001-10-31             0.8037162                  111.0
## 38        Pok amont 04 2001-10-31             0.7211478                   68.3
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491                  112.0
## 40         Morrison 06 2001-10-31             0.9139108                  123.0
## 41 McConnell Six Rd 05 2001-10-31             0.6337209                   87.2
## 42          Pollard 10 2001-10-31             0.6431718                  164.0
## 43    br. sud amont 01 2001-10-31             0.8875586                  162.0
## 44          Dempsey 12 2001-10-31             0.8855891                  128.0
## 45             Malt 11 2001-10-31             0.9001610                   98.8
## 46          Suggary 02 2001-10-31             0.8677686                  120.0
## 47     Waugh sanct. 07 2001-10-31             0.8745174                  102.0
## 48 Branche sud aval 03 2001-10-31             0.8623910                  115.0
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491                  112.0
## 50 Branche sud aval 03 2002-07-29             0.8623910                  116.0
## 51           Sewell 08 2002-07-29             0.8037162                  139.0
## 52        Pok amont 04 2002-07-29             0.7211478                   57.1
## 53    br. sud amont 01 2002-07-29             0.8875586                  148.0
## 54         Morrison 06 2002-07-29             0.9139108                  123.0
## 55 McConnell Six Rd 05 2002-07-29             0.6337209                  105.0
## 56          Pollard 10 2002-07-29             0.6431718                  162.0
## 57     Waugh sanct. 07 2002-07-29             0.8745174                  133.0
## 58          Dempsey 12 2002-07-29             0.8855891                  143.0
## 59             Malt 11 2002-07-29             0.9001610                   96.6
## 60          Suggary 02 2002-07-29             0.8677686                  110.0
## 61        Pok amont 04 2002-08-28             0.7211478                   60.3
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491                  115.0
## 63          Dempsey 12 2002-08-28             0.8855891                  144.0
## 64 Branche sud aval 03 2002-08-28             0.8623910                  121.0
## 65           Sewell 08 2002-08-28             0.8037162                  168.0
## 66          Pollard 10 2002-08-28             0.6431718                  164.0
## 67    br. sud amont 01 2002-08-28             0.8875586                  185.0
## 68         Morrison 06 2002-08-28             0.9139108                  125.0
## 69 McConnell Six Rd 05 2002-08-28             0.6337209                  111.0
## 70          Suggary 02 2002-08-28             0.8677686                  110.5
## 71     Waugh sanct. 07 2002-08-28             0.8745174                  135.0
## 72             Malt 11 2002-08-28             0.9001610                  101.0
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491                  120.0
## 74           Sewell 08 2002-10-02             0.8037162                  158.0
## 75        Pok amont 04 2002-10-02             0.7211478                   69.4
## 76     Waugh sanct. 07 2002-10-02             0.8745174                  148.0
## 77          Dempsey 12 2002-10-02             0.8855891                  145.0
## 78 Branche sud aval 03 2002-10-02             0.8623910                  126.0
## 79 McConnell Six Rd 05 2002-10-02             0.6337209                  108.0
## 80          Pollard 10 2002-10-02             0.6431718                  176.0
## 81    br. sud amont 01 2002-10-02             0.8875586                  194.0
## 82         Morrison 06 2002-10-02             0.9139108                  128.0
## 83             Malt 11 2002-10-02             0.9001610                  106.0
## 84          Suggary 02 2002-10-02             0.8677686                  114.0
## 85        Pok amont 04 2002-10-31             0.7211478                   70.9
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491                  122.0
## 87 Branche sud aval 03 2002-10-31             0.8623910                  126.0
## 88           Sewell 08 2002-10-31             0.8037162                  120.0
## 89          Suggary 02 2002-10-31             0.8677686                  118.0
## 90     Waugh sanct. 07 2002-10-31             0.8745174                  129.0
## 91          Dempsey 12 2002-10-31             0.8855891                  141.0
## 92         Morrison 06 2002-10-31             0.9139108                  130.0
## 93 McConnell Six Rd 05 2002-10-31             0.6337209                  103.0
## 94          Pollard 10 2002-10-31             0.6431718                  176.0
## 95    br. sud amont 01 2002-10-31             0.8875586                  175.5
## 96             Malt 11 2002-10-31             0.9001610                  107.0
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctFO_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28             0.8511192                    109
## 98           Dempsey 12 2021-07-28             0.9154856                    139
## 99  Branche sud aval 03 2021-07-28             0.8878154                    119
## 100           Sewell 08 2021-07-28             0.9101240                    131
## 101     Waugh sanct. 07 2021-07-28             0.8362934                    128
## 102    br. sud amont 01 2021-07-28             0.8549172                    177
## 103         Morrison 06 2021-07-28             0.7947874                    122
## 104             Malt 11 2021-07-28             0.8016892                     90
## 105 McConnell Six Rd 05 2021-07-28             0.6512789                    115
## 106          Pollard 10 2021-07-28             0.7773585                    166
## 107        Pok amont 04 2021-07-28             0.6323792                     60
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034                    109
## 109             Malt 11 2021-08-31             0.7773585                     96
## 110          Suggary 02 2021-08-31             0.6417034                    116
## 111     Waugh sanct. 07 2021-08-31             0.8511192                    138
## 112          Dempsey 12 2021-08-31             0.9154856                    152
## 113 Branche sud aval 03 2021-08-31             0.8878154                    125
## 114           Sewell 08 2021-08-31             0.9101240                    161
## 115          Pollard 10 2021-08-31             0.8362934                    196
## 116    br. sud amont 01 2021-08-31             0.8549172                    199
## 117         Morrison 06 2021-08-31             0.7947874                    129
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892                    118
## 119 McConnell Six Rd 05 2021-08-31             0.6512789                    114
## 120        Pok amont 04 2021-08-31             0.6323792                     70
## 121          Suggary 02 2021-10-05             0.6512789                     98
## 122         Morrison 06 2021-10-05             0.7773585                    114
## 123             Malt 11 2021-10-05             0.6323792                     74
## 124           Sewell 08 2021-10-05             0.6417034                     72
## 125     Waugh sanct. 07 2021-10-05             0.8511192                     70
## 126          Dempsey 12 2021-10-05             0.9154856                     96
## 127 Branche sud aval 03 2021-10-05             0.8878154                     86
## 128 McConnell Six Rd 05 2021-10-05             0.9101240                     90
## 129          Pollard 10 2021-10-05             0.8362934                    128
## 130    br. sud amont 01 2021-10-05             0.8549172                     91
## 131        Pok amont 04 2021-10-05             0.7947874                     52
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892                     95
## 133             Malt 11 2021-10-28             0.8016892                     80
## 134          Suggary 02 2021-10-28             0.6512789                    100
## 135    br. sud amont 01 2021-10-28             0.7773585                    114
## 136         Morrison 06 2021-10-28             0.9154856                    118
## 137 Branche sud aval 03 2021-10-28             0.6323792                     97
## 138           Sewell 08 2021-10-28             0.6417034                     81
## 139     Waugh sanct. 07 2021-10-28             0.8511192                     88
## 140          Dempsey 12 2021-10-28             0.8549172                    113
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154                    102
## 142 McConnell Six Rd 05 2021-10-28             0.9101240                     97
## 143          Pollard 10 2021-10-28             0.8362934                    139
## 144        Pok amont 04 2021-10-28             0.7947874                     54
## 145          Pollard 10 2022-07-28             0.7773585                    163
## 146         Morrison 06 2022-07-28             0.7947874                    119
## 147             Malt 11 2022-07-28             0.8016892                     88
## 148          Suggary 02 2022-07-28             0.6512789                    107
## 149    br. sud amont 01 2022-07-28             0.8511192                    161
## 150          Dempsey 12 2022-07-28             0.9154856                    134
## 151 Branche sud aval 03 2022-07-28             0.6323792                    113
## 152           Sewell 08 2022-07-28             0.6417034                    113
## 153     Waugh sanct. 07 2022-07-28             0.8362934                    126
## 154        Pok amont 04 2022-07-28             0.8549172                     59
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154                    108
## 156 McConnell Six Rd 05 2022-07-28             0.9101240                    113
## 157 McConnell Six Rd 05 2022-09-01             0.6512789                    107
## 158          Pollard 10 2022-09-01             0.7773585                    178
## 159    br. sud amont 01 2022-09-01             0.8549172                    180
## 160         Morrison 06 2022-09-01             0.7947874                    117
## 161             Malt 11 2022-09-01             0.8016892                     88
## 162          Suggary 02 2022-09-01             0.6417034                    104
## 163     Waugh sanct. 07 2022-09-01             0.8511192                    114
## 164          Dempsey 12 2022-09-01             0.9154856                    137
## 165 Branche sud aval 03 2022-09-01             0.6323792                    117
## 166           Sewell 08 2022-09-01             0.9101240                    116
## 167        Pok amont 04 2022-09-01             0.8362934                     63
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154                    108
## 169           Sewell 08 2022-10-03             0.7773585                    114
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892                    113
## 171 McConnell Six Rd 05 2022-10-03             0.6512789                     94
## 172          Pollard 10 2022-10-03             0.8362934                    179
## 173    br. sud amont 01 2022-10-03             0.8549172                    182
## 174         Morrison 06 2022-10-03             0.7947874                    120
## 175             Malt 11 2022-10-03             0.6323792                     95
## 176          Suggary 02 2022-10-03             0.6417034                    107
## 177     Waugh sanct. 07 2022-10-03             0.8511192                    114
## 178          Dempsey 12 2022-10-03             0.9154856                    143
## 179 Branche sud aval 03 2022-10-03             0.8878154                    118
## 180        Pok amont 04 2022-10-03             0.9101240                     64
## 181 Branche sud aval 03 2022-11-01             0.6512789                    112
## 182           Sewell 08 2022-11-01             0.7773585                     92
## 183        Pok amont 04 2022-11-01             0.7947874                     69
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892                    112
## 185 McConnell Six Rd 05 2022-11-01             0.9101240                     92
## 186          Pollard 10 2022-11-01             0.8362934                    177
## 187    br. sud amont 01 2022-11-01             0.8549172                    144
## 188         Morrison 06 2022-11-01             0.9154856                    125
## 189             Malt 11 2022-11-01             0.6323792                     91
## 190          Suggary 02 2022-11-01             0.6417034                    108
## 191     Waugh sanct. 07 2022-11-01             0.8511192                     92
## 192          Dempsey 12 2022-11-01             0.8878154                    136
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_forets_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,pH_units))
##               Station2       Date pctFO_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01             0.8875586    8.200
## 2          Morrison 06 2001-08-01             0.9139108    7.950
## 3              Malt 11 2001-08-01             0.9001610    7.860
## 4           Suggary 02 2001-08-01             0.8677686    8.020
## 5      Waugh sanct. 07 2001-08-01             0.8745174    7.970
## 6           Dempsey 12 2001-08-01             0.8855891    7.960
## 7  Branche sud aval 03 2001-08-01             0.8623910    8.030
## 8            Sewell 08 2001-08-01             0.8037162    8.020
## 9         Pok amont 04 2001-08-01             0.7211478    7.590
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491    8.010
## 11 McConnell Six Rd 05 2001-08-01             0.6337209    7.860
## 12          Pollard 10 2001-08-01             0.6431718    7.890
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491    7.910
## 14          Pollard 10 2001-08-28             0.6431718    7.860
## 15    br. sud amont 01 2001-08-28             0.8875586    7.980
## 16         Morrison 06 2001-08-28             0.9139108    7.940
## 17             Malt 11 2001-08-28             0.9001610    7.460
## 18          Suggary 02 2001-08-28             0.8677686    7.880
## 19     Waugh sanct. 07 2001-08-28             0.8745174    7.890
## 20          Dempsey 12 2001-08-28             0.8855891    7.760
## 21 Branche sud aval 03 2001-08-28             0.8623910    7.890
## 22           Sewell 08 2001-08-28             0.8037162    7.900
## 23        Pok amont 04 2001-08-28             0.7211478    7.490
## 24 McConnell Six Rd 05 2001-08-28             0.6337209    7.770
## 25        Pok amont 04 2001-09-26             0.7211478    7.640
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491    7.960
## 27 McConnell Six Rd 05 2001-09-26             0.6337209    7.870
## 28          Pollard 10 2001-09-26             0.6431718    7.850
## 29    br. sud amont 01 2001-09-26             0.8875586    8.050
## 30         Morrison 06 2001-09-26             0.9139108    8.020
## 31             Malt 11 2001-09-26             0.9001610    7.710
## 32          Suggary 02 2001-09-26             0.8677686    8.080
## 33     Waugh sanct. 07 2001-09-26             0.8745174    8.020
## 34          Dempsey 12 2001-09-26             0.8855891    7.950
## 35 Branche sud aval 03 2001-09-26             0.8623910    8.040
## 36           Sewell 08 2001-09-26             0.8037162    8.060
## 37           Sewell 08 2001-10-31             0.8037162    7.740
## 38        Pok amont 04 2001-10-31             0.7211478    7.420
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491    7.950
## 40         Morrison 06 2001-10-31             0.9139108    8.010
## 41 McConnell Six Rd 05 2001-10-31             0.6337209    7.500
## 42          Pollard 10 2001-10-31             0.6431718    7.870
## 43    br. sud amont 01 2001-10-31             0.8875586    7.960
## 44          Dempsey 12 2001-10-31             0.8855891    7.820
## 45             Malt 11 2001-10-31             0.9001610    7.530
## 46          Suggary 02 2001-10-31             0.8677686    7.650
## 47     Waugh sanct. 07 2001-10-31             0.8745174    7.410
## 48 Branche sud aval 03 2001-10-31             0.8623910    7.890
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491    7.840
## 50 Branche sud aval 03 2002-07-29             0.8623910    7.870
## 51           Sewell 08 2002-07-29             0.8037162    7.840
## 52        Pok amont 04 2002-07-29             0.7211478    7.180
## 53    br. sud amont 01 2002-07-29             0.8875586    7.840
## 54         Morrison 06 2002-07-29             0.9139108    7.920
## 55 McConnell Six Rd 05 2002-07-29             0.6337209    7.580
## 56          Pollard 10 2002-07-29             0.6431718    7.730
## 57     Waugh sanct. 07 2002-07-29             0.8745174    7.700
## 58          Dempsey 12 2002-07-29             0.8855891    7.755
## 59             Malt 11 2002-07-29             0.9001610    7.420
## 60          Suggary 02 2002-07-29             0.8677686    7.740
## 61        Pok amont 04 2002-08-28             0.7211478    7.250
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491    7.800
## 63          Dempsey 12 2002-08-28             0.8855891    7.690
## 64 Branche sud aval 03 2002-08-28             0.8623910    7.850
## 65           Sewell 08 2002-08-28             0.8037162    7.920
## 66          Pollard 10 2002-08-28             0.6431718    7.730
## 67    br. sud amont 01 2002-08-28             0.8875586    8.070
## 68         Morrison 06 2002-08-28             0.9139108    7.900
## 69 McConnell Six Rd 05 2002-08-28             0.6337209    7.790
## 70          Suggary 02 2002-08-28             0.8677686    7.815
## 71     Waugh sanct. 07 2002-08-28             0.8745174    7.750
## 72             Malt 11 2002-08-28             0.9001610    7.380
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491    7.830
## 74           Sewell 08 2002-10-02             0.8037162    7.820
## 75        Pok amont 04 2002-10-02             0.7211478    7.270
## 76     Waugh sanct. 07 2002-10-02             0.8745174    7.760
## 77          Dempsey 12 2002-10-02             0.8855891    7.640
## 78 Branche sud aval 03 2002-10-02             0.8623910    7.820
## 79 McConnell Six Rd 05 2002-10-02             0.6337209    7.650
## 80          Pollard 10 2002-10-02             0.6431718    7.720
## 81    br. sud amont 01 2002-10-02             0.8875586    7.970
## 82         Morrison 06 2002-10-02             0.9139108    7.890
## 83             Malt 11 2002-10-02             0.9001610    7.380
## 84          Suggary 02 2002-10-02             0.8677686    7.830
## 85        Pok amont 04 2002-10-31             0.7211478    7.360
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491    7.820
## 87 Branche sud aval 03 2002-10-31             0.8623910      NaN
## 88           Sewell 08 2002-10-31             0.8037162    7.550
## 89          Suggary 02 2002-10-31             0.8677686    7.770
## 90     Waugh sanct. 07 2002-10-31             0.8745174    7.580
## 91          Dempsey 12 2002-10-31             0.8855891    7.690
## 92         Morrison 06 2002-10-31             0.9139108    7.870
## 93 McConnell Six Rd 05 2002-10-31             0.6337209    7.440
## 94          Pollard 10 2002-10-31             0.6431718    7.780
## 95    br. sud amont 01 2002-10-31             0.8875586    7.865
## 96             Malt 11 2002-10-31             0.9001610    7.560
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,pH_units))
##                Station2       Date pctFO_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28             0.8511192      7.5
## 98           Dempsey 12 2021-07-28             0.9154856      7.6
## 99  Branche sud aval 03 2021-07-28             0.8878154      7.6
## 100           Sewell 08 2021-07-28             0.9101240      7.7
## 101     Waugh sanct. 07 2021-07-28             0.8362934      7.6
## 102    br. sud amont 01 2021-07-28             0.8549172      7.6
## 103         Morrison 06 2021-07-28             0.7947874      7.4
## 104             Malt 11 2021-07-28             0.8016892      7.2
## 105 McConnell Six Rd 05 2021-07-28             0.6512789      7.6
## 106          Pollard 10 2021-07-28             0.7773585      7.6
## 107        Pok amont 04 2021-07-28             0.6323792      6.8
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034      7.6
## 109             Malt 11 2021-08-31             0.7773585      7.3
## 110          Suggary 02 2021-08-31             0.6417034      7.6
## 111     Waugh sanct. 07 2021-08-31             0.8511192      7.8
## 112          Dempsey 12 2021-08-31             0.9154856      7.6
## 113 Branche sud aval 03 2021-08-31             0.8878154      7.8
## 114           Sewell 08 2021-08-31             0.9101240      7.8
## 115          Pollard 10 2021-08-31             0.8362934      7.8
## 116    br. sud amont 01 2021-08-31             0.8549172      7.5
## 117         Morrison 06 2021-08-31             0.7947874      7.8
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892      7.8
## 119 McConnell Six Rd 05 2021-08-31             0.6512789      7.7
## 120        Pok amont 04 2021-08-31             0.6323792      7.1
## 121          Suggary 02 2021-10-05             0.6512789      7.6
## 122         Morrison 06 2021-10-05             0.7773585      7.1
## 123             Malt 11 2021-10-05             0.6323792      7.1
## 124           Sewell 08 2021-10-05             0.6417034      7.5
## 125     Waugh sanct. 07 2021-10-05             0.8511192      7.2
## 126          Dempsey 12 2021-10-05             0.9154856      7.3
## 127 Branche sud aval 03 2021-10-05             0.8878154      7.6
## 128 McConnell Six Rd 05 2021-10-05             0.9101240      7.4
## 129          Pollard 10 2021-10-05             0.8362934      7.5
## 130    br. sud amont 01 2021-10-05             0.8549172      7.2
## 131        Pok amont 04 2021-10-05             0.7947874      6.8
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892      7.2
## 133             Malt 11 2021-10-28             0.8016892      7.0
## 134          Suggary 02 2021-10-28             0.6512789      7.6
## 135    br. sud amont 01 2021-10-28             0.7773585      7.5
## 136         Morrison 06 2021-10-28             0.9154856      7.6
## 137 Branche sud aval 03 2021-10-28             0.6323792      7.6
## 138           Sewell 08 2021-10-28             0.6417034      7.5
## 139     Waugh sanct. 07 2021-10-28             0.8511192      7.5
## 140          Dempsey 12 2021-10-28             0.8549172      7.6
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154      7.5
## 142 McConnell Six Rd 05 2021-10-28             0.9101240      7.5
## 143          Pollard 10 2021-10-28             0.8362934      7.7
## 144        Pok amont 04 2021-10-28             0.7947874      7.5
## 145          Pollard 10 2022-07-28             0.7773585      7.7
## 146         Morrison 06 2022-07-28             0.7947874      7.8
## 147             Malt 11 2022-07-28             0.8016892      7.6
## 148          Suggary 02 2022-07-28             0.6512789      7.7
## 149    br. sud amont 01 2022-07-28             0.8511192      7.9
## 150          Dempsey 12 2022-07-28             0.9154856      7.8
## 151 Branche sud aval 03 2022-07-28             0.6323792      7.8
## 152           Sewell 08 2022-07-28             0.6417034      7.7
## 153     Waugh sanct. 07 2022-07-28             0.8362934      7.8
## 154        Pok amont 04 2022-07-28             0.8549172      7.5
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154      7.8
## 156 McConnell Six Rd 05 2022-07-28             0.9101240      7.7
## 157 McConnell Six Rd 05 2022-09-01             0.6512789      7.8
## 158          Pollard 10 2022-09-01             0.7773585      7.8
## 159    br. sud amont 01 2022-09-01             0.8549172      8.0
## 160         Morrison 06 2022-09-01             0.7947874      8.0
## 161             Malt 11 2022-09-01             0.8016892      7.7
## 162          Suggary 02 2022-09-01             0.6417034      7.8
## 163     Waugh sanct. 07 2022-09-01             0.8511192      7.9
## 164          Dempsey 12 2022-09-01             0.9154856      7.9
## 165 Branche sud aval 03 2022-09-01             0.6323792      7.9
## 166           Sewell 08 2022-09-01             0.9101240      7.9
## 167        Pok amont 04 2022-09-01             0.8362934      7.2
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154      7.8
## 169           Sewell 08 2022-10-03             0.7773585      7.7
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892      7.8
## 171 McConnell Six Rd 05 2022-10-03             0.6512789      7.5
## 172          Pollard 10 2022-10-03             0.8362934      7.8
## 173    br. sud amont 01 2022-10-03             0.8549172      7.9
## 174         Morrison 06 2022-10-03             0.7947874      7.9
## 175             Malt 11 2022-10-03             0.6323792      7.5
## 176          Suggary 02 2022-10-03             0.6417034      7.7
## 177     Waugh sanct. 07 2022-10-03             0.8511192      7.6
## 178          Dempsey 12 2022-10-03             0.9154856      7.7
## 179 Branche sud aval 03 2022-10-03             0.8878154      7.8
## 180        Pok amont 04 2022-10-03             0.9101240      7.1
## 181 Branche sud aval 03 2022-11-01             0.6512789      7.6
## 182           Sewell 08 2022-11-01             0.7773585      7.5
## 183        Pok amont 04 2022-11-01             0.7947874      7.0
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892      7.5
## 185 McConnell Six Rd 05 2022-11-01             0.9101240      7.3
## 186          Pollard 10 2022-11-01             0.8362934      7.6
## 187    br. sud amont 01 2022-11-01             0.8549172      7.5
## 188         Morrison 06 2022-11-01             0.9154856      7.8
## 189             Malt 11 2022-11-01             0.6323792      7.0
## 190          Suggary 02 2022-11-01             0.6417034      7.5
## 191     Waugh sanct. 07 2022-11-01             0.8511192      7.2
## 192          Dempsey 12 2022-11-01             0.8878154      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_forets_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctFO_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01             0.8875586         6.400
## 2          Morrison 06 2001-08-01             0.9139108         0.600
## 3              Malt 11 2001-08-01             0.9001610         1.600
## 4           Suggary 02 2001-08-01             0.8677686         0.700
## 5      Waugh sanct. 07 2001-08-01             0.8745174         1.200
## 6           Dempsey 12 2001-08-01             0.8855891         1.300
## 7  Branche sud aval 03 2001-08-01             0.8623910         0.500
## 8            Sewell 08 2001-08-01             0.8037162         1.500
## 9         Pok amont 04 2001-08-01             0.7211478         0.000
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491         0.700
## 11 McConnell Six Rd 05 2001-08-01             0.6337209         0.100
## 12          Pollard 10 2001-08-01             0.6431718         0.500
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491         1.200
## 14          Pollard 10 2001-08-28             0.6431718         0.800
## 15    br. sud amont 01 2001-08-28             0.8875586         6.100
## 16         Morrison 06 2001-08-28             0.9139108         0.700
## 17             Malt 11 2001-08-28             0.9001610         0.500
## 18          Suggary 02 2001-08-28             0.8677686         3.500
## 19     Waugh sanct. 07 2001-08-28             0.8745174         1.000
## 20          Dempsey 12 2001-08-28             0.8855891         1.700
## 21 Branche sud aval 03 2001-08-28             0.8623910         0.900
## 22           Sewell 08 2001-08-28             0.8037162         6.500
## 23        Pok amont 04 2001-08-28             0.7211478         0.000
## 24 McConnell Six Rd 05 2001-08-28             0.6337209         1.000
## 25        Pok amont 04 2001-09-26             0.7211478         0.800
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491         9.500
## 27 McConnell Six Rd 05 2001-09-26             0.6337209         1.200
## 28          Pollard 10 2001-09-26             0.6431718         1.150
## 29    br. sud amont 01 2001-09-26             0.8875586        44.800
## 30         Morrison 06 2001-09-26             0.9139108         0.900
## 31             Malt 11 2001-09-26             0.9001610         7.800
## 32          Suggary 02 2001-09-26             0.8677686         1.700
## 33     Waugh sanct. 07 2001-09-26             0.8745174         1.200
## 34          Dempsey 12 2001-09-26             0.8855891         1.500
## 35 Branche sud aval 03 2001-09-26             0.8623910         2.400
## 36           Sewell 08 2001-09-26             0.8037162         3.000
## 37           Sewell 08 2001-10-31             0.8037162         5.500
## 38        Pok amont 04 2001-10-31             0.7211478         0.200
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491         1.000
## 40         Morrison 06 2001-10-31             0.9139108         0.500
## 41 McConnell Six Rd 05 2001-10-31             0.6337209         1.400
## 42          Pollard 10 2001-10-31             0.6431718         0.600
## 43    br. sud amont 01 2001-10-31             0.8875586         1.100
## 44          Dempsey 12 2001-10-31             0.8855891         1.700
## 45             Malt 11 2001-10-31             0.9001610         0.800
## 46          Suggary 02 2001-10-31             0.8677686         2.050
## 47     Waugh sanct. 07 2001-10-31             0.8745174         1.200
## 48 Branche sud aval 03 2001-10-31             0.8623910         0.800
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491         0.780
## 50 Branche sud aval 03 2002-07-29             0.8623910         1.170
## 51           Sewell 08 2002-07-29             0.8037162         4.960
## 52        Pok amont 04 2002-07-29             0.7211478         0.190
## 53    br. sud amont 01 2002-07-29             0.8875586         0.900
## 54         Morrison 06 2002-07-29             0.9139108         0.690
## 55 McConnell Six Rd 05 2002-07-29             0.6337209         1.520
## 56          Pollard 10 2002-07-29             0.6431718         1.630
## 57     Waugh sanct. 07 2002-07-29             0.8745174         1.110
## 58          Dempsey 12 2002-07-29             0.8855891         1.970
## 59             Malt 11 2002-07-29             0.9001610         0.400
## 60          Suggary 02 2002-07-29             0.8677686         0.430
## 61        Pok amont 04 2002-08-28             0.7211478         0.390
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491         1.320
## 63          Dempsey 12 2002-08-28             0.8855891         4.440
## 64 Branche sud aval 03 2002-08-28             0.8623910         1.150
## 65           Sewell 08 2002-08-28             0.8037162         2.960
## 66          Pollard 10 2002-08-28             0.6431718         0.950
## 67    br. sud amont 01 2002-08-28             0.8875586         0.570
## 68         Morrison 06 2002-08-28             0.9139108         0.940
## 69 McConnell Six Rd 05 2002-08-28             0.6337209         1.340
## 70          Suggary 02 2002-08-28             0.8677686         0.820
## 71     Waugh sanct. 07 2002-08-28             0.8745174         1.510
## 72             Malt 11 2002-08-28             0.9001610         0.480
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491         0.940
## 74           Sewell 08 2002-10-02             0.8037162         5.255
## 75        Pok amont 04 2002-10-02             0.7211478         0.280
## 76     Waugh sanct. 07 2002-10-02             0.8745174         1.280
## 77          Dempsey 12 2002-10-02             0.8855891         3.770
## 78 Branche sud aval 03 2002-10-02             0.8623910         1.070
## 79 McConnell Six Rd 05 2002-10-02             0.6337209         2.110
## 80          Pollard 10 2002-10-02             0.6431718         0.690
## 81    br. sud amont 01 2002-10-02             0.8875586         0.740
## 82         Morrison 06 2002-10-02             0.9139108         0.770
## 83             Malt 11 2002-10-02             0.9001610         0.600
## 84          Suggary 02 2002-10-02             0.8677686         0.480
## 85        Pok amont 04 2002-10-31             0.7211478         0.580
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491         0.870
## 87 Branche sud aval 03 2002-10-31             0.8623910           NaN
## 88           Sewell 08 2002-10-31             0.8037162         8.740
## 89          Suggary 02 2002-10-31             0.8677686         0.410
## 90     Waugh sanct. 07 2002-10-31             0.8745174         1.440
## 91          Dempsey 12 2002-10-31             0.8855891         2.880
## 92         Morrison 06 2002-10-31             0.9139108         0.620
## 93 McConnell Six Rd 05 2002-10-31             0.6337209         1.500
## 94          Pollard 10 2002-10-31             0.6431718         1.060
## 95    br. sud amont 01 2002-10-31             0.8875586         1.220
## 96             Malt 11 2002-10-31             0.9001610         0.900
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctFO_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28             0.8511192           1.2
## 98           Dempsey 12 2021-07-28             0.9154856           1.6
## 99  Branche sud aval 03 2021-07-28             0.8878154           1.8
## 100           Sewell 08 2021-07-28             0.9101240           3.5
## 101     Waugh sanct. 07 2021-07-28             0.8362934           1.1
## 102    br. sud amont 01 2021-07-28             0.8549172           2.3
## 103         Morrison 06 2021-07-28             0.7947874           1.4
## 104             Malt 11 2021-07-28             0.8016892           0.7
## 105 McConnell Six Rd 05 2021-07-28             0.6512789           1.9
## 106          Pollard 10 2021-07-28             0.7773585           1.2
## 107        Pok amont 04 2021-07-28             0.6323792           0.9
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034           1.7
## 109             Malt 11 2021-08-31             0.7773585           0.5
## 110          Suggary 02 2021-08-31             0.6417034           0.7
## 111     Waugh sanct. 07 2021-08-31             0.8511192           1.1
## 112          Dempsey 12 2021-08-31             0.9154856           1.7
## 113 Branche sud aval 03 2021-08-31             0.8878154           1.7
## 114           Sewell 08 2021-08-31             0.9101240           3.0
## 115          Pollard 10 2021-08-31             0.8362934           1.7
## 116    br. sud amont 01 2021-08-31             0.8549172           5.6
## 117         Morrison 06 2021-08-31             0.7947874           2.6
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892           2.0
## 119 McConnell Six Rd 05 2021-08-31             0.6512789           3.2
## 120        Pok amont 04 2021-08-31             0.6323792           1.5
## 121          Suggary 02 2021-10-05             0.6512789           0.7
## 122         Morrison 06 2021-10-05             0.7773585           1.4
## 123             Malt 11 2021-10-05             0.6323792           0.9
## 124           Sewell 08 2021-10-05             0.6417034           4.2
## 125     Waugh sanct. 07 2021-10-05             0.8511192           1.2
## 126          Dempsey 12 2021-10-05             0.9154856           1.8
## 127 Branche sud aval 03 2021-10-05             0.8878154           1.7
## 128 McConnell Six Rd 05 2021-10-05             0.9101240           1.8
## 129          Pollard 10 2021-10-05             0.8362934           1.8
## 130    br. sud amont 01 2021-10-05             0.8549172           3.7
## 131        Pok amont 04 2021-10-05             0.7947874           1.0
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892           1.4
## 133             Malt 11 2021-10-28             0.8016892           0.5
## 134          Suggary 02 2021-10-28             0.6512789           0.2
## 135    br. sud amont 01 2021-10-28             0.7773585           1.9
## 136         Morrison 06 2021-10-28             0.9154856           0.6
## 137 Branche sud aval 03 2021-10-28             0.6323792           1.3
## 138           Sewell 08 2021-10-28             0.6417034           2.8
## 139     Waugh sanct. 07 2021-10-28             0.8511192           1.0
## 140          Dempsey 12 2021-10-28             0.8549172           1.3
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154           0.7
## 142 McConnell Six Rd 05 2021-10-28             0.9101240           1.4
## 143          Pollard 10 2021-10-28             0.8362934           0.8
## 144        Pok amont 04 2021-10-28             0.7947874           0.6
## 145          Pollard 10 2022-07-28             0.7773585           0.4
## 146         Morrison 06 2022-07-28             0.7947874           0.7
## 147             Malt 11 2022-07-28             0.8016892           0.4
## 148          Suggary 02 2022-07-28             0.6512789           0.5
## 149    br. sud amont 01 2022-07-28             0.8511192           2.7
## 150          Dempsey 12 2022-07-28             0.9154856           1.2
## 151 Branche sud aval 03 2022-07-28             0.6323792           2.1
## 152           Sewell 08 2022-07-28             0.6417034           1.8
## 153     Waugh sanct. 07 2022-07-28             0.8362934           1.0
## 154        Pok amont 04 2022-07-28             0.8549172           0.7
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154           0.7
## 156 McConnell Six Rd 05 2022-07-28             0.9101240           0.8
## 157 McConnell Six Rd 05 2022-09-01             0.6512789           1.9
## 158          Pollard 10 2022-09-01             0.7773585           1.3
## 159    br. sud amont 01 2022-09-01             0.8549172           3.0
## 160         Morrison 06 2022-09-01             0.7947874           2.4
## 161             Malt 11 2022-09-01             0.8016892           0.5
## 162          Suggary 02 2022-09-01             0.6417034           0.7
## 163     Waugh sanct. 07 2022-09-01             0.8511192           1.8
## 164          Dempsey 12 2022-09-01             0.9154856           2.2
## 165 Branche sud aval 03 2022-09-01             0.6323792           1.9
## 166           Sewell 08 2022-09-01             0.9101240           2.6
## 167        Pok amont 04 2022-09-01             0.8362934           1.5
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154           1.4
## 169           Sewell 08 2022-10-03             0.7773585           3.6
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892           1.2
## 171 McConnell Six Rd 05 2022-10-03             0.6512789           1.9
## 172          Pollard 10 2022-10-03             0.8362934           0.4
## 173    br. sud amont 01 2022-10-03             0.8549172           2.8
## 174         Morrison 06 2022-10-03             0.7947874           1.0
## 175             Malt 11 2022-10-03             0.6323792           0.4
## 176          Suggary 02 2022-10-03             0.6417034           0.3
## 177     Waugh sanct. 07 2022-10-03             0.8511192           1.3
## 178          Dempsey 12 2022-10-03             0.9154856           1.3
## 179 Branche sud aval 03 2022-10-03             0.8878154           1.6
## 180        Pok amont 04 2022-10-03             0.9101240           1.5
## 181 Branche sud aval 03 2022-11-01             0.6512789           2.6
## 182           Sewell 08 2022-11-01             0.7773585           5.4
## 183        Pok amont 04 2022-11-01             0.7947874           0.8
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892           2.6
## 185 McConnell Six Rd 05 2022-11-01             0.9101240           2.0
## 186          Pollard 10 2022-11-01             0.8362934           0.7
## 187    br. sud amont 01 2022-11-01             0.8549172           4.8
## 188         Morrison 06 2022-11-01             0.9154856           2.8
## 189             Malt 11 2022-11-01             0.6323792           1.5
## 190          Suggary 02 2022-11-01             0.6417034           0.7
## 191     Waugh sanct. 07 2022-11-01             0.8511192           1.6
## 192          Dempsey 12 2022-11-01             0.8878154           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=log10(Turbidity_NTU),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=log10(Turbidity_NTU)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=log10(Turbidity_NTU),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=log10(Turbidity_NTU)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 3 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_forets_vs_Couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Colour_TCU))
##               Station2       Date pctFO_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01             0.8875586        5.0
## 2          Morrison 06 2001-08-01             0.9139108       10.0
## 3              Malt 11 2001-08-01             0.9001610       10.0
## 4           Suggary 02 2001-08-01             0.8677686        5.0
## 5      Waugh sanct. 07 2001-08-01             0.8745174       20.0
## 6           Dempsey 12 2001-08-01             0.8855891       15.0
## 7  Branche sud aval 03 2001-08-01             0.8623910        5.0
## 8            Sewell 08 2001-08-01             0.8037162        5.0
## 9         Pok amont 04 2001-08-01             0.7211478        0.0
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491        0.0
## 11 McConnell Six Rd 05 2001-08-01             0.6337209        5.0
## 12          Pollard 10 2001-08-01             0.6431718        5.0
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491        5.0
## 14          Pollard 10 2001-08-28             0.6431718        5.0
## 15    br. sud amont 01 2001-08-28             0.8875586        5.0
## 16         Morrison 06 2001-08-28             0.9139108        5.0
## 17             Malt 11 2001-08-28             0.9001610        5.0
## 18          Suggary 02 2001-08-28             0.8677686       10.0
## 19     Waugh sanct. 07 2001-08-28             0.8745174       10.0
## 20          Dempsey 12 2001-08-28             0.8855891       15.0
## 21 Branche sud aval 03 2001-08-28             0.8623910        5.0
## 22           Sewell 08 2001-08-28             0.8037162       30.0
## 23        Pok amont 04 2001-08-28             0.7211478        5.0
## 24 McConnell Six Rd 05 2001-08-28             0.6337209        5.0
## 25        Pok amont 04 2001-09-26             0.7211478       10.0
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491       30.0
## 27 McConnell Six Rd 05 2001-09-26             0.6337209       15.0
## 28          Pollard 10 2001-09-26             0.6431718       20.0
## 29    br. sud amont 01 2001-09-26             0.8875586      200.0
## 30         Morrison 06 2001-09-26             0.9139108        5.0
## 31             Malt 11 2001-09-26             0.9001610       20.0
## 32          Suggary 02 2001-09-26             0.8677686        5.0
## 33     Waugh sanct. 07 2001-09-26             0.8745174       10.0
## 34          Dempsey 12 2001-09-26             0.8855891       20.0
## 35 Branche sud aval 03 2001-09-26             0.8623910       10.0
## 36           Sewell 08 2001-09-26             0.8037162       30.0
## 37           Sewell 08 2001-10-31             0.8037162       80.0
## 38        Pok amont 04 2001-10-31             0.7211478        5.0
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491       20.0
## 40         Morrison 06 2001-10-31             0.9139108       15.0
## 41 McConnell Six Rd 05 2001-10-31             0.6337209      120.0
## 42          Pollard 10 2001-10-31             0.6431718       10.0
## 43    br. sud amont 01 2001-10-31             0.8875586       30.0
## 44          Dempsey 12 2001-10-31             0.8855891       30.0
## 45             Malt 11 2001-10-31             0.9001610       10.0
## 46          Suggary 02 2001-10-31             0.8677686       30.0
## 47     Waugh sanct. 07 2001-10-31             0.8745174      100.0
## 48 Branche sud aval 03 2001-10-31             0.8623910       20.0
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491       10.0
## 50 Branche sud aval 03 2002-07-29             0.8623910       15.0
## 51           Sewell 08 2002-07-29             0.8037162       40.0
## 52        Pok amont 04 2002-07-29             0.7211478        5.0
## 53    br. sud amont 01 2002-07-29             0.8875586       15.0
## 54         Morrison 06 2002-07-29             0.9139108       10.0
## 55 McConnell Six Rd 05 2002-07-29             0.6337209       80.0
## 56          Pollard 10 2002-07-29             0.6431718       10.0
## 57     Waugh sanct. 07 2002-07-29             0.8745174       40.0
## 58          Dempsey 12 2002-07-29             0.8855891       20.0
## 59             Malt 11 2002-07-29             0.9001610        5.0
## 60          Suggary 02 2002-07-29             0.8677686        5.0
## 61        Pok amont 04 2002-08-28             0.7211478        5.0
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491       20.0
## 63          Dempsey 12 2002-08-28             0.8855891       40.0
## 64 Branche sud aval 03 2002-08-28             0.8623910       15.0
## 65           Sewell 08 2002-08-28             0.8037162       40.0
## 66          Pollard 10 2002-08-28             0.6431718       10.0
## 67    br. sud amont 01 2002-08-28             0.8875586       10.0
## 68         Morrison 06 2002-08-28             0.9139108       10.0
## 69 McConnell Six Rd 05 2002-08-28             0.6337209       20.0
## 70          Suggary 02 2002-08-28             0.8677686        7.5
## 71     Waugh sanct. 07 2002-08-28             0.8745174       30.0
## 72             Malt 11 2002-08-28             0.9001610       10.0
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491        5.0
## 74           Sewell 08 2002-10-02             0.8037162       60.0
## 75        Pok amont 04 2002-10-02             0.7211478        5.0
## 76     Waugh sanct. 07 2002-10-02             0.8745174       20.0
## 77          Dempsey 12 2002-10-02             0.8855891       20.0
## 78 Branche sud aval 03 2002-10-02             0.8623910       15.0
## 79 McConnell Six Rd 05 2002-10-02             0.6337209       60.0
## 80          Pollard 10 2002-10-02             0.6431718       10.0
## 81    br. sud amont 01 2002-10-02             0.8875586       10.0
## 82         Morrison 06 2002-10-02             0.9139108       10.0
## 83             Malt 11 2002-10-02             0.9001610        5.0
## 84          Suggary 02 2002-10-02             0.8677686        5.0
## 85        Pok amont 04 2002-10-31             0.7211478        5.0
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491       20.0
## 87 Branche sud aval 03 2002-10-31             0.8623910        NaN
## 88           Sewell 08 2002-10-31             0.8037162       60.0
## 89          Suggary 02 2002-10-31             0.8677686        5.0
## 90     Waugh sanct. 07 2002-10-31             0.8745174       60.0
## 91          Dempsey 12 2002-10-31             0.8855891       30.0
## 92         Morrison 06 2002-10-31             0.9139108        5.0
## 93 McConnell Six Rd 05 2002-10-31             0.6337209       75.0
## 94          Pollard 10 2002-10-31             0.6431718        5.0
## 95    br. sud amont 01 2002-10-31             0.8875586       30.0
## 96             Malt 11 2002-10-31             0.9001610       15.0
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Colour_TCU))
##                Station2       Date pctFO_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28             0.8511192          8
## 98           Dempsey 12 2021-07-28             0.9154856         22
## 99  Branche sud aval 03 2021-07-28             0.8878154         19
## 100           Sewell 08 2021-07-28             0.9101240         34
## 101     Waugh sanct. 07 2021-07-28             0.8362934         27
## 102    br. sud amont 01 2021-07-28             0.8549172         15
## 103         Morrison 06 2021-07-28             0.7947874         14
## 104             Malt 11 2021-07-28             0.8016892          7
## 105 McConnell Six Rd 05 2021-07-28             0.6512789         29
## 106          Pollard 10 2021-07-28             0.7773585          8
## 107        Pok amont 04 2021-07-28             0.6323792         11
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034          9
## 109             Malt 11 2021-08-31             0.7773585          5
## 110          Suggary 02 2021-08-31             0.6417034          5
## 111     Waugh sanct. 07 2021-08-31             0.8511192         14
## 112          Dempsey 12 2021-08-31             0.9154856         14
## 113 Branche sud aval 03 2021-08-31             0.8878154         20
## 114           Sewell 08 2021-08-31             0.9101240         24
## 115          Pollard 10 2021-08-31             0.8362934          8
## 116    br. sud amont 01 2021-08-31             0.8549172         12
## 117         Morrison 06 2021-08-31             0.7947874         18
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892          8
## 119 McConnell Six Rd 05 2021-08-31             0.6512789         37
## 120        Pok amont 04 2021-08-31             0.6323792         10
## 121          Suggary 02 2021-10-05             0.6512789          8
## 122         Morrison 06 2021-10-05             0.7773585         22
## 123             Malt 11 2021-10-05             0.6323792         66
## 124           Sewell 08 2021-10-05             0.6417034         47
## 125     Waugh sanct. 07 2021-10-05             0.8511192        190
## 126          Dempsey 12 2021-10-05             0.9154856         55
## 127 Branche sud aval 03 2021-10-05             0.8878154         38
## 128 McConnell Six Rd 05 2021-10-05             0.9101240        141
## 129          Pollard 10 2021-10-05             0.8362934         19
## 130    br. sud amont 01 2021-10-05             0.8549172         44
## 131        Pok amont 04 2021-10-05             0.7947874         21
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892         33
## 133             Malt 11 2021-10-28             0.8016892         47
## 134          Suggary 02 2021-10-28             0.6512789          5
## 135    br. sud amont 01 2021-10-28             0.7773585         32
## 136         Morrison 06 2021-10-28             0.9154856         13
## 137 Branche sud aval 03 2021-10-28             0.6323792         22
## 138           Sewell 08 2021-10-28             0.6417034         43
## 139     Waugh sanct. 07 2021-10-28             0.8511192        130
## 140          Dempsey 12 2021-10-28             0.8549172         33
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154         15
## 142 McConnell Six Rd 05 2021-10-28             0.9101240        107
## 143          Pollard 10 2021-10-28             0.8362934         12
## 144        Pok amont 04 2021-10-28             0.7947874         13
## 145          Pollard 10 2022-07-28             0.7773585          5
## 146         Morrison 06 2022-07-28             0.7947874          7
## 147             Malt 11 2022-07-28             0.8016892          6
## 148          Suggary 02 2022-07-28             0.6512789          5
## 149    br. sud amont 01 2022-07-28             0.8511192         26
## 150          Dempsey 12 2022-07-28             0.9154856         16
## 151 Branche sud aval 03 2022-07-28             0.6323792         18
## 152           Sewell 08 2022-07-28             0.6417034         33
## 153     Waugh sanct. 07 2022-07-28             0.8362934         27
## 154        Pok amont 04 2022-07-28             0.8549172          7
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154          5
## 156 McConnell Six Rd 05 2022-07-28             0.9101240         15
## 157 McConnell Six Rd 05 2022-09-01             0.6512789         48
## 158          Pollard 10 2022-09-01             0.7773585         23
## 159    br. sud amont 01 2022-09-01             0.8549172         23
## 160         Morrison 06 2022-09-01             0.7947874         15
## 161             Malt 11 2022-09-01             0.8016892         10
## 162          Suggary 02 2022-09-01             0.6417034          8
## 163     Waugh sanct. 07 2022-09-01             0.8511192         61
## 164          Dempsey 12 2022-09-01             0.9154856         21
## 165 Branche sud aval 03 2022-09-01             0.6323792         21
## 166           Sewell 08 2022-09-01             0.9101240         43
## 167        Pok amont 04 2022-09-01             0.8362934         14
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154         41
## 169           Sewell 08 2022-10-03             0.7773585         71
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892          8
## 171 McConnell Six Rd 05 2022-10-03             0.6512789        130
## 172          Pollard 10 2022-10-03             0.8362934         10
## 173    br. sud amont 01 2022-10-03             0.8549172         20
## 174         Morrison 06 2022-10-03             0.7947874         10
## 175             Malt 11 2022-10-03             0.6323792          5
## 176          Suggary 02 2022-10-03             0.6417034          5
## 177     Waugh sanct. 07 2022-10-03             0.8511192         53
## 178          Dempsey 12 2022-10-03             0.9154856         16
## 179 Branche sud aval 03 2022-10-03             0.8878154         17
## 180        Pok amont 04 2022-10-03             0.9101240         12
## 181 Branche sud aval 03 2022-11-01             0.6512789         25
## 182           Sewell 08 2022-11-01             0.7773585         60
## 183        Pok amont 04 2022-11-01             0.7947874         11
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892         21
## 185 McConnell Six Rd 05 2022-11-01             0.9101240        148
## 186          Pollard 10 2022-11-01             0.8362934         11
## 187    br. sud amont 01 2022-11-01             0.8549172         42
## 188         Morrison 06 2022-11-01             0.9154856         13
## 189             Malt 11 2022-11-01             0.6323792         22
## 190          Suggary 02 2022-11-01             0.6417034          9
## 191     Waugh sanct. 07 2022-11-01             0.8511192        143
## 192          Dempsey 12 2022-11-01             0.8878154         28
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Zone_forets_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctFO_supdrainee_1990
## 1     br. sud amont 01 2001-08-01             0.8875586
## 2          Morrison 06 2001-08-01             0.9139108
## 3              Malt 11 2001-08-01             0.9001610
## 4           Suggary 02 2001-08-01             0.8677686
## 5      Waugh sanct. 07 2001-08-01             0.8745174
## 6           Dempsey 12 2001-08-01             0.8855891
## 7  Branche sud aval 03 2001-08-01             0.8623910
## 8            Sewell 08 2001-08-01             0.8037162
## 9         Pok amont 04 2001-08-01             0.7211478
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491
## 11 McConnell Six Rd 05 2001-08-01             0.6337209
## 12          Pollard 10 2001-08-01             0.6431718
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491
## 14          Pollard 10 2001-08-28             0.6431718
## 15    br. sud amont 01 2001-08-28             0.8875586
## 16         Morrison 06 2001-08-28             0.9139108
## 17             Malt 11 2001-08-28             0.9001610
## 18          Suggary 02 2001-08-28             0.8677686
## 19     Waugh sanct. 07 2001-08-28             0.8745174
## 20          Dempsey 12 2001-08-28             0.8855891
## 21 Branche sud aval 03 2001-08-28             0.8623910
## 22           Sewell 08 2001-08-28             0.8037162
## 23        Pok amont 04 2001-08-28             0.7211478
## 24 McConnell Six Rd 05 2001-08-28             0.6337209
## 25        Pok amont 04 2001-09-26             0.7211478
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491
## 27 McConnell Six Rd 05 2001-09-26             0.6337209
## 28          Pollard 10 2001-09-26             0.6431718
## 29    br. sud amont 01 2001-09-26             0.8875586
## 30         Morrison 06 2001-09-26             0.9139108
## 31             Malt 11 2001-09-26             0.9001610
## 32          Suggary 02 2001-09-26             0.8677686
## 33     Waugh sanct. 07 2001-09-26             0.8745174
## 34          Dempsey 12 2001-09-26             0.8855891
## 35 Branche sud aval 03 2001-09-26             0.8623910
## 36           Sewell 08 2001-09-26             0.8037162
## 37           Sewell 08 2001-10-31             0.8037162
## 38        Pok amont 04 2001-10-31             0.7211478
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491
## 40         Morrison 06 2001-10-31             0.9139108
## 41 McConnell Six Rd 05 2001-10-31             0.6337209
## 42          Pollard 10 2001-10-31             0.6431718
## 43    br. sud amont 01 2001-10-31             0.8875586
## 44          Dempsey 12 2001-10-31             0.8855891
## 45             Malt 11 2001-10-31             0.9001610
## 46          Suggary 02 2001-10-31             0.8677686
## 47     Waugh sanct. 07 2001-10-31             0.8745174
## 48 Branche sud aval 03 2001-10-31             0.8623910
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491
## 50 Branche sud aval 03 2002-07-29             0.8623910
## 51           Sewell 08 2002-07-29             0.8037162
## 52        Pok amont 04 2002-07-29             0.7211478
## 53    br. sud amont 01 2002-07-29             0.8875586
## 54         Morrison 06 2002-07-29             0.9139108
## 55 McConnell Six Rd 05 2002-07-29             0.6337209
## 56          Pollard 10 2002-07-29             0.6431718
## 57     Waugh sanct. 07 2002-07-29             0.8745174
## 58          Dempsey 12 2002-07-29             0.8855891
## 59             Malt 11 2002-07-29             0.9001610
## 60          Suggary 02 2002-07-29             0.8677686
## 61        Pok amont 04 2002-08-28             0.7211478
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491
## 63          Dempsey 12 2002-08-28             0.8855891
## 64 Branche sud aval 03 2002-08-28             0.8623910
## 65           Sewell 08 2002-08-28             0.8037162
## 66          Pollard 10 2002-08-28             0.6431718
## 67    br. sud amont 01 2002-08-28             0.8875586
## 68         Morrison 06 2002-08-28             0.9139108
## 69 McConnell Six Rd 05 2002-08-28             0.6337209
## 70          Suggary 02 2002-08-28             0.8677686
## 71     Waugh sanct. 07 2002-08-28             0.8745174
## 72             Malt 11 2002-08-28             0.9001610
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491
## 74           Sewell 08 2002-10-02             0.8037162
## 75        Pok amont 04 2002-10-02             0.7211478
## 76     Waugh sanct. 07 2002-10-02             0.8745174
## 77          Dempsey 12 2002-10-02             0.8855891
## 78 Branche sud aval 03 2002-10-02             0.8623910
## 79 McConnell Six Rd 05 2002-10-02             0.6337209
## 80          Pollard 10 2002-10-02             0.6431718
## 81    br. sud amont 01 2002-10-02             0.8875586
## 82         Morrison 06 2002-10-02             0.9139108
## 83             Malt 11 2002-10-02             0.9001610
## 84          Suggary 02 2002-10-02             0.8677686
## 85        Pok amont 04 2002-10-31             0.7211478
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491
## 87 Branche sud aval 03 2002-10-31             0.8623910
## 88           Sewell 08 2002-10-31             0.8037162
## 89          Suggary 02 2002-10-31             0.8677686
## 90     Waugh sanct. 07 2002-10-31             0.8745174
## 91          Dempsey 12 2002-10-31             0.8855891
## 92         Morrison 06 2002-10-31             0.9139108
## 93 McConnell Six Rd 05 2002-10-31             0.6337209
## 94          Pollard 10 2002-10-31             0.6431718
## 95    br. sud amont 01 2002-10-31             0.8875586
## 96             Malt 11 2002-10-31             0.9001610
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctFO_supdrainee_2020
## 97           Suggary 02 2021-07-28             0.8511192
## 98           Dempsey 12 2021-07-28             0.9154856
## 99  Branche sud aval 03 2021-07-28             0.8878154
## 100           Sewell 08 2021-07-28             0.9101240
## 101     Waugh sanct. 07 2021-07-28             0.8362934
## 102    br. sud amont 01 2021-07-28             0.8549172
## 103         Morrison 06 2021-07-28             0.7947874
## 104             Malt 11 2021-07-28             0.8016892
## 105 McConnell Six Rd 05 2021-07-28             0.6512789
## 106          Pollard 10 2021-07-28             0.7773585
## 107        Pok amont 04 2021-07-28             0.6323792
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034
## 109             Malt 11 2021-08-31             0.7773585
## 110          Suggary 02 2021-08-31             0.6417034
## 111     Waugh sanct. 07 2021-08-31             0.8511192
## 112          Dempsey 12 2021-08-31             0.9154856
## 113 Branche sud aval 03 2021-08-31             0.8878154
## 114           Sewell 08 2021-08-31             0.9101240
## 115          Pollard 10 2021-08-31             0.8362934
## 116    br. sud amont 01 2021-08-31             0.8549172
## 117         Morrison 06 2021-08-31             0.7947874
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892
## 119 McConnell Six Rd 05 2021-08-31             0.6512789
## 120        Pok amont 04 2021-08-31             0.6323792
## 121          Suggary 02 2021-10-05             0.6512789
## 122         Morrison 06 2021-10-05             0.7773585
## 123             Malt 11 2021-10-05             0.6323792
## 124           Sewell 08 2021-10-05             0.6417034
## 125     Waugh sanct. 07 2021-10-05             0.8511192
## 126          Dempsey 12 2021-10-05             0.9154856
## 127 Branche sud aval 03 2021-10-05             0.8878154
## 128 McConnell Six Rd 05 2021-10-05             0.9101240
## 129          Pollard 10 2021-10-05             0.8362934
## 130    br. sud amont 01 2021-10-05             0.8549172
## 131        Pok amont 04 2021-10-05             0.7947874
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892
## 133             Malt 11 2021-10-28             0.8016892
## 134          Suggary 02 2021-10-28             0.6512789
## 135    br. sud amont 01 2021-10-28             0.7773585
## 136         Morrison 06 2021-10-28             0.9154856
## 137 Branche sud aval 03 2021-10-28             0.6323792
## 138           Sewell 08 2021-10-28             0.6417034
## 139     Waugh sanct. 07 2021-10-28             0.8511192
## 140          Dempsey 12 2021-10-28             0.8549172
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154
## 142 McConnell Six Rd 05 2021-10-28             0.9101240
## 143          Pollard 10 2021-10-28             0.8362934
## 144        Pok amont 04 2021-10-28             0.7947874
## 145          Pollard 10 2022-07-28             0.7773585
## 146         Morrison 06 2022-07-28             0.7947874
## 147             Malt 11 2022-07-28             0.8016892
## 148          Suggary 02 2022-07-28             0.6512789
## 149    br. sud amont 01 2022-07-28             0.8511192
## 150          Dempsey 12 2022-07-28             0.9154856
## 151 Branche sud aval 03 2022-07-28             0.6323792
## 152           Sewell 08 2022-07-28             0.6417034
## 153     Waugh sanct. 07 2022-07-28             0.8362934
## 154        Pok amont 04 2022-07-28             0.8549172
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154
## 156 McConnell Six Rd 05 2022-07-28             0.9101240
## 157 McConnell Six Rd 05 2022-09-01             0.6512789
## 158          Pollard 10 2022-09-01             0.7773585
## 159    br. sud amont 01 2022-09-01             0.8549172
## 160         Morrison 06 2022-09-01             0.7947874
## 161             Malt 11 2022-09-01             0.8016892
## 162          Suggary 02 2022-09-01             0.6417034
## 163     Waugh sanct. 07 2022-09-01             0.8511192
## 164          Dempsey 12 2022-09-01             0.9154856
## 165 Branche sud aval 03 2022-09-01             0.6323792
## 166           Sewell 08 2022-09-01             0.9101240
## 167        Pok amont 04 2022-09-01             0.8362934
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154
## 169           Sewell 08 2022-10-03             0.7773585
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892
## 171 McConnell Six Rd 05 2022-10-03             0.6512789
## 172          Pollard 10 2022-10-03             0.8362934
## 173    br. sud amont 01 2022-10-03             0.8549172
## 174         Morrison 06 2022-10-03             0.7947874
## 175             Malt 11 2022-10-03             0.6323792
## 176          Suggary 02 2022-10-03             0.6417034
## 177     Waugh sanct. 07 2022-10-03             0.8511192
## 178          Dempsey 12 2022-10-03             0.9154856
## 179 Branche sud aval 03 2022-10-03             0.8878154
## 180        Pok amont 04 2022-10-03             0.9101240
## 181 Branche sud aval 03 2022-11-01             0.6512789
## 182           Sewell 08 2022-11-01             0.7773585
## 183        Pok amont 04 2022-11-01             0.7947874
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892
## 185 McConnell Six Rd 05 2022-11-01             0.9101240
## 186          Pollard 10 2022-11-01             0.8362934
## 187    br. sud amont 01 2022-11-01             0.8549172
## 188         Morrison 06 2022-11-01             0.9154856
## 189             Malt 11 2022-11-01             0.6323792
## 190          Suggary 02 2022-11-01             0.6417034
## 191     Waugh sanct. 07 2022-11-01             0.8511192
## 192          Dempsey 12 2022-11-01             0.8878154
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la COT et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_forets_vs_Coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctFO_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01             0.8875586                10
## 2          Morrison 06 2001-08-01             0.9139108                80
## 3              Malt 11 2001-08-01             0.9001610                30
## 4           Suggary 02 2001-08-01             0.8677686                10
## 5      Waugh sanct. 07 2001-08-01             0.8745174               270
## 6           Dempsey 12 2001-08-01             0.8855891                50
## 7  Branche sud aval 03 2001-08-01             0.8623910                10
## 8            Sewell 08 2001-08-01             0.8037162                20
## 9         Pok amont 04 2001-08-01             0.7211478                10
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491                10
## 11 McConnell Six Rd 05 2001-08-01             0.6337209                30
## 12          Pollard 10 2001-08-01             0.6431718               110
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491                10
## 14          Pollard 10 2001-08-28             0.6431718                50
## 15    br. sud amont 01 2001-08-28             0.8875586               120
## 16         Morrison 06 2001-08-28             0.9139108                90
## 17             Malt 11 2001-08-28             0.9001610                20
## 18          Suggary 02 2001-08-28             0.8677686                80
## 19     Waugh sanct. 07 2001-08-28             0.8745174               430
## 20          Dempsey 12 2001-08-28             0.8855891                20
## 21 Branche sud aval 03 2001-08-28             0.8623910               110
## 22           Sewell 08 2001-08-28             0.8037162               210
## 23        Pok amont 04 2001-08-28             0.7211478                10
## 24 McConnell Six Rd 05 2001-08-28             0.6337209               250
## 25        Pok amont 04 2001-09-26             0.7211478               530
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491               830
## 27 McConnell Six Rd 05 2001-09-26             0.6337209               120
## 28          Pollard 10 2001-09-26             0.6431718              1240
## 29    br. sud amont 01 2001-09-26             0.8875586              2000
## 30         Morrison 06 2001-09-26             0.9139108               220
## 31             Malt 11 2001-09-26             0.9001610               150
## 32          Suggary 02 2001-09-26             0.8677686               150
## 33     Waugh sanct. 07 2001-09-26             0.8745174               590
## 34          Dempsey 12 2001-09-26             0.8855891               150
## 35 Branche sud aval 03 2001-09-26             0.8623910               660
## 36           Sewell 08 2001-09-26             0.8037162               190
## 37           Sewell 08 2001-10-31             0.8037162               140
## 38        Pok amont 04 2001-10-31             0.7211478                20
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491                10
## 40         Morrison 06 2001-10-31             0.9139108                10
## 41 McConnell Six Rd 05 2001-10-31             0.6337209               310
## 42          Pollard 10 2001-10-31             0.6431718                50
## 43    br. sud amont 01 2001-10-31             0.8875586                20
## 44          Dempsey 12 2001-10-31             0.8855891                10
## 45             Malt 11 2001-10-31             0.9001610               100
## 46          Suggary 02 2001-10-31             0.8677686                30
## 47     Waugh sanct. 07 2001-10-31             0.8745174               480
## 48 Branche sud aval 03 2001-10-31             0.8623910                30
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491                10
## 50 Branche sud aval 03 2002-07-29             0.8623910                30
## 51           Sewell 08 2002-07-29             0.8037162                60
## 52        Pok amont 04 2002-07-29             0.7211478                10
## 53    br. sud amont 01 2002-07-29             0.8875586                20
## 54         Morrison 06 2002-07-29             0.9139108                10
## 55 McConnell Six Rd 05 2002-07-29             0.6337209                10
## 56          Pollard 10 2002-07-29             0.6431718               660
## 57     Waugh sanct. 07 2002-07-29             0.8745174                80
## 58          Dempsey 12 2002-07-29             0.8855891                25
## 59             Malt 11 2002-07-29             0.9001610                10
## 60          Suggary 02 2002-07-29             0.8677686                10
## 61        Pok amont 04 2002-08-28             0.7211478                30
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491                10
## 63          Dempsey 12 2002-08-28             0.8855891                10
## 64 Branche sud aval 03 2002-08-28             0.8623910                20
## 65           Sewell 08 2002-08-28             0.8037162                10
## 66          Pollard 10 2002-08-28             0.6431718               180
## 67    br. sud amont 01 2002-08-28             0.8875586                80
## 68         Morrison 06 2002-08-28             0.9139108                20
## 69 McConnell Six Rd 05 2002-08-28             0.6337209               310
## 70          Suggary 02 2002-08-28             0.8677686                15
## 71     Waugh sanct. 07 2002-08-28             0.8745174               410
## 72             Malt 11 2002-08-28             0.9001610                30
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491                10
## 74           Sewell 08 2002-10-02             0.8037162                25
## 75        Pok amont 04 2002-10-02             0.7211478                10
## 76     Waugh sanct. 07 2002-10-02             0.8745174               700
## 77          Dempsey 12 2002-10-02             0.8855891                30
## 78 Branche sud aval 03 2002-10-02             0.8623910                40
## 79 McConnell Six Rd 05 2002-10-02             0.6337209               150
## 80          Pollard 10 2002-10-02             0.6431718                10
## 81    br. sud amont 01 2002-10-02             0.8875586                20
## 82         Morrison 06 2002-10-02             0.9139108                10
## 83             Malt 11 2002-10-02             0.9001610                90
## 84          Suggary 02 2002-10-02             0.8677686                20
## 85        Pok amont 04 2002-10-31             0.7211478                10
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491                10
## 87 Branche sud aval 03 2002-10-31             0.8623910                10
## 88           Sewell 08 2002-10-31             0.8037162                10
## 89          Suggary 02 2002-10-31             0.8677686                50
## 90     Waugh sanct. 07 2002-10-31             0.8745174                40
## 91          Dempsey 12 2002-10-31             0.8855891                10
## 92         Morrison 06 2002-10-31             0.9139108                10
## 93 McConnell Six Rd 05 2002-10-31             0.6337209                30
## 94          Pollard 10 2002-10-31             0.6431718                10
## 95    br. sud amont 01 2002-10-31             0.8875586                10
## 96             Malt 11 2002-10-31             0.9001610                10
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctFO_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28             0.8511192              20.0
## 98           Dempsey 12 2021-07-28             0.9154856              52.0
## 99  Branche sud aval 03 2021-07-28             0.8878154              74.0
## 100           Sewell 08 2021-07-28             0.9101240              98.0
## 101     Waugh sanct. 07 2021-07-28             0.8362934              52.0
## 102    br. sud amont 01 2021-07-28             0.8549172              75.0
## 103         Morrison 06 2021-07-28             0.7947874              30.0
## 104             Malt 11 2021-07-28             0.8016892              10.0
## 105 McConnell Six Rd 05 2021-07-28             0.6512789              75.0
## 106          Pollard 10 2021-07-28             0.7773585              98.0
## 107        Pok amont 04 2021-07-28             0.6323792              10.0
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034              20.0
## 109             Malt 11 2021-08-31             0.7773585              39.3
## 110          Suggary 02 2021-08-31             0.6417034             235.9
## 111     Waugh sanct. 07 2021-08-31             0.8511192              68.3
## 112          Dempsey 12 2021-08-31             0.9154856              49.6
## 113 Branche sud aval 03 2021-08-31             0.8878154              54.5
## 114           Sewell 08 2021-08-31             0.9101240             148.3
## 115          Pollard 10 2021-08-31             0.8362934             117.8
## 116    br. sud amont 01 2021-08-31             0.8549172              72.7
## 117         Morrison 06 2021-08-31             0.7947874              25.6
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892              67.7
## 119 McConnell Six Rd 05 2021-08-31             0.6512789              70.3
## 120        Pok amont 04 2021-08-31             0.6323792              15.6
## 121          Suggary 02 2021-10-05             0.6512789              41.7
## 122         Morrison 06 2021-10-05             0.7773585              24.6
## 123             Malt 11 2021-10-05             0.6323792              47.1
## 124           Sewell 08 2021-10-05             0.6417034             135.4
## 125     Waugh sanct. 07 2021-10-05             0.8511192              29.5
## 126          Dempsey 12 2021-10-05             0.9154856              54.8
## 127 Branche sud aval 03 2021-10-05             0.8878154              37.3
## 128 McConnell Six Rd 05 2021-10-05             0.9101240              95.9
## 129          Pollard 10 2021-10-05             0.8362934              62.7
## 130    br. sud amont 01 2021-10-05             0.8549172              35.5
## 131        Pok amont 04 2021-10-05             0.7947874              10.8
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892              27.5
## 133             Malt 11 2021-10-28             0.8016892              16.0
## 134          Suggary 02 2021-10-28             0.6512789               7.4
## 135    br. sud amont 01 2021-10-28             0.7773585              19.9
## 136         Morrison 06 2021-10-28             0.9154856              12.1
## 137 Branche sud aval 03 2021-10-28             0.6323792              39.9
## 138           Sewell 08 2021-10-28             0.6417034              48.1
## 139     Waugh sanct. 07 2021-10-28             0.8511192              38.4
## 140          Dempsey 12 2021-10-28             0.8549172              52.0
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154              24.3
## 142 McConnell Six Rd 05 2021-10-28             0.9101240              29.5
## 143          Pollard 10 2021-10-28             0.8362934              34.5
## 144        Pok amont 04 2021-10-28             0.7947874              14.6
## 145          Pollard 10 2022-07-28             0.7773585              57.6
## 146         Morrison 06 2022-07-28             0.7947874             133.4
## 147             Malt 11 2022-07-28             0.8016892              70.3
## 148          Suggary 02 2022-07-28             0.6512789              27.5
## 149    br. sud amont 01 2022-07-28             0.8511192              32.7
## 150          Dempsey 12 2022-07-28             0.9154856              41.7
## 151 Branche sud aval 03 2022-07-28             0.6323792              59.8
## 152           Sewell 08 2022-07-28             0.6417034              90.6
## 153     Waugh sanct. 07 2022-07-28             0.8362934              93.3
## 154        Pok amont 04 2022-07-28             0.8549172              77.1
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154              22.8
## 156 McConnell Six Rd 05 2022-07-28             0.9101240             488.4
## 157 McConnell Six Rd 05 2022-09-01             0.6512789              82.0
## 158          Pollard 10 2022-09-01             0.7773585            1046.2
## 159    br. sud amont 01 2022-09-01             0.8549172             114.5
## 160         Morrison 06 2022-09-01             0.7947874             686.7
## 161             Malt 11 2022-09-01             0.8016892              69.1
## 162          Suggary 02 2022-09-01             0.6417034              40.2
## 163     Waugh sanct. 07 2022-09-01             0.8511192              88.0
## 164          Dempsey 12 2022-09-01             0.9154856             248.1
## 165 Branche sud aval 03 2022-09-01             0.6323792              70.3
## 166           Sewell 08 2022-09-01             0.9101240             172.2
## 167        Pok amont 04 2022-09-01             0.8362934               5.2
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154             121.1
## 169           Sewell 08 2022-10-03             0.7773585              48.8
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892              44.1
## 171 McConnell Six Rd 05 2022-10-03             0.6512789              59.1
## 172          Pollard 10 2022-10-03             0.8362934              24.1
## 173    br. sud amont 01 2022-10-03             0.8549172              57.6
## 174         Morrison 06 2022-10-03             0.7947874              47.4
## 175             Malt 11 2022-10-03             0.6323792               5.2
## 176          Suggary 02 2022-10-03             0.6417034               9.7
## 177     Waugh sanct. 07 2022-10-03             0.8511192              65.7
## 178          Dempsey 12 2022-10-03             0.9154856              48.0
## 179 Branche sud aval 03 2022-10-03             0.8878154              13.4
## 180        Pok amont 04 2022-10-03             0.9101240               8.4
## 181 Branche sud aval 03 2022-11-01             0.6512789              24.6
## 182           Sewell 08 2022-11-01             0.7773585             115.3
## 183        Pok amont 04 2022-11-01             0.7947874               5.2
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892               3.1
## 185 McConnell Six Rd 05 2022-11-01             0.9101240              72.3
## 186          Pollard 10 2022-11-01             0.8362934              20.3
## 187    br. sud amont 01 2022-11-01             0.8549172              37.3
## 188         Morrison 06 2022-11-01             0.9154856              39.9
## 189             Malt 11 2022-11-01             0.6323792              45.0
## 190          Suggary 02 2022-11-01             0.6417034               8.5
## 191     Waugh sanct. 07 2022-11-01             0.8511192             249.5
## 192          Dempsey 12 2022-11-01             0.8878154              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_forets_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctFO_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01             0.8875586                0.0080
## 2          Morrison 06 2001-08-01             0.9139108                0.0080
## 3              Malt 11 2001-08-01             0.9001610                0.0110
## 4           Suggary 02 2001-08-01             0.8677686                0.0090
## 5      Waugh sanct. 07 2001-08-01             0.8745174                0.0150
## 6           Dempsey 12 2001-08-01             0.8855891                0.0140
## 7  Branche sud aval 03 2001-08-01             0.8623910                0.0080
## 8            Sewell 08 2001-08-01             0.8037162                0.0110
## 9         Pok amont 04 2001-08-01             0.7211478                0.0110
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491                0.0090
## 11 McConnell Six Rd 05 2001-08-01             0.6337209                0.0160
## 12          Pollard 10 2001-08-01             0.6431718                0.0150
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491                0.0070
## 14          Pollard 10 2001-08-28             0.6431718                0.0170
## 15    br. sud amont 01 2001-08-28             0.8875586                0.0060
## 16         Morrison 06 2001-08-28             0.9139108                0.0080
## 17             Malt 11 2001-08-28             0.9001610                0.0080
## 18          Suggary 02 2001-08-28             0.8677686                0.0080
## 19     Waugh sanct. 07 2001-08-28             0.8745174                0.0090
## 20          Dempsey 12 2001-08-28             0.8855891                0.0110
## 21 Branche sud aval 03 2001-08-28             0.8623910                0.0070
## 22           Sewell 08 2001-08-28             0.8037162                0.0170
## 23        Pok amont 04 2001-08-28             0.7211478                0.0060
## 24 McConnell Six Rd 05 2001-08-28             0.6337209                0.0130
## 25        Pok amont 04 2001-09-26             0.7211478                0.0130
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491                0.0140
## 27 McConnell Six Rd 05 2001-09-26             0.6337209                0.0130
## 28          Pollard 10 2001-09-26             0.6431718                0.0155
## 29    br. sud amont 01 2001-09-26             0.8875586                0.0130
## 30         Morrison 06 2001-09-26             0.9139108                0.0080
## 31             Malt 11 2001-09-26             0.9001610                0.0120
## 32          Suggary 02 2001-09-26             0.8677686                0.0090
## 33     Waugh sanct. 07 2001-09-26             0.8745174                0.0140
## 34          Dempsey 12 2001-09-26             0.8855891                0.0190
## 35 Branche sud aval 03 2001-09-26             0.8623910                0.0090
## 36           Sewell 08 2001-09-26             0.8037162                0.0120
## 37           Sewell 08 2001-10-31             0.8037162                0.0120
## 38        Pok amont 04 2001-10-31             0.7211478                0.0050
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491                0.0050
## 40         Morrison 06 2001-10-31             0.9139108                0.0060
## 41 McConnell Six Rd 05 2001-10-31             0.6337209                0.0110
## 42          Pollard 10 2001-10-31             0.6431718                0.0080
## 43    br. sud amont 01 2001-10-31             0.8875586                0.0050
## 44          Dempsey 12 2001-10-31             0.8855891                0.0090
## 45             Malt 11 2001-10-31             0.9001610                0.0070
## 46          Suggary 02 2001-10-31             0.8677686                0.0080
## 47     Waugh sanct. 07 2001-10-31             0.8745174                0.0120
## 48 Branche sud aval 03 2001-10-31             0.8623910                0.0050
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491                0.0050
## 50 Branche sud aval 03 2002-07-29             0.8623910                0.0070
## 51           Sewell 08 2002-07-29             0.8037162                0.0200
## 52        Pok amont 04 2002-07-29             0.7211478                0.0060
## 53    br. sud amont 01 2002-07-29             0.8875586                0.0060
## 54         Morrison 06 2002-07-29             0.9139108                0.0080
## 55 McConnell Six Rd 05 2002-07-29             0.6337209                0.0130
## 56          Pollard 10 2002-07-29             0.6431718                0.0230
## 57     Waugh sanct. 07 2002-07-29             0.8745174                0.0120
## 58          Dempsey 12 2002-07-29             0.8855891                0.0100
## 59             Malt 11 2002-07-29             0.9001610                0.0090
## 60          Suggary 02 2002-07-29             0.8677686                0.0070
## 61        Pok amont 04 2002-08-28             0.7211478                0.0100
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491                0.0090
## 63          Dempsey 12 2002-08-28             0.8855891                0.0130
## 64 Branche sud aval 03 2002-08-28             0.8623910                0.0080
## 65           Sewell 08 2002-08-28             0.8037162                0.0100
## 66          Pollard 10 2002-08-28             0.6431718                0.0160
## 67    br. sud amont 01 2002-08-28             0.8875586                0.0070
## 68         Morrison 06 2002-08-28             0.9139108                0.0090
## 69 McConnell Six Rd 05 2002-08-28             0.6337209                0.0140
## 70          Suggary 02 2002-08-28             0.8677686                0.0100
## 71     Waugh sanct. 07 2002-08-28             0.8745174                0.0130
## 72             Malt 11 2002-08-28             0.9001610                0.0110
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491                0.0070
## 74           Sewell 08 2002-10-02             0.8037162                0.0155
## 75        Pok amont 04 2002-10-02             0.7211478                0.0060
## 76     Waugh sanct. 07 2002-10-02             0.8745174                0.0090
## 77          Dempsey 12 2002-10-02             0.8855891                0.0120
## 78 Branche sud aval 03 2002-10-02             0.8623910                0.0080
## 79 McConnell Six Rd 05 2002-10-02             0.6337209                0.0110
## 80          Pollard 10 2002-10-02             0.6431718                0.0110
## 81    br. sud amont 01 2002-10-02             0.8875586                0.0050
## 82         Morrison 06 2002-10-02             0.9139108                0.0050
## 83             Malt 11 2002-10-02             0.9001610                0.0080
## 84          Suggary 02 2002-10-02             0.8677686                0.0070
## 85        Pok amont 04 2002-10-31             0.7211478                0.0060
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491                0.0050
## 87 Branche sud aval 03 2002-10-31             0.8623910                0.0050
## 88           Sewell 08 2002-10-31             0.8037162                0.0130
## 89          Suggary 02 2002-10-31             0.8677686                0.0050
## 90     Waugh sanct. 07 2002-10-31             0.8745174                0.0080
## 91          Dempsey 12 2002-10-31             0.8855891                0.0080
## 92         Morrison 06 2002-10-31             0.9139108                0.0050
## 93 McConnell Six Rd 05 2002-10-31             0.6337209                0.0090
## 94          Pollard 10 2002-10-31             0.6431718                0.0060
## 95    br. sud amont 01 2002-10-31             0.8875586                0.0065
## 96             Malt 11 2002-10-31             0.9001610                0.0050
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctFO_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28             0.8511192                 0.018
## 98           Dempsey 12 2021-07-28             0.9154856                 0.024
## 99  Branche sud aval 03 2021-07-28             0.8878154                 0.022
## 100           Sewell 08 2021-07-28             0.9101240                 0.028
## 101     Waugh sanct. 07 2021-07-28             0.8362934                 0.017
## 102    br. sud amont 01 2021-07-28             0.8549172                 0.016
## 103         Morrison 06 2021-07-28             0.7947874                 0.019
## 104             Malt 11 2021-07-28             0.8016892                 0.014
## 105 McConnell Six Rd 05 2021-07-28             0.6512789                 0.026
## 106          Pollard 10 2021-07-28             0.7773585                 0.051
## 107        Pok amont 04 2021-07-28             0.6323792                 0.022
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034                 0.014
## 109             Malt 11 2021-08-31             0.7773585                 0.005
## 110          Suggary 02 2021-08-31             0.6417034                 0.011
## 111     Waugh sanct. 07 2021-08-31             0.8511192                 0.006
## 112          Dempsey 12 2021-08-31             0.9154856                 0.014
## 113 Branche sud aval 03 2021-08-31             0.8878154                 0.009
## 114           Sewell 08 2021-08-31             0.9101240                 0.015
## 115          Pollard 10 2021-08-31             0.8362934                 0.073
## 116    br. sud amont 01 2021-08-31             0.8549172                 0.016
## 117         Morrison 06 2021-08-31             0.7947874                 0.016
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892                 0.012
## 119 McConnell Six Rd 05 2021-08-31             0.6512789                 0.029
## 120        Pok amont 04 2021-08-31             0.6323792                 0.008
## 121          Suggary 02 2021-10-05             0.6512789                 0.007
## 122         Morrison 06 2021-10-05             0.7773585                 0.010
## 123             Malt 11 2021-10-05             0.6323792                 0.012
## 124           Sewell 08 2021-10-05             0.6417034                 0.024
## 125     Waugh sanct. 07 2021-10-05             0.8511192                 0.019
## 126          Dempsey 12 2021-10-05             0.9154856                 0.018
## 127 Branche sud aval 03 2021-10-05             0.8878154                 0.015
## 128 McConnell Six Rd 05 2021-10-05             0.9101240                 0.025
## 129          Pollard 10 2021-10-05             0.8362934                 0.037
## 130    br. sud amont 01 2021-10-05             0.8549172                 0.019
## 131        Pok amont 04 2021-10-05             0.7947874                 0.008
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892                 0.011
## 133             Malt 11 2021-10-28             0.8016892                 0.009
## 134          Suggary 02 2021-10-28             0.6512789                 0.009
## 135    br. sud amont 01 2021-10-28             0.7773585                 0.013
## 136         Morrison 06 2021-10-28             0.9154856                 0.011
## 137 Branche sud aval 03 2021-10-28             0.6323792                 0.022
## 138           Sewell 08 2021-10-28             0.6417034                 0.020
## 139     Waugh sanct. 07 2021-10-28             0.8511192                 0.018
## 140          Dempsey 12 2021-10-28             0.8549172                 0.015
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154                 0.010
## 142 McConnell Six Rd 05 2021-10-28             0.9101240                 0.018
## 143          Pollard 10 2021-10-28             0.8362934                 0.033
## 144        Pok amont 04 2021-10-28             0.7947874                 0.013
## 145          Pollard 10 2022-07-28             0.7773585                 0.034
## 146         Morrison 06 2022-07-28             0.7947874                 0.014
## 147             Malt 11 2022-07-28             0.8016892                 0.008
## 148          Suggary 02 2022-07-28             0.6512789                 0.009
## 149    br. sud amont 01 2022-07-28             0.8511192                 0.016
## 150          Dempsey 12 2022-07-28             0.9154856                 0.017
## 151 Branche sud aval 03 2022-07-28             0.6323792                 0.013
## 152           Sewell 08 2022-07-28             0.6417034                 0.019
## 153     Waugh sanct. 07 2022-07-28             0.8362934                 0.011
## 154        Pok amont 04 2022-07-28             0.8549172                 0.009
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154                 0.009
## 156 McConnell Six Rd 05 2022-07-28             0.9101240                 0.019
## 157 McConnell Six Rd 05 2022-09-01             0.6512789                 0.024
## 158          Pollard 10 2022-09-01             0.7773585                 0.075
## 159    br. sud amont 01 2022-09-01             0.8549172                 0.015
## 160         Morrison 06 2022-09-01             0.7947874                 0.021
## 161             Malt 11 2022-09-01             0.8016892                 0.008
## 162          Suggary 02 2022-09-01             0.6417034                 0.010
## 163     Waugh sanct. 07 2022-09-01             0.8511192                 0.021
## 164          Dempsey 12 2022-09-01             0.9154856                 0.021
## 165 Branche sud aval 03 2022-09-01             0.6323792                 0.016
## 166           Sewell 08 2022-09-01             0.9101240                 0.019
## 167        Pok amont 04 2022-09-01             0.8362934                 0.010
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154                 0.012
## 169           Sewell 08 2022-10-03             0.7773585                 0.016
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892                 0.019
## 171 McConnell Six Rd 05 2022-10-03             0.6512789                 0.022
## 172          Pollard 10 2022-10-03             0.8362934                 0.049
## 173    br. sud amont 01 2022-10-03             0.8549172                 0.016
## 174         Morrison 06 2022-10-03             0.7947874                 0.014
## 175             Malt 11 2022-10-03             0.6323792                 0.007
## 176          Suggary 02 2022-10-03             0.6417034                 0.005
## 177     Waugh sanct. 07 2022-10-03             0.8511192                 0.013
## 178          Dempsey 12 2022-10-03             0.9154856                 0.013
## 179 Branche sud aval 03 2022-10-03             0.8878154                 0.009
## 180        Pok amont 04 2022-10-03             0.9101240                 0.013
## 181 Branche sud aval 03 2022-11-01             0.6512789                 0.013
## 182           Sewell 08 2022-11-01             0.7773585                 0.021
## 183        Pok amont 04 2022-11-01             0.7947874                 0.011
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892                 0.017
## 185 McConnell Six Rd 05 2022-11-01             0.9101240                 0.020
## 186          Pollard 10 2022-11-01             0.8362934                 0.041
## 187    br. sud amont 01 2022-11-01             0.8549172                 0.020
## 188         Morrison 06 2022-11-01             0.9154856                 0.018
## 189             Malt 11 2022-11-01             0.6323792                 0.009
## 190          Suggary 02 2022-11-01             0.6417034                 0.010
## 191     Waugh sanct. 07 2022-11-01             0.8511192                 0.017
## 192          Dempsey 12 2022-11-01             0.8878154                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Zone_forets_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctFO_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctFO_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01             0.8875586            0.0500
## 2          Morrison 06 2001-08-01             0.9139108            0.0940
## 3              Malt 11 2001-08-01             0.9001610            0.0500
## 4           Suggary 02 2001-08-01             0.8677686            0.0500
## 5      Waugh sanct. 07 2001-08-01             0.8745174            0.0500
## 6           Dempsey 12 2001-08-01             0.8855891            0.0500
## 7  Branche sud aval 03 2001-08-01             0.8623910            0.0500
## 8            Sewell 08 2001-08-01             0.8037162            0.1360
## 9         Pok amont 04 2001-08-01             0.7211478            0.0500
## 10 Trout Val-Doucet 09 2001-08-01             0.8608491            0.0500
## 11 McConnell Six Rd 05 2001-08-01             0.6337209            0.2510
## 12          Pollard 10 2001-08-01             0.6431718            0.2600
## 13 Trout Val-Doucet 09 2001-08-28             0.8608491            0.0500
## 14          Pollard 10 2001-08-28             0.6431718            0.3010
## 15    br. sud amont 01 2001-08-28             0.8875586            0.0500
## 16         Morrison 06 2001-08-28             0.9139108            0.0910
## 17             Malt 11 2001-08-28             0.9001610            0.0500
## 18          Suggary 02 2001-08-28             0.8677686            0.0500
## 19     Waugh sanct. 07 2001-08-28             0.8745174            0.0500
## 20          Dempsey 12 2001-08-28             0.8855891            0.0500
## 21 Branche sud aval 03 2001-08-28             0.8623910            0.0500
## 22           Sewell 08 2001-08-28             0.8037162            0.1330
## 23        Pok amont 04 2001-08-28             0.7211478            0.0500
## 24 McConnell Six Rd 05 2001-08-28             0.6337209            0.2810
## 25        Pok amont 04 2001-09-26             0.7211478            0.0500
## 26 Trout Val-Doucet 09 2001-09-26             0.8608491            0.0500
## 27 McConnell Six Rd 05 2001-09-26             0.6337209            0.2110
## 28          Pollard 10 2001-09-26             0.6431718            0.1845
## 29    br. sud amont 01 2001-09-26             0.8875586            0.0770
## 30         Morrison 06 2001-09-26             0.9139108            0.0500
## 31             Malt 11 2001-09-26             0.9001610            0.0500
## 32          Suggary 02 2001-09-26             0.8677686            0.0500
## 33     Waugh sanct. 07 2001-09-26             0.8745174            0.0500
## 34          Dempsey 12 2001-09-26             0.8855891            0.0500
## 35 Branche sud aval 03 2001-09-26             0.8623910            0.0500
## 36           Sewell 08 2001-09-26             0.8037162            0.0500
## 37           Sewell 08 2001-10-31             0.8037162            0.0500
## 38        Pok amont 04 2001-10-31             0.7211478            0.0500
## 39 Trout Val-Doucet 09 2001-10-31             0.8608491            0.0500
## 40         Morrison 06 2001-10-31             0.9139108            0.0500
## 41 McConnell Six Rd 05 2001-10-31             0.6337209            0.0500
## 42          Pollard 10 2001-10-31             0.6431718            0.2300
## 43    br. sud amont 01 2001-10-31             0.8875586            0.0500
## 44          Dempsey 12 2001-10-31             0.8855891            0.0500
## 45             Malt 11 2001-10-31             0.9001610            0.0500
## 46          Suggary 02 2001-10-31             0.8677686            0.0500
## 47     Waugh sanct. 07 2001-10-31             0.8745174            0.0500
## 48 Branche sud aval 03 2001-10-31             0.8623910            0.0500
## 49 Trout Val-Doucet 09 2002-07-29             0.8608491            0.0500
## 50 Branche sud aval 03 2002-07-29             0.8623910            0.0500
## 51           Sewell 08 2002-07-29             0.8037162            0.2200
## 52        Pok amont 04 2002-07-29             0.7211478            0.0700
## 53    br. sud amont 01 2002-07-29             0.8875586            0.0500
## 54         Morrison 06 2002-07-29             0.9139108            0.0700
## 55 McConnell Six Rd 05 2002-07-29             0.6337209            0.2800
## 56          Pollard 10 2002-07-29             0.6431718            0.3300
## 57     Waugh sanct. 07 2002-07-29             0.8745174            0.0500
## 58          Dempsey 12 2002-07-29             0.8855891            0.0500
## 59             Malt 11 2002-07-29             0.9001610            0.0500
## 60          Suggary 02 2002-07-29             0.8677686            0.1900
## 61        Pok amont 04 2002-08-28             0.7211478            0.0700
## 62 Trout Val-Doucet 09 2002-08-28             0.8608491            0.0500
## 63          Dempsey 12 2002-08-28             0.8855891            0.0500
## 64 Branche sud aval 03 2002-08-28             0.8623910            0.0500
## 65           Sewell 08 2002-08-28             0.8037162            0.0500
## 66          Pollard 10 2002-08-28             0.6431718            0.1800
## 67    br. sud amont 01 2002-08-28             0.8875586            0.0500
## 68         Morrison 06 2002-08-28             0.9139108            0.0700
## 69 McConnell Six Rd 05 2002-08-28             0.6337209            0.3000
## 70          Suggary 02 2002-08-28             0.8677686            0.1750
## 71     Waugh sanct. 07 2002-08-28             0.8745174            0.0500
## 72             Malt 11 2002-08-28             0.9001610            0.0500
## 73 Trout Val-Doucet 09 2002-10-02             0.8608491            0.0500
## 74           Sewell 08 2002-10-02             0.8037162            0.0500
## 75        Pok amont 04 2002-10-02             0.7211478            0.0500
## 76     Waugh sanct. 07 2002-10-02             0.8745174            0.0500
## 77          Dempsey 12 2002-10-02             0.8855891            0.0500
## 78 Branche sud aval 03 2002-10-02             0.8623910            0.0500
## 79 McConnell Six Rd 05 2002-10-02             0.6337209            0.1900
## 80          Pollard 10 2002-10-02             0.6431718            0.1300
## 81    br. sud amont 01 2002-10-02             0.8875586            0.0500
## 82         Morrison 06 2002-10-02             0.9139108            0.0500
## 83             Malt 11 2002-10-02             0.9001610            0.0500
## 84          Suggary 02 2002-10-02             0.8677686            0.1300
## 85        Pok amont 04 2002-10-31             0.7211478            0.0500
## 86 Trout Val-Doucet 09 2002-10-31             0.8608491            0.0500
## 87 Branche sud aval 03 2002-10-31             0.8623910            0.0500
## 88           Sewell 08 2002-10-31             0.8037162            0.2300
## 89          Suggary 02 2002-10-31             0.8677686            0.1500
## 90     Waugh sanct. 07 2002-10-31             0.8745174            0.0800
## 91          Dempsey 12 2002-10-31             0.8855891            0.0500
## 92         Morrison 06 2002-10-31             0.9139108            0.0700
## 93 McConnell Six Rd 05 2002-10-31             0.6337209            0.2200
## 94          Pollard 10 2002-10-31             0.6431718            0.1900
## 95    br. sud amont 01 2002-10-31             0.8875586            0.0500
## 96             Malt 11 2002-10-31             0.9001610            0.1300
subset(Period2, select=c(Station2, Date, pctFO_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctFO_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28             0.8511192              0.11
## 98           Dempsey 12 2021-07-28             0.9154856              0.08
## 99  Branche sud aval 03 2021-07-28             0.8878154              0.05
## 100           Sewell 08 2021-07-28             0.9101240              0.17
## 101     Waugh sanct. 07 2021-07-28             0.8362934              0.06
## 102    br. sud amont 01 2021-07-28             0.8549172              0.08
## 103         Morrison 06 2021-07-28             0.7947874              0.05
## 104             Malt 11 2021-07-28             0.8016892              0.06
## 105 McConnell Six Rd 05 2021-07-28             0.6512789              0.21
## 106          Pollard 10 2021-07-28             0.7773585              0.40
## 107        Pok amont 04 2021-07-28             0.6323792              0.12
## 108 Trout Val-Doucet 09 2021-07-28             0.6417034              0.18
## 109             Malt 11 2021-08-31             0.7773585              0.06
## 110          Suggary 02 2021-08-31             0.6417034              0.12
## 111     Waugh sanct. 07 2021-08-31             0.8511192              0.05
## 112          Dempsey 12 2021-08-31             0.9154856              0.08
## 113 Branche sud aval 03 2021-08-31             0.8878154              0.06
## 114           Sewell 08 2021-08-31             0.9101240              0.12
## 115          Pollard 10 2021-08-31             0.8362934              0.32
## 116    br. sud amont 01 2021-08-31             0.8549172              0.05
## 117         Morrison 06 2021-08-31             0.7947874              0.05
## 118 Trout Val-Doucet 09 2021-08-31             0.8016892              0.14
## 119 McConnell Six Rd 05 2021-08-31             0.6512789              0.21
## 120        Pok amont 04 2021-08-31             0.6323792              0.10
## 121          Suggary 02 2021-10-05             0.6512789              0.17
## 122         Morrison 06 2021-10-05             0.7773585              0.06
## 123             Malt 11 2021-10-05             0.6323792              0.12
## 124           Sewell 08 2021-10-05             0.6417034              0.13
## 125     Waugh sanct. 07 2021-10-05             0.8511192              0.05
## 126          Dempsey 12 2021-10-05             0.9154856              0.09
## 127 Branche sud aval 03 2021-10-05             0.8878154              0.05
## 128 McConnell Six Rd 05 2021-10-05             0.9101240              0.33
## 129          Pollard 10 2021-10-05             0.8362934              0.38
## 130    br. sud amont 01 2021-10-05             0.8549172              0.05
## 131        Pok amont 04 2021-10-05             0.7947874              0.11
## 132 Trout Val-Doucet 09 2021-10-05             0.8016892              0.22
## 133             Malt 11 2021-10-28             0.8016892              0.07
## 134          Suggary 02 2021-10-28             0.6512789              0.15
## 135    br. sud amont 01 2021-10-28             0.7773585              0.05
## 136         Morrison 06 2021-10-28             0.9154856              0.08
## 137 Branche sud aval 03 2021-10-28             0.6323792              0.07
## 138           Sewell 08 2021-10-28             0.6417034              0.14
## 139     Waugh sanct. 07 2021-10-28             0.8511192              0.05
## 140          Dempsey 12 2021-10-28             0.8549172              0.10
## 141 Trout Val-Doucet 09 2021-10-28             0.8878154              0.27
## 142 McConnell Six Rd 05 2021-10-28             0.9101240              0.36
## 143          Pollard 10 2021-10-28             0.8362934              0.38
## 144        Pok amont 04 2021-10-28             0.7947874              0.13
## 145          Pollard 10 2022-07-28             0.7773585              0.40
## 146         Morrison 06 2022-07-28             0.7947874              0.08
## 147             Malt 11 2022-07-28             0.8016892              0.06
## 148          Suggary 02 2022-07-28             0.6512789              0.11
## 149    br. sud amont 01 2022-07-28             0.8511192              0.05
## 150          Dempsey 12 2022-07-28             0.9154856              0.11
## 151 Branche sud aval 03 2022-07-28             0.6323792              0.07
## 152           Sewell 08 2022-07-28             0.6417034              0.17
## 153     Waugh sanct. 07 2022-07-28             0.8362934              0.05
## 154        Pok amont 04 2022-07-28             0.8549172              0.07
## 155 Trout Val-Doucet 09 2022-07-28             0.8878154              0.15
## 156 McConnell Six Rd 05 2022-07-28             0.9101240              0.36
## 157 McConnell Six Rd 05 2022-09-01             0.6512789              0.26
## 158          Pollard 10 2022-09-01             0.7773585              0.53
## 159    br. sud amont 01 2022-09-01             0.8549172              0.05
## 160         Morrison 06 2022-09-01             0.7947874              0.06
## 161             Malt 11 2022-09-01             0.8016892              0.10
## 162          Suggary 02 2022-09-01             0.6417034              0.13
## 163     Waugh sanct. 07 2022-09-01             0.8511192              0.10
## 164          Dempsey 12 2022-09-01             0.9154856              0.15
## 165 Branche sud aval 03 2022-09-01             0.6323792              0.06
## 166           Sewell 08 2022-09-01             0.9101240              0.17
## 167        Pok amont 04 2022-09-01             0.8362934              0.06
## 168 Trout Val-Doucet 09 2022-09-01             0.8878154              0.12
## 169           Sewell 08 2022-10-03             0.7773585              0.08
## 170 Trout Val-Doucet 09 2022-10-03             0.8016892              0.11
## 171 McConnell Six Rd 05 2022-10-03             0.6512789              0.27
## 172          Pollard 10 2022-10-03             0.8362934              0.50
## 173    br. sud amont 01 2022-10-03             0.8549172              0.06
## 174         Morrison 06 2022-10-03             0.7947874              0.05
## 175             Malt 11 2022-10-03             0.6323792              0.06
## 176          Suggary 02 2022-10-03             0.6417034              0.15
## 177     Waugh sanct. 07 2022-10-03             0.8511192              0.09
## 178          Dempsey 12 2022-10-03             0.9154856              0.09
## 179 Branche sud aval 03 2022-10-03             0.8878154              0.05
## 180        Pok amont 04 2022-10-03             0.9101240              0.05
## 181 Branche sud aval 03 2022-11-01             0.6512789              0.05
## 182           Sewell 08 2022-11-01             0.7773585              0.15
## 183        Pok amont 04 2022-11-01             0.7947874              0.07
## 184 Trout Val-Doucet 09 2022-11-01             0.8016892              0.14
## 185 McConnell Six Rd 05 2022-11-01             0.9101240              0.25
## 186          Pollard 10 2022-11-01             0.8362934              0.54
## 187    br. sud amont 01 2022-11-01             0.8549172              0.07
## 188         Morrison 06 2022-11-01             0.9154856              0.09
## 189             Malt 11 2022-11-01             0.6323792              0.07
## 190          Suggary 02 2022-11-01             0.6417034              0.16
## 191     Waugh sanct. 07 2022-11-01             0.8511192              0.06
## 192          Dempsey 12 2022-11-01             0.8878154              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctFO_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctFO_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctFO_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctFO_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les Zones forêts",
x=" Les Zones forêts (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

WL: Terres humides

# Crée la variable pourcentage


Period1$pctWL_supdrainee_1990 = Period1$WL_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctWL_supdrainee_2020 = Period1$WL_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Terres_humides_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctWL_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01            0.03539823              11.5
## 2          Morrison 06 2001-08-01            0.01154856              10.2
## 3              Malt 11 2001-08-01            0.02254428              25.2
## 4           Suggary 02 2001-08-01            0.01033058              14.4
## 5      Waugh sanct. 07 2001-08-01            0.07722008              10.8
## 6           Dempsey 12 2001-08-01            0.02093476              20.4
## 7  Branche sud aval 03 2001-08-01            0.00120692              13.5
## 8            Sewell 08 2001-08-01            0.01452703              12.8
## 9         Pok amont 04 2001-08-01            0.06612601              11.4
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491              14.5
## 11 McConnell Six Rd 05 2001-08-01            0.10017889               9.0
## 12          Pollard 10 2001-08-01            0.01174743              15.1
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491               9.3
## 14          Pollard 10 2001-08-28            0.01174743              12.0
## 15    br. sud amont 01 2001-08-28            0.03539823              10.0
## 16         Morrison 06 2001-08-28            0.01154856               NaN
## 17             Malt 11 2001-08-28            0.02254428               8.8
## 18          Suggary 02 2001-08-28            0.01033058              13.0
## 19     Waugh sanct. 07 2001-08-28            0.07722008              10.6
## 20          Dempsey 12 2001-08-28            0.02093476              13.5
## 21 Branche sud aval 03 2001-08-28            0.00120692              11.5
## 22           Sewell 08 2001-08-28            0.01452703              13.5
## 23        Pok amont 04 2001-08-28            0.06612601               8.4
## 24 McConnell Six Rd 05 2001-08-28            0.10017889              10.9
## 25        Pok amont 04 2001-09-26            0.06612601               9.8
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491              10.7
## 27 McConnell Six Rd 05 2001-09-26            0.10017889              11.8
## 28          Pollard 10 2001-09-26            0.01174743              12.7
## 29    br. sud amont 01 2001-09-26            0.03539823              11.5
## 30         Morrison 06 2001-09-26            0.01154856              11.2
## 31             Malt 11 2001-09-26            0.02254428               9.3
## 32          Suggary 02 2001-09-26            0.01033058              12.9
## 33     Waugh sanct. 07 2001-09-26            0.07722008              10.4
## 34          Dempsey 12 2001-09-26            0.02093476              13.4
## 35 Branche sud aval 03 2001-09-26            0.00120692              12.0
## 36           Sewell 08 2001-09-26            0.01452703              12.9
## 37           Sewell 08 2001-10-31            0.01452703               1.4
## 38        Pok amont 04 2001-10-31            0.06612601               4.8
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491               3.0
## 40         Morrison 06 2001-10-31            0.01154856               1.8
## 41 McConnell Six Rd 05 2001-10-31            0.10017889               2.1
## 42          Pollard 10 2001-10-31            0.01174743               3.3
## 43    br. sud amont 01 2001-10-31            0.03539823               2.7
## 44          Dempsey 12 2001-10-31            0.02093476               3.9
## 45             Malt 11 2001-10-31            0.02254428               4.8
## 46          Suggary 02 2001-10-31            0.01033058               2.1
## 47     Waugh sanct. 07 2001-10-31            0.07722008               2.7
## 48 Branche sud aval 03 2001-10-31            0.00120692               2.3
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491              17.5
## 50 Branche sud aval 03 2002-07-29            0.00120692              15.7
## 51           Sewell 08 2002-07-29            0.01452703              16.8
## 52        Pok amont 04 2002-07-29            0.06612601              13.3
## 53    br. sud amont 01 2002-07-29            0.03539823              14.7
## 54         Morrison 06 2002-07-29            0.01154856              17.3
## 55 McConnell Six Rd 05 2002-07-29            0.10017889              17.4
## 56          Pollard 10 2002-07-29            0.01174743              17.0
## 57     Waugh sanct. 07 2002-07-29            0.07722008              16.4
## 58          Dempsey 12 2002-07-29            0.02093476              15.6
## 59             Malt 11 2002-07-29            0.02254428              14.9
## 60          Suggary 02 2002-07-29            0.01033058              17.9
## 61        Pok amont 04 2002-08-28            0.06612601               8.0
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491              10.2
## 63          Dempsey 12 2002-08-28            0.02093476              13.2
## 64 Branche sud aval 03 2002-08-28            0.00120692              11.3
## 65           Sewell 08 2002-08-28            0.01452703              13.1
## 66          Pollard 10 2002-08-28            0.01174743              11.1
## 67    br. sud amont 01 2002-08-28            0.03539823              11.1
## 68         Morrison 06 2002-08-28            0.01154856               9.9
## 69 McConnell Six Rd 05 2002-08-28            0.10017889              12.9
## 70          Suggary 02 2002-08-28            0.01033058              10.6
## 71     Waugh sanct. 07 2002-08-28            0.07722008              10.1
## 72             Malt 11 2002-08-28            0.02254428               7.9
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491              10.7
## 74           Sewell 08 2002-10-02            0.01452703              12.7
## 75        Pok amont 04 2002-10-02            0.06612601               7.8
## 76     Waugh sanct. 07 2002-10-02            0.07722008              10.7
## 77          Dempsey 12 2002-10-02            0.02093476              11.1
## 78 Branche sud aval 03 2002-10-02            0.00120692              10.9
## 79 McConnell Six Rd 05 2002-10-02            0.10017889              12.9
## 80          Pollard 10 2002-10-02            0.01174743              10.8
## 81    br. sud amont 01 2002-10-02            0.03539823              11.0
## 82         Morrison 06 2002-10-02            0.01154856              10.5
## 83             Malt 11 2002-10-02            0.02254428               7.8
## 84          Suggary 02 2002-10-02            0.01033058              10.3
## 85        Pok amont 04 2002-10-31            0.06612601               4.6
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491               2.7
## 87 Branche sud aval 03 2002-10-31            0.00120692               NaN
## 88           Sewell 08 2002-10-31            0.01452703               1.6
## 89          Suggary 02 2002-10-31            0.01033058               2.7
## 90     Waugh sanct. 07 2002-10-31            0.07722008               2.7
## 91          Dempsey 12 2002-10-31            0.02093476               3.3
## 92         Morrison 06 2002-10-31            0.01154856               1.7
## 93 McConnell Six Rd 05 2002-10-31            0.10017889               2.3
## 94          Pollard 10 2002-10-31            0.01174743               2.7
## 95    br. sud amont 01 2002-10-31            0.03539823               2.5
## 96             Malt 11 2002-10-31            0.02254428               4.4
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctWL_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28           0.024986986              11.5
## 98           Dempsey 12 2021-07-28           0.009973753              16.1
## 99  Branche sud aval 03 2021-07-28           0.019323671              15.5
## 100           Sewell 08 2021-07-28           0.006198347              14.2
## 101     Waugh sanct. 07 2021-07-28           0.101930502              12.1
## 102    br. sud amont 01 2021-07-28           0.021908471              14.0
## 103         Morrison 06 2021-07-28           0.040544387              15.7
## 104             Malt 11 2021-07-28           0.012500000              11.7
## 105 McConnell Six Rd 05 2021-07-28           0.062383032              16.9
## 106          Pollard 10 2021-07-28           0.019811321              14.6
## 107        Pok amont 04 2021-07-28           0.064847943              11.2
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787              11.9
## 109             Malt 11 2021-08-31           0.019811321              12.0
## 110          Suggary 02 2021-08-31           0.009544787              11.0
## 111     Waugh sanct. 07 2021-08-31           0.024986986              12.8
## 112          Dempsey 12 2021-08-31           0.009973753              15.0
## 113 Branche sud aval 03 2021-08-31           0.019323671              15.0
## 114           Sewell 08 2021-08-31           0.006198347              14.6
## 115          Pollard 10 2021-08-31           0.101930502              15.7
## 116    br. sud amont 01 2021-08-31           0.021908471              13.7
## 117         Morrison 06 2021-08-31           0.040544387              14.9
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000              11.7
## 119 McConnell Six Rd 05 2021-08-31           0.062383032              16.4
## 120        Pok amont 04 2021-08-31           0.064847943              10.8
## 121          Suggary 02 2021-10-05           0.062383032               6.3
## 122         Morrison 06 2021-10-05           0.019811321               7.0
## 123             Malt 11 2021-10-05           0.064847943               8.5
## 124           Sewell 08 2021-10-05           0.009544787               8.0
## 125     Waugh sanct. 07 2021-10-05           0.024986986               9.0
## 126          Dempsey 12 2021-10-05           0.009973753               8.7
## 127 Branche sud aval 03 2021-10-05           0.019323671               7.9
## 128 McConnell Six Rd 05 2021-10-05           0.006198347               7.9
## 129          Pollard 10 2021-10-05           0.101930502               8.7
## 130    br. sud amont 01 2021-10-05           0.021908471               7.3
## 131        Pok amont 04 2021-10-05           0.040544387               7.4
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000               6.4
## 133             Malt 11 2021-10-28           0.012500000               7.1
## 134          Suggary 02 2021-10-28           0.062383032               6.7
## 135    br. sud amont 01 2021-10-28           0.019811321               7.0
## 136         Morrison 06 2021-10-28           0.009973753               6.4
## 137 Branche sud aval 03 2021-10-28           0.064847943               6.7
## 138           Sewell 08 2021-10-28           0.009544787               7.4
## 139     Waugh sanct. 07 2021-10-28           0.024986986               7.3
## 140          Dempsey 12 2021-10-28           0.021908471               7.3
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671               6.7
## 142 McConnell Six Rd 05 2021-10-28           0.006198347               7.2
## 143          Pollard 10 2021-10-28           0.101930502               7.5
## 144        Pok amont 04 2021-10-28           0.040544387               7.2
## 145          Pollard 10 2022-07-28           0.019811321              14.2
## 146         Morrison 06 2022-07-28           0.040544387              13.3
## 147             Malt 11 2022-07-28           0.012500000              12.9
## 148          Suggary 02 2022-07-28           0.062383032              11.4
## 149    br. sud amont 01 2022-07-28           0.024986986              14.9
## 150          Dempsey 12 2022-07-28           0.009973753              15.3
## 151 Branche sud aval 03 2022-07-28           0.064847943              15.5
## 152           Sewell 08 2022-07-28           0.009544787              15.1
## 153     Waugh sanct. 07 2022-07-28           0.101930502              13.1
## 154        Pok amont 04 2022-07-28           0.021908471              11.9
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671              11.1
## 156 McConnell Six Rd 05 2022-07-28           0.006198347              13.8
## 157 McConnell Six Rd 05 2022-09-01           0.062383032              16.2
## 158          Pollard 10 2022-09-01           0.019811321              15.1
## 159    br. sud amont 01 2022-09-01           0.021908471              14.8
## 160         Morrison 06 2022-09-01           0.040544387              15.0
## 161             Malt 11 2022-09-01           0.012500000              12.3
## 162          Suggary 02 2022-09-01           0.009544787              11.9
## 163     Waugh sanct. 07 2022-09-01           0.024986986              14.0
## 164          Dempsey 12 2022-09-01           0.009973753              15.0
## 165 Branche sud aval 03 2022-09-01           0.064847943              16.2
## 166           Sewell 08 2022-09-01           0.006198347              15.9
## 167        Pok amont 04 2022-09-01           0.101930502              12.1
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671              12.9
## 169           Sewell 08 2022-10-03           0.019811321               6.2
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000               4.7
## 171 McConnell Six Rd 05 2022-10-03           0.062383032               6.5
## 172          Pollard 10 2022-10-03           0.101930502               6.5
## 173    br. sud amont 01 2022-10-03           0.021908471               5.6
## 174         Morrison 06 2022-10-03           0.040544387               4.7
## 175             Malt 11 2022-10-03           0.064847943               7.9
## 176          Suggary 02 2022-10-03           0.009544787               4.5
## 177     Waugh sanct. 07 2022-10-03           0.024986986               6.3
## 178          Dempsey 12 2022-10-03           0.009973753               6.0
## 179 Branche sud aval 03 2022-10-03           0.019323671               6.2
## 180        Pok amont 04 2022-10-03           0.006198347               6.5
## 181 Branche sud aval 03 2022-11-01           0.062383032               6.5
## 182           Sewell 08 2022-11-01           0.019811321               7.1
## 183        Pok amont 04 2022-11-01           0.040544387               6.3
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000               6.1
## 185 McConnell Six Rd 05 2022-11-01           0.006198347               7.4
## 186          Pollard 10 2022-11-01           0.101930502               8.0
## 187    br. sud amont 01 2022-11-01           0.021908471               7.0
## 188         Morrison 06 2022-11-01           0.009973753               5.9
## 189             Malt 11 2022-11-01           0.064847943               7.6
## 190          Suggary 02 2022-11-01           0.009544787               6.5
## 191     Waugh sanct. 07 2022-11-01           0.024986986               7.3
## 192          Dempsey 12 2022-11-01           0.019323671               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Terres_humides_vs_oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctWL_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01            0.03539823                 11.30
## 2          Morrison 06 2001-08-01            0.01154856                 10.60
## 3              Malt 11 2001-08-01            0.02254428                 11.80
## 4           Suggary 02 2001-08-01            0.01033058                 10.50
## 5      Waugh sanct. 07 2001-08-01            0.07722008                 10.40
## 6           Dempsey 12 2001-08-01            0.02093476                  8.10
## 7  Branche sud aval 03 2001-08-01            0.00120692                 11.00
## 8            Sewell 08 2001-08-01            0.01452703                 11.10
## 9         Pok amont 04 2001-08-01            0.06612601                  9.70
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491                 10.50
## 11 McConnell Six Rd 05 2001-08-01            0.10017889                 12.10
## 12          Pollard 10 2001-08-01            0.01174743                  9.50
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491                 10.60
## 14          Pollard 10 2001-08-28            0.01174743                  9.60
## 15    br. sud amont 01 2001-08-28            0.03539823                 10.12
## 16         Morrison 06 2001-08-28            0.01154856                   NaN
## 17             Malt 11 2001-08-28            0.02254428                 10.60
## 18          Suggary 02 2001-08-28            0.01033058                  9.45
## 19     Waugh sanct. 07 2001-08-28            0.07722008                 10.00
## 20          Dempsey 12 2001-08-28            0.02093476                  8.80
## 21 Branche sud aval 03 2001-08-28            0.00120692                 10.00
## 22           Sewell 08 2001-08-28            0.01452703                  9.40
## 23        Pok amont 04 2001-08-28            0.06612601                 10.50
## 24 McConnell Six Rd 05 2001-08-28            0.10017889                 10.00
## 25        Pok amont 04 2001-09-26            0.06612601                  8.00
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491                  9.00
## 27 McConnell Six Rd 05 2001-09-26            0.10017889                  8.51
## 28          Pollard 10 2001-09-26            0.01174743                  8.40
## 29    br. sud amont 01 2001-09-26            0.03539823                  8.50
## 30         Morrison 06 2001-09-26            0.01154856                  8.60
## 31             Malt 11 2001-09-26            0.02254428                  9.00
## 32          Suggary 02 2001-09-26            0.01033058                  8.44
## 33     Waugh sanct. 07 2001-09-26            0.07722008                  8.62
## 34          Dempsey 12 2001-09-26            0.02093476                  8.30
## 35 Branche sud aval 03 2001-09-26            0.00120692                  9.20
## 36           Sewell 08 2001-09-26            0.01452703                  7.92
## 37           Sewell 08 2001-10-31            0.01452703                  7.70
## 38        Pok amont 04 2001-10-31            0.06612601                  8.40
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491                  9.46
## 40         Morrison 06 2001-10-31            0.01154856                  9.84
## 41 McConnell Six Rd 05 2001-10-31            0.10017889                  8.70
## 42          Pollard 10 2001-10-31            0.01174743                  8.85
## 43    br. sud amont 01 2001-10-31            0.03539823                  7.80
## 44          Dempsey 12 2001-10-31            0.02093476                  8.43
## 45             Malt 11 2001-10-31            0.02254428                  9.20
## 46          Suggary 02 2001-10-31            0.01033058                  7.30
## 47     Waugh sanct. 07 2001-10-31            0.07722008                  8.00
## 48 Branche sud aval 03 2001-10-31            0.00120692                  9.57
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491                  8.01
## 50 Branche sud aval 03 2002-07-29            0.00120692                  8.50
## 51           Sewell 08 2002-07-29            0.01452703                  7.60
## 52        Pok amont 04 2002-07-29            0.06612601                  8.17
## 53    br. sud amont 01 2002-07-29            0.03539823                  8.65
## 54         Morrison 06 2002-07-29            0.01154856                  9.76
## 55 McConnell Six Rd 05 2002-07-29            0.10017889                  7.10
## 56          Pollard 10 2002-07-29            0.01174743                  7.45
## 57     Waugh sanct. 07 2002-07-29            0.07722008                  7.90
## 58          Dempsey 12 2002-07-29            0.02093476                  8.30
## 59             Malt 11 2002-07-29            0.02254428                  8.90
## 60          Suggary 02 2002-07-29            0.01033058                  8.20
## 61        Pok amont 04 2002-08-28            0.06612601                 10.65
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491                  9.46
## 63          Dempsey 12 2002-08-28            0.02093476                  8.20
## 64 Branche sud aval 03 2002-08-28            0.00120692                 10.41
## 65           Sewell 08 2002-08-28            0.01452703                  9.80
## 66          Pollard 10 2002-08-28            0.01174743                  9.02
## 67    br. sud amont 01 2002-08-28            0.03539823                 10.20
## 68         Morrison 06 2002-08-28            0.01154856                 11.17
## 69 McConnell Six Rd 05 2002-08-28            0.10017889                 11.05
## 70          Suggary 02 2002-08-28            0.01033058                 11.24
## 71     Waugh sanct. 07 2002-08-28            0.07722008                 10.00
## 72             Malt 11 2002-08-28            0.02254428                 10.00
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491                  4.42
## 74           Sewell 08 2002-10-02            0.01452703                  6.84
## 75        Pok amont 04 2002-10-02            0.06612601                  7.20
## 76     Waugh sanct. 07 2002-10-02            0.07722008                  6.10
## 77          Dempsey 12 2002-10-02            0.02093476                  5.70
## 78 Branche sud aval 03 2002-10-02            0.00120692                  7.10
## 79 McConnell Six Rd 05 2002-10-02            0.10017889                  7.49
## 80          Pollard 10 2002-10-02            0.01174743                  6.80
## 81    br. sud amont 01 2002-10-02            0.03539823                  7.16
## 82         Morrison 06 2002-10-02            0.01154856                  7.60
## 83             Malt 11 2002-10-02            0.02254428                  6.40
## 84          Suggary 02 2002-10-02            0.01033058                  8.08
## 85        Pok amont 04 2002-10-31            0.06612601                  7.50
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491                  8.50
## 87 Branche sud aval 03 2002-10-31            0.00120692                   NaN
## 88           Sewell 08 2002-10-31            0.01452703                  8.30
## 89          Suggary 02 2002-10-31            0.01033058                  8.60
## 90     Waugh sanct. 07 2002-10-31            0.07722008                  7.00
## 91          Dempsey 12 2002-10-31            0.02093476                  7.40
## 92         Morrison 06 2002-10-31            0.01154856                  8.30
## 93 McConnell Six Rd 05 2002-10-31            0.10017889                  7.60
## 94          Pollard 10 2002-10-31            0.01174743                  7.60
## 95    br. sud amont 01 2002-10-31            0.03539823                  8.20
## 96             Malt 11 2002-10-31            0.02254428                  8.00
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctWL_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28           0.024986986                  9.68
## 98           Dempsey 12 2021-07-28           0.009973753                  9.38
## 99  Branche sud aval 03 2021-07-28           0.019323671                  8.51
## 100           Sewell 08 2021-07-28           0.006198347                  9.29
## 101     Waugh sanct. 07 2021-07-28           0.101930502                  9.84
## 102    br. sud amont 01 2021-07-28           0.021908471                  8.43
## 103         Morrison 06 2021-07-28           0.040544387                  9.04
## 104             Malt 11 2021-07-28           0.012500000                  9.73
## 105 McConnell Six Rd 05 2021-07-28           0.062383032                  8.70
## 106          Pollard 10 2021-07-28           0.019811321                  9.81
## 107        Pok amont 04 2021-07-28           0.064847943                  9.22
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787                 10.29
## 109             Malt 11 2021-08-31           0.019811321                 11.07
## 110          Suggary 02 2021-08-31           0.009544787                 10.16
## 111     Waugh sanct. 07 2021-08-31           0.024986986                 10.03
## 112          Dempsey 12 2021-08-31           0.009973753                  9.51
## 113 Branche sud aval 03 2021-08-31           0.019323671                  8.83
## 114           Sewell 08 2021-08-31           0.006198347                  8.18
## 115          Pollard 10 2021-08-31           0.101930502                  8.15
## 116    br. sud amont 01 2021-08-31           0.021908471                  7.94
## 117         Morrison 06 2021-08-31           0.040544387                  9.14
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000                 10.42
## 119 McConnell Six Rd 05 2021-08-31           0.062383032                  8.54
## 120        Pok amont 04 2021-08-31           0.064847943                  8.70
## 121          Suggary 02 2021-10-05           0.062383032                 12.14
## 122         Morrison 06 2021-10-05           0.019811321                 11.19
## 123             Malt 11 2021-10-05           0.064847943                 10.27
## 124           Sewell 08 2021-10-05           0.009544787                 11.17
## 125     Waugh sanct. 07 2021-10-05           0.024986986                 10.42
## 126          Dempsey 12 2021-10-05           0.009973753                 10.86
## 127 Branche sud aval 03 2021-10-05           0.019323671                 10.40
## 128 McConnell Six Rd 05 2021-10-05           0.006198347                 10.87
## 129          Pollard 10 2021-10-05           0.101930502                 11.29
## 130    br. sud amont 01 2021-10-05           0.021908471                 10.74
## 131        Pok amont 04 2021-10-05           0.040544387                 10.75
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000                 11.40
## 133             Malt 11 2021-10-28           0.012500000                 10.50
## 134          Suggary 02 2021-10-28           0.062383032                 11.68
## 135    br. sud amont 01 2021-10-28           0.019811321                 10.93
## 136         Morrison 06 2021-10-28           0.009973753                 11.66
## 137 Branche sud aval 03 2021-10-28           0.064847943                 11.22
## 138           Sewell 08 2021-10-28           0.009544787                 11.44
## 139     Waugh sanct. 07 2021-10-28           0.024986986                 10.96
## 140          Dempsey 12 2021-10-28           0.021908471                  8.77
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671                 11.26
## 142 McConnell Six Rd 05 2021-10-28           0.006198347                 10.41
## 143          Pollard 10 2021-10-28           0.101930502                 10.54
## 144        Pok amont 04 2021-10-28           0.040544387                 10.80
## 145          Pollard 10 2022-07-28           0.019811321                 10.75
## 146         Morrison 06 2022-07-28           0.040544387                 10.00
## 147             Malt 11 2022-07-28           0.012500000                 11.60
## 148          Suggary 02 2022-07-28           0.062383032                 11.40
## 149    br. sud amont 01 2022-07-28           0.024986986                  8.64
## 150          Dempsey 12 2022-07-28           0.009973753                  9.34
## 151 Branche sud aval 03 2022-07-28           0.064847943                  9.55
## 152           Sewell 08 2022-07-28           0.009544787                  9.50
## 153     Waugh sanct. 07 2022-07-28           0.101930502                  9.90
## 154        Pok amont 04 2022-07-28           0.021908471                  9.52
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671                 11.52
## 156 McConnell Six Rd 05 2022-07-28           0.006198347                 10.40
## 157 McConnell Six Rd 05 2022-09-01           0.062383032                  9.19
## 158          Pollard 10 2022-09-01           0.019811321                 10.25
## 159    br. sud amont 01 2022-09-01           0.021908471                  8.28
## 160         Morrison 06 2022-09-01           0.040544387                  9.52
## 161             Malt 11 2022-09-01           0.012500000                 11.08
## 162          Suggary 02 2022-09-01           0.009544787                 10.24
## 163     Waugh sanct. 07 2022-09-01           0.024986986                  9.22
## 164          Dempsey 12 2022-09-01           0.009973753                  9.44
## 165 Branche sud aval 03 2022-09-01           0.064847943                  8.95
## 166           Sewell 08 2022-09-01           0.006198347                  9.02
## 167        Pok amont 04 2022-09-01           0.101930502                  8.82
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671                 10.06
## 169           Sewell 08 2022-10-03           0.019811321                 10.03
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000                 12.38
## 171 McConnell Six Rd 05 2022-10-03           0.062383032                 12.20
## 172          Pollard 10 2022-10-03           0.101930502                 13.04
## 173    br. sud amont 01 2022-10-03           0.021908471                 11.04
## 174         Morrison 06 2022-10-03           0.040544387                 12.92
## 175             Malt 11 2022-10-03           0.064847943                 12.67
## 176          Suggary 02 2022-10-03           0.009544787                 13.13
## 177     Waugh sanct. 07 2022-10-03           0.024986986                 12.07
## 178          Dempsey 12 2022-10-03           0.009973753                 11.87
## 179 Branche sud aval 03 2022-10-03           0.019323671                 12.21
## 180        Pok amont 04 2022-10-03           0.006198347                 10.04
## 181 Branche sud aval 03 2022-11-01           0.062383032                 12.07
## 182           Sewell 08 2022-11-01           0.019811321                 12.13
## 183        Pok amont 04 2022-11-01           0.040544387                 10.55
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000                 12.12
## 185 McConnell Six Rd 05 2022-11-01           0.006198347                 11.17
## 186          Pollard 10 2022-11-01           0.101930502                 10.85
## 187    br. sud amont 01 2022-11-01           0.021908471                 11.78
## 188         Morrison 06 2022-11-01           0.009973753                 12.66
## 189             Malt 11 2022-11-01           0.064847943                 11.63
## 190          Suggary 02 2022-11-01           0.009544787                 12.35
## 191     Waugh sanct. 07 2022-11-01           0.024986986                  9.42
## 192          Dempsey 12 2022-11-01           0.019323671                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'Oxygène et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Terres_humides_vs_conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctWL_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01            0.03539823                  171.0
## 2          Morrison 06 2001-08-01            0.01154856                  114.0
## 3              Malt 11 2001-08-01            0.02254428                  108.0
## 4           Suggary 02 2001-08-01            0.01033058                  118.0
## 5      Waugh sanct. 07 2001-08-01            0.07722008                  133.0
## 6           Dempsey 12 2001-08-01            0.02093476                  128.0
## 7  Branche sud aval 03 2001-08-01            0.00120692                  115.0
## 8            Sewell 08 2001-08-01            0.01452703                  134.0
## 9         Pok amont 04 2001-08-01            0.06612601                   56.6
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491                  106.0
## 11 McConnell Six Rd 05 2001-08-01            0.10017889                  100.0
## 12          Pollard 10 2001-08-01            0.01174743                  156.0
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491                  105.0
## 14          Pollard 10 2001-08-28            0.01174743                  162.0
## 15    br. sud amont 01 2001-08-28            0.03539823                  177.0
## 16         Morrison 06 2001-08-28            0.01154856                  115.0
## 17             Malt 11 2001-08-28            0.02254428                   90.3
## 18          Suggary 02 2001-08-28            0.01033058                  119.0
## 19     Waugh sanct. 07 2001-08-28            0.07722008                  132.0
## 20          Dempsey 12 2001-08-28            0.02093476                  129.0
## 21 Branche sud aval 03 2001-08-28            0.00120692                  113.0
## 22           Sewell 08 2001-08-28            0.01452703                  150.0
## 23        Pok amont 04 2001-08-28            0.06612601                   60.0
## 24 McConnell Six Rd 05 2001-08-28            0.10017889                  112.0
## 25        Pok amont 04 2001-09-26            0.06612601                   72.1
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491                  115.0
## 27 McConnell Six Rd 05 2001-09-26            0.10017889                  111.0
## 28          Pollard 10 2001-09-26            0.01174743                  153.5
## 29    br. sud amont 01 2001-09-26            0.03539823                  158.0
## 30         Morrison 06 2001-09-26            0.01154856                  117.0
## 31             Malt 11 2001-09-26            0.02254428                   97.7
## 32          Suggary 02 2001-09-26            0.01033058                  139.0
## 33     Waugh sanct. 07 2001-09-26            0.07722008                  136.0
## 34          Dempsey 12 2001-09-26            0.02093476                  137.0
## 35 Branche sud aval 03 2001-09-26            0.00120692                  123.0
## 36           Sewell 08 2001-09-26            0.01452703                  173.0
## 37           Sewell 08 2001-10-31            0.01452703                  111.0
## 38        Pok amont 04 2001-10-31            0.06612601                   68.3
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491                  112.0
## 40         Morrison 06 2001-10-31            0.01154856                  123.0
## 41 McConnell Six Rd 05 2001-10-31            0.10017889                   87.2
## 42          Pollard 10 2001-10-31            0.01174743                  164.0
## 43    br. sud amont 01 2001-10-31            0.03539823                  162.0
## 44          Dempsey 12 2001-10-31            0.02093476                  128.0
## 45             Malt 11 2001-10-31            0.02254428                   98.8
## 46          Suggary 02 2001-10-31            0.01033058                  120.0
## 47     Waugh sanct. 07 2001-10-31            0.07722008                  102.0
## 48 Branche sud aval 03 2001-10-31            0.00120692                  115.0
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491                  112.0
## 50 Branche sud aval 03 2002-07-29            0.00120692                  116.0
## 51           Sewell 08 2002-07-29            0.01452703                  139.0
## 52        Pok amont 04 2002-07-29            0.06612601                   57.1
## 53    br. sud amont 01 2002-07-29            0.03539823                  148.0
## 54         Morrison 06 2002-07-29            0.01154856                  123.0
## 55 McConnell Six Rd 05 2002-07-29            0.10017889                  105.0
## 56          Pollard 10 2002-07-29            0.01174743                  162.0
## 57     Waugh sanct. 07 2002-07-29            0.07722008                  133.0
## 58          Dempsey 12 2002-07-29            0.02093476                  143.0
## 59             Malt 11 2002-07-29            0.02254428                   96.6
## 60          Suggary 02 2002-07-29            0.01033058                  110.0
## 61        Pok amont 04 2002-08-28            0.06612601                   60.3
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491                  115.0
## 63          Dempsey 12 2002-08-28            0.02093476                  144.0
## 64 Branche sud aval 03 2002-08-28            0.00120692                  121.0
## 65           Sewell 08 2002-08-28            0.01452703                  168.0
## 66          Pollard 10 2002-08-28            0.01174743                  164.0
## 67    br. sud amont 01 2002-08-28            0.03539823                  185.0
## 68         Morrison 06 2002-08-28            0.01154856                  125.0
## 69 McConnell Six Rd 05 2002-08-28            0.10017889                  111.0
## 70          Suggary 02 2002-08-28            0.01033058                  110.5
## 71     Waugh sanct. 07 2002-08-28            0.07722008                  135.0
## 72             Malt 11 2002-08-28            0.02254428                  101.0
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491                  120.0
## 74           Sewell 08 2002-10-02            0.01452703                  158.0
## 75        Pok amont 04 2002-10-02            0.06612601                   69.4
## 76     Waugh sanct. 07 2002-10-02            0.07722008                  148.0
## 77          Dempsey 12 2002-10-02            0.02093476                  145.0
## 78 Branche sud aval 03 2002-10-02            0.00120692                  126.0
## 79 McConnell Six Rd 05 2002-10-02            0.10017889                  108.0
## 80          Pollard 10 2002-10-02            0.01174743                  176.0
## 81    br. sud amont 01 2002-10-02            0.03539823                  194.0
## 82         Morrison 06 2002-10-02            0.01154856                  128.0
## 83             Malt 11 2002-10-02            0.02254428                  106.0
## 84          Suggary 02 2002-10-02            0.01033058                  114.0
## 85        Pok amont 04 2002-10-31            0.06612601                   70.9
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491                  122.0
## 87 Branche sud aval 03 2002-10-31            0.00120692                  126.0
## 88           Sewell 08 2002-10-31            0.01452703                  120.0
## 89          Suggary 02 2002-10-31            0.01033058                  118.0
## 90     Waugh sanct. 07 2002-10-31            0.07722008                  129.0
## 91          Dempsey 12 2002-10-31            0.02093476                  141.0
## 92         Morrison 06 2002-10-31            0.01154856                  130.0
## 93 McConnell Six Rd 05 2002-10-31            0.10017889                  103.0
## 94          Pollard 10 2002-10-31            0.01174743                  176.0
## 95    br. sud amont 01 2002-10-31            0.03539823                  175.5
## 96             Malt 11 2002-10-31            0.02254428                  107.0
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctWL_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28           0.024986986                    109
## 98           Dempsey 12 2021-07-28           0.009973753                    139
## 99  Branche sud aval 03 2021-07-28           0.019323671                    119
## 100           Sewell 08 2021-07-28           0.006198347                    131
## 101     Waugh sanct. 07 2021-07-28           0.101930502                    128
## 102    br. sud amont 01 2021-07-28           0.021908471                    177
## 103         Morrison 06 2021-07-28           0.040544387                    122
## 104             Malt 11 2021-07-28           0.012500000                     90
## 105 McConnell Six Rd 05 2021-07-28           0.062383032                    115
## 106          Pollard 10 2021-07-28           0.019811321                    166
## 107        Pok amont 04 2021-07-28           0.064847943                     60
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787                    109
## 109             Malt 11 2021-08-31           0.019811321                     96
## 110          Suggary 02 2021-08-31           0.009544787                    116
## 111     Waugh sanct. 07 2021-08-31           0.024986986                    138
## 112          Dempsey 12 2021-08-31           0.009973753                    152
## 113 Branche sud aval 03 2021-08-31           0.019323671                    125
## 114           Sewell 08 2021-08-31           0.006198347                    161
## 115          Pollard 10 2021-08-31           0.101930502                    196
## 116    br. sud amont 01 2021-08-31           0.021908471                    199
## 117         Morrison 06 2021-08-31           0.040544387                    129
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000                    118
## 119 McConnell Six Rd 05 2021-08-31           0.062383032                    114
## 120        Pok amont 04 2021-08-31           0.064847943                     70
## 121          Suggary 02 2021-10-05           0.062383032                     98
## 122         Morrison 06 2021-10-05           0.019811321                    114
## 123             Malt 11 2021-10-05           0.064847943                     74
## 124           Sewell 08 2021-10-05           0.009544787                     72
## 125     Waugh sanct. 07 2021-10-05           0.024986986                     70
## 126          Dempsey 12 2021-10-05           0.009973753                     96
## 127 Branche sud aval 03 2021-10-05           0.019323671                     86
## 128 McConnell Six Rd 05 2021-10-05           0.006198347                     90
## 129          Pollard 10 2021-10-05           0.101930502                    128
## 130    br. sud amont 01 2021-10-05           0.021908471                     91
## 131        Pok amont 04 2021-10-05           0.040544387                     52
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000                     95
## 133             Malt 11 2021-10-28           0.012500000                     80
## 134          Suggary 02 2021-10-28           0.062383032                    100
## 135    br. sud amont 01 2021-10-28           0.019811321                    114
## 136         Morrison 06 2021-10-28           0.009973753                    118
## 137 Branche sud aval 03 2021-10-28           0.064847943                     97
## 138           Sewell 08 2021-10-28           0.009544787                     81
## 139     Waugh sanct. 07 2021-10-28           0.024986986                     88
## 140          Dempsey 12 2021-10-28           0.021908471                    113
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671                    102
## 142 McConnell Six Rd 05 2021-10-28           0.006198347                     97
## 143          Pollard 10 2021-10-28           0.101930502                    139
## 144        Pok amont 04 2021-10-28           0.040544387                     54
## 145          Pollard 10 2022-07-28           0.019811321                    163
## 146         Morrison 06 2022-07-28           0.040544387                    119
## 147             Malt 11 2022-07-28           0.012500000                     88
## 148          Suggary 02 2022-07-28           0.062383032                    107
## 149    br. sud amont 01 2022-07-28           0.024986986                    161
## 150          Dempsey 12 2022-07-28           0.009973753                    134
## 151 Branche sud aval 03 2022-07-28           0.064847943                    113
## 152           Sewell 08 2022-07-28           0.009544787                    113
## 153     Waugh sanct. 07 2022-07-28           0.101930502                    126
## 154        Pok amont 04 2022-07-28           0.021908471                     59
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671                    108
## 156 McConnell Six Rd 05 2022-07-28           0.006198347                    113
## 157 McConnell Six Rd 05 2022-09-01           0.062383032                    107
## 158          Pollard 10 2022-09-01           0.019811321                    178
## 159    br. sud amont 01 2022-09-01           0.021908471                    180
## 160         Morrison 06 2022-09-01           0.040544387                    117
## 161             Malt 11 2022-09-01           0.012500000                     88
## 162          Suggary 02 2022-09-01           0.009544787                    104
## 163     Waugh sanct. 07 2022-09-01           0.024986986                    114
## 164          Dempsey 12 2022-09-01           0.009973753                    137
## 165 Branche sud aval 03 2022-09-01           0.064847943                    117
## 166           Sewell 08 2022-09-01           0.006198347                    116
## 167        Pok amont 04 2022-09-01           0.101930502                     63
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671                    108
## 169           Sewell 08 2022-10-03           0.019811321                    114
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000                    113
## 171 McConnell Six Rd 05 2022-10-03           0.062383032                     94
## 172          Pollard 10 2022-10-03           0.101930502                    179
## 173    br. sud amont 01 2022-10-03           0.021908471                    182
## 174         Morrison 06 2022-10-03           0.040544387                    120
## 175             Malt 11 2022-10-03           0.064847943                     95
## 176          Suggary 02 2022-10-03           0.009544787                    107
## 177     Waugh sanct. 07 2022-10-03           0.024986986                    114
## 178          Dempsey 12 2022-10-03           0.009973753                    143
## 179 Branche sud aval 03 2022-10-03           0.019323671                    118
## 180        Pok amont 04 2022-10-03           0.006198347                     64
## 181 Branche sud aval 03 2022-11-01           0.062383032                    112
## 182           Sewell 08 2022-11-01           0.019811321                     92
## 183        Pok amont 04 2022-11-01           0.040544387                     69
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000                    112
## 185 McConnell Six Rd 05 2022-11-01           0.006198347                     92
## 186          Pollard 10 2022-11-01           0.101930502                    177
## 187    br. sud amont 01 2022-11-01           0.021908471                    144
## 188         Morrison 06 2022-11-01           0.009973753                    125
## 189             Malt 11 2022-11-01           0.064847943                     91
## 190          Suggary 02 2022-11-01           0.009544787                    108
## 191     Waugh sanct. 07 2022-11-01           0.024986986                     92
## 192          Dempsey 12 2022-11-01           0.019323671                    136
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Terres_humides_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,pH_units))
##               Station2       Date pctWL_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01            0.03539823    8.200
## 2          Morrison 06 2001-08-01            0.01154856    7.950
## 3              Malt 11 2001-08-01            0.02254428    7.860
## 4           Suggary 02 2001-08-01            0.01033058    8.020
## 5      Waugh sanct. 07 2001-08-01            0.07722008    7.970
## 6           Dempsey 12 2001-08-01            0.02093476    7.960
## 7  Branche sud aval 03 2001-08-01            0.00120692    8.030
## 8            Sewell 08 2001-08-01            0.01452703    8.020
## 9         Pok amont 04 2001-08-01            0.06612601    7.590
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491    8.010
## 11 McConnell Six Rd 05 2001-08-01            0.10017889    7.860
## 12          Pollard 10 2001-08-01            0.01174743    7.890
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491    7.910
## 14          Pollard 10 2001-08-28            0.01174743    7.860
## 15    br. sud amont 01 2001-08-28            0.03539823    7.980
## 16         Morrison 06 2001-08-28            0.01154856    7.940
## 17             Malt 11 2001-08-28            0.02254428    7.460
## 18          Suggary 02 2001-08-28            0.01033058    7.880
## 19     Waugh sanct. 07 2001-08-28            0.07722008    7.890
## 20          Dempsey 12 2001-08-28            0.02093476    7.760
## 21 Branche sud aval 03 2001-08-28            0.00120692    7.890
## 22           Sewell 08 2001-08-28            0.01452703    7.900
## 23        Pok amont 04 2001-08-28            0.06612601    7.490
## 24 McConnell Six Rd 05 2001-08-28            0.10017889    7.770
## 25        Pok amont 04 2001-09-26            0.06612601    7.640
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491    7.960
## 27 McConnell Six Rd 05 2001-09-26            0.10017889    7.870
## 28          Pollard 10 2001-09-26            0.01174743    7.850
## 29    br. sud amont 01 2001-09-26            0.03539823    8.050
## 30         Morrison 06 2001-09-26            0.01154856    8.020
## 31             Malt 11 2001-09-26            0.02254428    7.710
## 32          Suggary 02 2001-09-26            0.01033058    8.080
## 33     Waugh sanct. 07 2001-09-26            0.07722008    8.020
## 34          Dempsey 12 2001-09-26            0.02093476    7.950
## 35 Branche sud aval 03 2001-09-26            0.00120692    8.040
## 36           Sewell 08 2001-09-26            0.01452703    8.060
## 37           Sewell 08 2001-10-31            0.01452703    7.740
## 38        Pok amont 04 2001-10-31            0.06612601    7.420
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491    7.950
## 40         Morrison 06 2001-10-31            0.01154856    8.010
## 41 McConnell Six Rd 05 2001-10-31            0.10017889    7.500
## 42          Pollard 10 2001-10-31            0.01174743    7.870
## 43    br. sud amont 01 2001-10-31            0.03539823    7.960
## 44          Dempsey 12 2001-10-31            0.02093476    7.820
## 45             Malt 11 2001-10-31            0.02254428    7.530
## 46          Suggary 02 2001-10-31            0.01033058    7.650
## 47     Waugh sanct. 07 2001-10-31            0.07722008    7.410
## 48 Branche sud aval 03 2001-10-31            0.00120692    7.890
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491    7.840
## 50 Branche sud aval 03 2002-07-29            0.00120692    7.870
## 51           Sewell 08 2002-07-29            0.01452703    7.840
## 52        Pok amont 04 2002-07-29            0.06612601    7.180
## 53    br. sud amont 01 2002-07-29            0.03539823    7.840
## 54         Morrison 06 2002-07-29            0.01154856    7.920
## 55 McConnell Six Rd 05 2002-07-29            0.10017889    7.580
## 56          Pollard 10 2002-07-29            0.01174743    7.730
## 57     Waugh sanct. 07 2002-07-29            0.07722008    7.700
## 58          Dempsey 12 2002-07-29            0.02093476    7.755
## 59             Malt 11 2002-07-29            0.02254428    7.420
## 60          Suggary 02 2002-07-29            0.01033058    7.740
## 61        Pok amont 04 2002-08-28            0.06612601    7.250
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491    7.800
## 63          Dempsey 12 2002-08-28            0.02093476    7.690
## 64 Branche sud aval 03 2002-08-28            0.00120692    7.850
## 65           Sewell 08 2002-08-28            0.01452703    7.920
## 66          Pollard 10 2002-08-28            0.01174743    7.730
## 67    br. sud amont 01 2002-08-28            0.03539823    8.070
## 68         Morrison 06 2002-08-28            0.01154856    7.900
## 69 McConnell Six Rd 05 2002-08-28            0.10017889    7.790
## 70          Suggary 02 2002-08-28            0.01033058    7.815
## 71     Waugh sanct. 07 2002-08-28            0.07722008    7.750
## 72             Malt 11 2002-08-28            0.02254428    7.380
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491    7.830
## 74           Sewell 08 2002-10-02            0.01452703    7.820
## 75        Pok amont 04 2002-10-02            0.06612601    7.270
## 76     Waugh sanct. 07 2002-10-02            0.07722008    7.760
## 77          Dempsey 12 2002-10-02            0.02093476    7.640
## 78 Branche sud aval 03 2002-10-02            0.00120692    7.820
## 79 McConnell Six Rd 05 2002-10-02            0.10017889    7.650
## 80          Pollard 10 2002-10-02            0.01174743    7.720
## 81    br. sud amont 01 2002-10-02            0.03539823    7.970
## 82         Morrison 06 2002-10-02            0.01154856    7.890
## 83             Malt 11 2002-10-02            0.02254428    7.380
## 84          Suggary 02 2002-10-02            0.01033058    7.830
## 85        Pok amont 04 2002-10-31            0.06612601    7.360
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491    7.820
## 87 Branche sud aval 03 2002-10-31            0.00120692      NaN
## 88           Sewell 08 2002-10-31            0.01452703    7.550
## 89          Suggary 02 2002-10-31            0.01033058    7.770
## 90     Waugh sanct. 07 2002-10-31            0.07722008    7.580
## 91          Dempsey 12 2002-10-31            0.02093476    7.690
## 92         Morrison 06 2002-10-31            0.01154856    7.870
## 93 McConnell Six Rd 05 2002-10-31            0.10017889    7.440
## 94          Pollard 10 2002-10-31            0.01174743    7.780
## 95    br. sud amont 01 2002-10-31            0.03539823    7.865
## 96             Malt 11 2002-10-31            0.02254428    7.560
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,pH_units))
##                Station2       Date pctWL_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28           0.024986986      7.5
## 98           Dempsey 12 2021-07-28           0.009973753      7.6
## 99  Branche sud aval 03 2021-07-28           0.019323671      7.6
## 100           Sewell 08 2021-07-28           0.006198347      7.7
## 101     Waugh sanct. 07 2021-07-28           0.101930502      7.6
## 102    br. sud amont 01 2021-07-28           0.021908471      7.6
## 103         Morrison 06 2021-07-28           0.040544387      7.4
## 104             Malt 11 2021-07-28           0.012500000      7.2
## 105 McConnell Six Rd 05 2021-07-28           0.062383032      7.6
## 106          Pollard 10 2021-07-28           0.019811321      7.6
## 107        Pok amont 04 2021-07-28           0.064847943      6.8
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787      7.6
## 109             Malt 11 2021-08-31           0.019811321      7.3
## 110          Suggary 02 2021-08-31           0.009544787      7.6
## 111     Waugh sanct. 07 2021-08-31           0.024986986      7.8
## 112          Dempsey 12 2021-08-31           0.009973753      7.6
## 113 Branche sud aval 03 2021-08-31           0.019323671      7.8
## 114           Sewell 08 2021-08-31           0.006198347      7.8
## 115          Pollard 10 2021-08-31           0.101930502      7.8
## 116    br. sud amont 01 2021-08-31           0.021908471      7.5
## 117         Morrison 06 2021-08-31           0.040544387      7.8
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000      7.8
## 119 McConnell Six Rd 05 2021-08-31           0.062383032      7.7
## 120        Pok amont 04 2021-08-31           0.064847943      7.1
## 121          Suggary 02 2021-10-05           0.062383032      7.6
## 122         Morrison 06 2021-10-05           0.019811321      7.1
## 123             Malt 11 2021-10-05           0.064847943      7.1
## 124           Sewell 08 2021-10-05           0.009544787      7.5
## 125     Waugh sanct. 07 2021-10-05           0.024986986      7.2
## 126          Dempsey 12 2021-10-05           0.009973753      7.3
## 127 Branche sud aval 03 2021-10-05           0.019323671      7.6
## 128 McConnell Six Rd 05 2021-10-05           0.006198347      7.4
## 129          Pollard 10 2021-10-05           0.101930502      7.5
## 130    br. sud amont 01 2021-10-05           0.021908471      7.2
## 131        Pok amont 04 2021-10-05           0.040544387      6.8
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000      7.2
## 133             Malt 11 2021-10-28           0.012500000      7.0
## 134          Suggary 02 2021-10-28           0.062383032      7.6
## 135    br. sud amont 01 2021-10-28           0.019811321      7.5
## 136         Morrison 06 2021-10-28           0.009973753      7.6
## 137 Branche sud aval 03 2021-10-28           0.064847943      7.6
## 138           Sewell 08 2021-10-28           0.009544787      7.5
## 139     Waugh sanct. 07 2021-10-28           0.024986986      7.5
## 140          Dempsey 12 2021-10-28           0.021908471      7.6
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671      7.5
## 142 McConnell Six Rd 05 2021-10-28           0.006198347      7.5
## 143          Pollard 10 2021-10-28           0.101930502      7.7
## 144        Pok amont 04 2021-10-28           0.040544387      7.5
## 145          Pollard 10 2022-07-28           0.019811321      7.7
## 146         Morrison 06 2022-07-28           0.040544387      7.8
## 147             Malt 11 2022-07-28           0.012500000      7.6
## 148          Suggary 02 2022-07-28           0.062383032      7.7
## 149    br. sud amont 01 2022-07-28           0.024986986      7.9
## 150          Dempsey 12 2022-07-28           0.009973753      7.8
## 151 Branche sud aval 03 2022-07-28           0.064847943      7.8
## 152           Sewell 08 2022-07-28           0.009544787      7.7
## 153     Waugh sanct. 07 2022-07-28           0.101930502      7.8
## 154        Pok amont 04 2022-07-28           0.021908471      7.5
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671      7.8
## 156 McConnell Six Rd 05 2022-07-28           0.006198347      7.7
## 157 McConnell Six Rd 05 2022-09-01           0.062383032      7.8
## 158          Pollard 10 2022-09-01           0.019811321      7.8
## 159    br. sud amont 01 2022-09-01           0.021908471      8.0
## 160         Morrison 06 2022-09-01           0.040544387      8.0
## 161             Malt 11 2022-09-01           0.012500000      7.7
## 162          Suggary 02 2022-09-01           0.009544787      7.8
## 163     Waugh sanct. 07 2022-09-01           0.024986986      7.9
## 164          Dempsey 12 2022-09-01           0.009973753      7.9
## 165 Branche sud aval 03 2022-09-01           0.064847943      7.9
## 166           Sewell 08 2022-09-01           0.006198347      7.9
## 167        Pok amont 04 2022-09-01           0.101930502      7.2
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671      7.8
## 169           Sewell 08 2022-10-03           0.019811321      7.7
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000      7.8
## 171 McConnell Six Rd 05 2022-10-03           0.062383032      7.5
## 172          Pollard 10 2022-10-03           0.101930502      7.8
## 173    br. sud amont 01 2022-10-03           0.021908471      7.9
## 174         Morrison 06 2022-10-03           0.040544387      7.9
## 175             Malt 11 2022-10-03           0.064847943      7.5
## 176          Suggary 02 2022-10-03           0.009544787      7.7
## 177     Waugh sanct. 07 2022-10-03           0.024986986      7.6
## 178          Dempsey 12 2022-10-03           0.009973753      7.7
## 179 Branche sud aval 03 2022-10-03           0.019323671      7.8
## 180        Pok amont 04 2022-10-03           0.006198347      7.1
## 181 Branche sud aval 03 2022-11-01           0.062383032      7.6
## 182           Sewell 08 2022-11-01           0.019811321      7.5
## 183        Pok amont 04 2022-11-01           0.040544387      7.0
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000      7.5
## 185 McConnell Six Rd 05 2022-11-01           0.006198347      7.3
## 186          Pollard 10 2022-11-01           0.101930502      7.6
## 187    br. sud amont 01 2022-11-01           0.021908471      7.5
## 188         Morrison 06 2022-11-01           0.009973753      7.8
## 189             Malt 11 2022-11-01           0.064847943      7.0
## 190          Suggary 02 2022-11-01           0.009544787      7.5
## 191     Waugh sanct. 07 2022-11-01           0.024986986      7.2
## 192          Dempsey 12 2022-11-01           0.019323671      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Terres_humides_vs_turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctWL_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.03539823         6.400
## 2          Morrison 06 2001-08-01            0.01154856         0.600
## 3              Malt 11 2001-08-01            0.02254428         1.600
## 4           Suggary 02 2001-08-01            0.01033058         0.700
## 5      Waugh sanct. 07 2001-08-01            0.07722008         1.200
## 6           Dempsey 12 2001-08-01            0.02093476         1.300
## 7  Branche sud aval 03 2001-08-01            0.00120692         0.500
## 8            Sewell 08 2001-08-01            0.01452703         1.500
## 9         Pok amont 04 2001-08-01            0.06612601         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.10017889         0.100
## 12          Pollard 10 2001-08-01            0.01174743         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491         1.200
## 14          Pollard 10 2001-08-28            0.01174743         0.800
## 15    br. sud amont 01 2001-08-28            0.03539823         6.100
## 16         Morrison 06 2001-08-28            0.01154856         0.700
## 17             Malt 11 2001-08-28            0.02254428         0.500
## 18          Suggary 02 2001-08-28            0.01033058         3.500
## 19     Waugh sanct. 07 2001-08-28            0.07722008         1.000
## 20          Dempsey 12 2001-08-28            0.02093476         1.700
## 21 Branche sud aval 03 2001-08-28            0.00120692         0.900
## 22           Sewell 08 2001-08-28            0.01452703         6.500
## 23        Pok amont 04 2001-08-28            0.06612601         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.10017889         1.000
## 25        Pok amont 04 2001-09-26            0.06612601         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.10017889         1.200
## 28          Pollard 10 2001-09-26            0.01174743         1.150
## 29    br. sud amont 01 2001-09-26            0.03539823        44.800
## 30         Morrison 06 2001-09-26            0.01154856         0.900
## 31             Malt 11 2001-09-26            0.02254428         7.800
## 32          Suggary 02 2001-09-26            0.01033058         1.700
## 33     Waugh sanct. 07 2001-09-26            0.07722008         1.200
## 34          Dempsey 12 2001-09-26            0.02093476         1.500
## 35 Branche sud aval 03 2001-09-26            0.00120692         2.400
## 36           Sewell 08 2001-09-26            0.01452703         3.000
## 37           Sewell 08 2001-10-31            0.01452703         5.500
## 38        Pok amont 04 2001-10-31            0.06612601         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491         1.000
## 40         Morrison 06 2001-10-31            0.01154856         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.10017889         1.400
## 42          Pollard 10 2001-10-31            0.01174743         0.600
## 43    br. sud amont 01 2001-10-31            0.03539823         1.100
## 44          Dempsey 12 2001-10-31            0.02093476         1.700
## 45             Malt 11 2001-10-31            0.02254428         0.800
## 46          Suggary 02 2001-10-31            0.01033058         2.050
## 47     Waugh sanct. 07 2001-10-31            0.07722008         1.200
## 48 Branche sud aval 03 2001-10-31            0.00120692         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491         0.780
## 50 Branche sud aval 03 2002-07-29            0.00120692         1.170
## 51           Sewell 08 2002-07-29            0.01452703         4.960
## 52        Pok amont 04 2002-07-29            0.06612601         0.190
## 53    br. sud amont 01 2002-07-29            0.03539823         0.900
## 54         Morrison 06 2002-07-29            0.01154856         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.10017889         1.520
## 56          Pollard 10 2002-07-29            0.01174743         1.630
## 57     Waugh sanct. 07 2002-07-29            0.07722008         1.110
## 58          Dempsey 12 2002-07-29            0.02093476         1.970
## 59             Malt 11 2002-07-29            0.02254428         0.400
## 60          Suggary 02 2002-07-29            0.01033058         0.430
## 61        Pok amont 04 2002-08-28            0.06612601         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491         1.320
## 63          Dempsey 12 2002-08-28            0.02093476         4.440
## 64 Branche sud aval 03 2002-08-28            0.00120692         1.150
## 65           Sewell 08 2002-08-28            0.01452703         2.960
## 66          Pollard 10 2002-08-28            0.01174743         0.950
## 67    br. sud amont 01 2002-08-28            0.03539823         0.570
## 68         Morrison 06 2002-08-28            0.01154856         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.10017889         1.340
## 70          Suggary 02 2002-08-28            0.01033058         0.820
## 71     Waugh sanct. 07 2002-08-28            0.07722008         1.510
## 72             Malt 11 2002-08-28            0.02254428         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491         0.940
## 74           Sewell 08 2002-10-02            0.01452703         5.255
## 75        Pok amont 04 2002-10-02            0.06612601         0.280
## 76     Waugh sanct. 07 2002-10-02            0.07722008         1.280
## 77          Dempsey 12 2002-10-02            0.02093476         3.770
## 78 Branche sud aval 03 2002-10-02            0.00120692         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.10017889         2.110
## 80          Pollard 10 2002-10-02            0.01174743         0.690
## 81    br. sud amont 01 2002-10-02            0.03539823         0.740
## 82         Morrison 06 2002-10-02            0.01154856         0.770
## 83             Malt 11 2002-10-02            0.02254428         0.600
## 84          Suggary 02 2002-10-02            0.01033058         0.480
## 85        Pok amont 04 2002-10-31            0.06612601         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491         0.870
## 87 Branche sud aval 03 2002-10-31            0.00120692           NaN
## 88           Sewell 08 2002-10-31            0.01452703         8.740
## 89          Suggary 02 2002-10-31            0.01033058         0.410
## 90     Waugh sanct. 07 2002-10-31            0.07722008         1.440
## 91          Dempsey 12 2002-10-31            0.02093476         2.880
## 92         Morrison 06 2002-10-31            0.01154856         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.10017889         1.500
## 94          Pollard 10 2002-10-31            0.01174743         1.060
## 95    br. sud amont 01 2002-10-31            0.03539823         1.220
## 96             Malt 11 2002-10-31            0.02254428         0.900
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctWL_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28           0.024986986           1.2
## 98           Dempsey 12 2021-07-28           0.009973753           1.6
## 99  Branche sud aval 03 2021-07-28           0.019323671           1.8
## 100           Sewell 08 2021-07-28           0.006198347           3.5
## 101     Waugh sanct. 07 2021-07-28           0.101930502           1.1
## 102    br. sud amont 01 2021-07-28           0.021908471           2.3
## 103         Morrison 06 2021-07-28           0.040544387           1.4
## 104             Malt 11 2021-07-28           0.012500000           0.7
## 105 McConnell Six Rd 05 2021-07-28           0.062383032           1.9
## 106          Pollard 10 2021-07-28           0.019811321           1.2
## 107        Pok amont 04 2021-07-28           0.064847943           0.9
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787           1.7
## 109             Malt 11 2021-08-31           0.019811321           0.5
## 110          Suggary 02 2021-08-31           0.009544787           0.7
## 111     Waugh sanct. 07 2021-08-31           0.024986986           1.1
## 112          Dempsey 12 2021-08-31           0.009973753           1.7
## 113 Branche sud aval 03 2021-08-31           0.019323671           1.7
## 114           Sewell 08 2021-08-31           0.006198347           3.0
## 115          Pollard 10 2021-08-31           0.101930502           1.7
## 116    br. sud amont 01 2021-08-31           0.021908471           5.6
## 117         Morrison 06 2021-08-31           0.040544387           2.6
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000           2.0
## 119 McConnell Six Rd 05 2021-08-31           0.062383032           3.2
## 120        Pok amont 04 2021-08-31           0.064847943           1.5
## 121          Suggary 02 2021-10-05           0.062383032           0.7
## 122         Morrison 06 2021-10-05           0.019811321           1.4
## 123             Malt 11 2021-10-05           0.064847943           0.9
## 124           Sewell 08 2021-10-05           0.009544787           4.2
## 125     Waugh sanct. 07 2021-10-05           0.024986986           1.2
## 126          Dempsey 12 2021-10-05           0.009973753           1.8
## 127 Branche sud aval 03 2021-10-05           0.019323671           1.7
## 128 McConnell Six Rd 05 2021-10-05           0.006198347           1.8
## 129          Pollard 10 2021-10-05           0.101930502           1.8
## 130    br. sud amont 01 2021-10-05           0.021908471           3.7
## 131        Pok amont 04 2021-10-05           0.040544387           1.0
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000           1.4
## 133             Malt 11 2021-10-28           0.012500000           0.5
## 134          Suggary 02 2021-10-28           0.062383032           0.2
## 135    br. sud amont 01 2021-10-28           0.019811321           1.9
## 136         Morrison 06 2021-10-28           0.009973753           0.6
## 137 Branche sud aval 03 2021-10-28           0.064847943           1.3
## 138           Sewell 08 2021-10-28           0.009544787           2.8
## 139     Waugh sanct. 07 2021-10-28           0.024986986           1.0
## 140          Dempsey 12 2021-10-28           0.021908471           1.3
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671           0.7
## 142 McConnell Six Rd 05 2021-10-28           0.006198347           1.4
## 143          Pollard 10 2021-10-28           0.101930502           0.8
## 144        Pok amont 04 2021-10-28           0.040544387           0.6
## 145          Pollard 10 2022-07-28           0.019811321           0.4
## 146         Morrison 06 2022-07-28           0.040544387           0.7
## 147             Malt 11 2022-07-28           0.012500000           0.4
## 148          Suggary 02 2022-07-28           0.062383032           0.5
## 149    br. sud amont 01 2022-07-28           0.024986986           2.7
## 150          Dempsey 12 2022-07-28           0.009973753           1.2
## 151 Branche sud aval 03 2022-07-28           0.064847943           2.1
## 152           Sewell 08 2022-07-28           0.009544787           1.8
## 153     Waugh sanct. 07 2022-07-28           0.101930502           1.0
## 154        Pok amont 04 2022-07-28           0.021908471           0.7
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671           0.7
## 156 McConnell Six Rd 05 2022-07-28           0.006198347           0.8
## 157 McConnell Six Rd 05 2022-09-01           0.062383032           1.9
## 158          Pollard 10 2022-09-01           0.019811321           1.3
## 159    br. sud amont 01 2022-09-01           0.021908471           3.0
## 160         Morrison 06 2022-09-01           0.040544387           2.4
## 161             Malt 11 2022-09-01           0.012500000           0.5
## 162          Suggary 02 2022-09-01           0.009544787           0.7
## 163     Waugh sanct. 07 2022-09-01           0.024986986           1.8
## 164          Dempsey 12 2022-09-01           0.009973753           2.2
## 165 Branche sud aval 03 2022-09-01           0.064847943           1.9
## 166           Sewell 08 2022-09-01           0.006198347           2.6
## 167        Pok amont 04 2022-09-01           0.101930502           1.5
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671           1.4
## 169           Sewell 08 2022-10-03           0.019811321           3.6
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000           1.2
## 171 McConnell Six Rd 05 2022-10-03           0.062383032           1.9
## 172          Pollard 10 2022-10-03           0.101930502           0.4
## 173    br. sud amont 01 2022-10-03           0.021908471           2.8
## 174         Morrison 06 2022-10-03           0.040544387           1.0
## 175             Malt 11 2022-10-03           0.064847943           0.4
## 176          Suggary 02 2022-10-03           0.009544787           0.3
## 177     Waugh sanct. 07 2022-10-03           0.024986986           1.3
## 178          Dempsey 12 2022-10-03           0.009973753           1.3
## 179 Branche sud aval 03 2022-10-03           0.019323671           1.6
## 180        Pok amont 04 2022-10-03           0.006198347           1.5
## 181 Branche sud aval 03 2022-11-01           0.062383032           2.6
## 182           Sewell 08 2022-11-01           0.019811321           5.4
## 183        Pok amont 04 2022-11-01           0.040544387           0.8
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000           2.6
## 185 McConnell Six Rd 05 2022-11-01           0.006198347           2.0
## 186          Pollard 10 2022-11-01           0.101930502           0.7
## 187    br. sud amont 01 2022-11-01           0.021908471           4.8
## 188         Morrison 06 2022-11-01           0.009973753           2.8
## 189             Malt 11 2022-11-01           0.064847943           1.5
## 190          Suggary 02 2022-11-01           0.009544787           0.7
## 191     Waugh sanct. 07 2022-11-01           0.024986986           1.6
## 192          Dempsey 12 2022-11-01           0.019323671           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Terres_humides_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Colour_TCU))
##               Station2       Date pctWL_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01            0.03539823        5.0
## 2          Morrison 06 2001-08-01            0.01154856       10.0
## 3              Malt 11 2001-08-01            0.02254428       10.0
## 4           Suggary 02 2001-08-01            0.01033058        5.0
## 5      Waugh sanct. 07 2001-08-01            0.07722008       20.0
## 6           Dempsey 12 2001-08-01            0.02093476       15.0
## 7  Branche sud aval 03 2001-08-01            0.00120692        5.0
## 8            Sewell 08 2001-08-01            0.01452703        5.0
## 9         Pok amont 04 2001-08-01            0.06612601        0.0
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491        0.0
## 11 McConnell Six Rd 05 2001-08-01            0.10017889        5.0
## 12          Pollard 10 2001-08-01            0.01174743        5.0
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491        5.0
## 14          Pollard 10 2001-08-28            0.01174743        5.0
## 15    br. sud amont 01 2001-08-28            0.03539823        5.0
## 16         Morrison 06 2001-08-28            0.01154856        5.0
## 17             Malt 11 2001-08-28            0.02254428        5.0
## 18          Suggary 02 2001-08-28            0.01033058       10.0
## 19     Waugh sanct. 07 2001-08-28            0.07722008       10.0
## 20          Dempsey 12 2001-08-28            0.02093476       15.0
## 21 Branche sud aval 03 2001-08-28            0.00120692        5.0
## 22           Sewell 08 2001-08-28            0.01452703       30.0
## 23        Pok amont 04 2001-08-28            0.06612601        5.0
## 24 McConnell Six Rd 05 2001-08-28            0.10017889        5.0
## 25        Pok amont 04 2001-09-26            0.06612601       10.0
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491       30.0
## 27 McConnell Six Rd 05 2001-09-26            0.10017889       15.0
## 28          Pollard 10 2001-09-26            0.01174743       20.0
## 29    br. sud amont 01 2001-09-26            0.03539823      200.0
## 30         Morrison 06 2001-09-26            0.01154856        5.0
## 31             Malt 11 2001-09-26            0.02254428       20.0
## 32          Suggary 02 2001-09-26            0.01033058        5.0
## 33     Waugh sanct. 07 2001-09-26            0.07722008       10.0
## 34          Dempsey 12 2001-09-26            0.02093476       20.0
## 35 Branche sud aval 03 2001-09-26            0.00120692       10.0
## 36           Sewell 08 2001-09-26            0.01452703       30.0
## 37           Sewell 08 2001-10-31            0.01452703       80.0
## 38        Pok amont 04 2001-10-31            0.06612601        5.0
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491       20.0
## 40         Morrison 06 2001-10-31            0.01154856       15.0
## 41 McConnell Six Rd 05 2001-10-31            0.10017889      120.0
## 42          Pollard 10 2001-10-31            0.01174743       10.0
## 43    br. sud amont 01 2001-10-31            0.03539823       30.0
## 44          Dempsey 12 2001-10-31            0.02093476       30.0
## 45             Malt 11 2001-10-31            0.02254428       10.0
## 46          Suggary 02 2001-10-31            0.01033058       30.0
## 47     Waugh sanct. 07 2001-10-31            0.07722008      100.0
## 48 Branche sud aval 03 2001-10-31            0.00120692       20.0
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491       10.0
## 50 Branche sud aval 03 2002-07-29            0.00120692       15.0
## 51           Sewell 08 2002-07-29            0.01452703       40.0
## 52        Pok amont 04 2002-07-29            0.06612601        5.0
## 53    br. sud amont 01 2002-07-29            0.03539823       15.0
## 54         Morrison 06 2002-07-29            0.01154856       10.0
## 55 McConnell Six Rd 05 2002-07-29            0.10017889       80.0
## 56          Pollard 10 2002-07-29            0.01174743       10.0
## 57     Waugh sanct. 07 2002-07-29            0.07722008       40.0
## 58          Dempsey 12 2002-07-29            0.02093476       20.0
## 59             Malt 11 2002-07-29            0.02254428        5.0
## 60          Suggary 02 2002-07-29            0.01033058        5.0
## 61        Pok amont 04 2002-08-28            0.06612601        5.0
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491       20.0
## 63          Dempsey 12 2002-08-28            0.02093476       40.0
## 64 Branche sud aval 03 2002-08-28            0.00120692       15.0
## 65           Sewell 08 2002-08-28            0.01452703       40.0
## 66          Pollard 10 2002-08-28            0.01174743       10.0
## 67    br. sud amont 01 2002-08-28            0.03539823       10.0
## 68         Morrison 06 2002-08-28            0.01154856       10.0
## 69 McConnell Six Rd 05 2002-08-28            0.10017889       20.0
## 70          Suggary 02 2002-08-28            0.01033058        7.5
## 71     Waugh sanct. 07 2002-08-28            0.07722008       30.0
## 72             Malt 11 2002-08-28            0.02254428       10.0
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491        5.0
## 74           Sewell 08 2002-10-02            0.01452703       60.0
## 75        Pok amont 04 2002-10-02            0.06612601        5.0
## 76     Waugh sanct. 07 2002-10-02            0.07722008       20.0
## 77          Dempsey 12 2002-10-02            0.02093476       20.0
## 78 Branche sud aval 03 2002-10-02            0.00120692       15.0
## 79 McConnell Six Rd 05 2002-10-02            0.10017889       60.0
## 80          Pollard 10 2002-10-02            0.01174743       10.0
## 81    br. sud amont 01 2002-10-02            0.03539823       10.0
## 82         Morrison 06 2002-10-02            0.01154856       10.0
## 83             Malt 11 2002-10-02            0.02254428        5.0
## 84          Suggary 02 2002-10-02            0.01033058        5.0
## 85        Pok amont 04 2002-10-31            0.06612601        5.0
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491       20.0
## 87 Branche sud aval 03 2002-10-31            0.00120692        NaN
## 88           Sewell 08 2002-10-31            0.01452703       60.0
## 89          Suggary 02 2002-10-31            0.01033058        5.0
## 90     Waugh sanct. 07 2002-10-31            0.07722008       60.0
## 91          Dempsey 12 2002-10-31            0.02093476       30.0
## 92         Morrison 06 2002-10-31            0.01154856        5.0
## 93 McConnell Six Rd 05 2002-10-31            0.10017889       75.0
## 94          Pollard 10 2002-10-31            0.01174743        5.0
## 95    br. sud amont 01 2002-10-31            0.03539823       30.0
## 96             Malt 11 2002-10-31            0.02254428       15.0
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Colour_TCU))
##                Station2       Date pctWL_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28           0.024986986          8
## 98           Dempsey 12 2021-07-28           0.009973753         22
## 99  Branche sud aval 03 2021-07-28           0.019323671         19
## 100           Sewell 08 2021-07-28           0.006198347         34
## 101     Waugh sanct. 07 2021-07-28           0.101930502         27
## 102    br. sud amont 01 2021-07-28           0.021908471         15
## 103         Morrison 06 2021-07-28           0.040544387         14
## 104             Malt 11 2021-07-28           0.012500000          7
## 105 McConnell Six Rd 05 2021-07-28           0.062383032         29
## 106          Pollard 10 2021-07-28           0.019811321          8
## 107        Pok amont 04 2021-07-28           0.064847943         11
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787          9
## 109             Malt 11 2021-08-31           0.019811321          5
## 110          Suggary 02 2021-08-31           0.009544787          5
## 111     Waugh sanct. 07 2021-08-31           0.024986986         14
## 112          Dempsey 12 2021-08-31           0.009973753         14
## 113 Branche sud aval 03 2021-08-31           0.019323671         20
## 114           Sewell 08 2021-08-31           0.006198347         24
## 115          Pollard 10 2021-08-31           0.101930502          8
## 116    br. sud amont 01 2021-08-31           0.021908471         12
## 117         Morrison 06 2021-08-31           0.040544387         18
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000          8
## 119 McConnell Six Rd 05 2021-08-31           0.062383032         37
## 120        Pok amont 04 2021-08-31           0.064847943         10
## 121          Suggary 02 2021-10-05           0.062383032          8
## 122         Morrison 06 2021-10-05           0.019811321         22
## 123             Malt 11 2021-10-05           0.064847943         66
## 124           Sewell 08 2021-10-05           0.009544787         47
## 125     Waugh sanct. 07 2021-10-05           0.024986986        190
## 126          Dempsey 12 2021-10-05           0.009973753         55
## 127 Branche sud aval 03 2021-10-05           0.019323671         38
## 128 McConnell Six Rd 05 2021-10-05           0.006198347        141
## 129          Pollard 10 2021-10-05           0.101930502         19
## 130    br. sud amont 01 2021-10-05           0.021908471         44
## 131        Pok amont 04 2021-10-05           0.040544387         21
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000         33
## 133             Malt 11 2021-10-28           0.012500000         47
## 134          Suggary 02 2021-10-28           0.062383032          5
## 135    br. sud amont 01 2021-10-28           0.019811321         32
## 136         Morrison 06 2021-10-28           0.009973753         13
## 137 Branche sud aval 03 2021-10-28           0.064847943         22
## 138           Sewell 08 2021-10-28           0.009544787         43
## 139     Waugh sanct. 07 2021-10-28           0.024986986        130
## 140          Dempsey 12 2021-10-28           0.021908471         33
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671         15
## 142 McConnell Six Rd 05 2021-10-28           0.006198347        107
## 143          Pollard 10 2021-10-28           0.101930502         12
## 144        Pok amont 04 2021-10-28           0.040544387         13
## 145          Pollard 10 2022-07-28           0.019811321          5
## 146         Morrison 06 2022-07-28           0.040544387          7
## 147             Malt 11 2022-07-28           0.012500000          6
## 148          Suggary 02 2022-07-28           0.062383032          5
## 149    br. sud amont 01 2022-07-28           0.024986986         26
## 150          Dempsey 12 2022-07-28           0.009973753         16
## 151 Branche sud aval 03 2022-07-28           0.064847943         18
## 152           Sewell 08 2022-07-28           0.009544787         33
## 153     Waugh sanct. 07 2022-07-28           0.101930502         27
## 154        Pok amont 04 2022-07-28           0.021908471          7
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671          5
## 156 McConnell Six Rd 05 2022-07-28           0.006198347         15
## 157 McConnell Six Rd 05 2022-09-01           0.062383032         48
## 158          Pollard 10 2022-09-01           0.019811321         23
## 159    br. sud amont 01 2022-09-01           0.021908471         23
## 160         Morrison 06 2022-09-01           0.040544387         15
## 161             Malt 11 2022-09-01           0.012500000         10
## 162          Suggary 02 2022-09-01           0.009544787          8
## 163     Waugh sanct. 07 2022-09-01           0.024986986         61
## 164          Dempsey 12 2022-09-01           0.009973753         21
## 165 Branche sud aval 03 2022-09-01           0.064847943         21
## 166           Sewell 08 2022-09-01           0.006198347         43
## 167        Pok amont 04 2022-09-01           0.101930502         14
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671         41
## 169           Sewell 08 2022-10-03           0.019811321         71
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000          8
## 171 McConnell Six Rd 05 2022-10-03           0.062383032        130
## 172          Pollard 10 2022-10-03           0.101930502         10
## 173    br. sud amont 01 2022-10-03           0.021908471         20
## 174         Morrison 06 2022-10-03           0.040544387         10
## 175             Malt 11 2022-10-03           0.064847943          5
## 176          Suggary 02 2022-10-03           0.009544787          5
## 177     Waugh sanct. 07 2022-10-03           0.024986986         53
## 178          Dempsey 12 2022-10-03           0.009973753         16
## 179 Branche sud aval 03 2022-10-03           0.019323671         17
## 180        Pok amont 04 2022-10-03           0.006198347         12
## 181 Branche sud aval 03 2022-11-01           0.062383032         25
## 182           Sewell 08 2022-11-01           0.019811321         60
## 183        Pok amont 04 2022-11-01           0.040544387         11
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000         21
## 185 McConnell Six Rd 05 2022-11-01           0.006198347        148
## 186          Pollard 10 2022-11-01           0.101930502         11
## 187    br. sud amont 01 2022-11-01           0.021908471         42
## 188         Morrison 06 2022-11-01           0.009973753         13
## 189             Malt 11 2022-11-01           0.064847943         22
## 190          Suggary 02 2022-11-01           0.009544787          9
## 191     Waugh sanct. 07 2022-11-01           0.024986986        143
## 192          Dempsey 12 2022-11-01           0.019323671         28
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Terres_humides_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctWL_supdrainee_1990
## 1     br. sud amont 01 2001-08-01            0.03539823
## 2          Morrison 06 2001-08-01            0.01154856
## 3              Malt 11 2001-08-01            0.02254428
## 4           Suggary 02 2001-08-01            0.01033058
## 5      Waugh sanct. 07 2001-08-01            0.07722008
## 6           Dempsey 12 2001-08-01            0.02093476
## 7  Branche sud aval 03 2001-08-01            0.00120692
## 8            Sewell 08 2001-08-01            0.01452703
## 9         Pok amont 04 2001-08-01            0.06612601
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491
## 11 McConnell Six Rd 05 2001-08-01            0.10017889
## 12          Pollard 10 2001-08-01            0.01174743
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491
## 14          Pollard 10 2001-08-28            0.01174743
## 15    br. sud amont 01 2001-08-28            0.03539823
## 16         Morrison 06 2001-08-28            0.01154856
## 17             Malt 11 2001-08-28            0.02254428
## 18          Suggary 02 2001-08-28            0.01033058
## 19     Waugh sanct. 07 2001-08-28            0.07722008
## 20          Dempsey 12 2001-08-28            0.02093476
## 21 Branche sud aval 03 2001-08-28            0.00120692
## 22           Sewell 08 2001-08-28            0.01452703
## 23        Pok amont 04 2001-08-28            0.06612601
## 24 McConnell Six Rd 05 2001-08-28            0.10017889
## 25        Pok amont 04 2001-09-26            0.06612601
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491
## 27 McConnell Six Rd 05 2001-09-26            0.10017889
## 28          Pollard 10 2001-09-26            0.01174743
## 29    br. sud amont 01 2001-09-26            0.03539823
## 30         Morrison 06 2001-09-26            0.01154856
## 31             Malt 11 2001-09-26            0.02254428
## 32          Suggary 02 2001-09-26            0.01033058
## 33     Waugh sanct. 07 2001-09-26            0.07722008
## 34          Dempsey 12 2001-09-26            0.02093476
## 35 Branche sud aval 03 2001-09-26            0.00120692
## 36           Sewell 08 2001-09-26            0.01452703
## 37           Sewell 08 2001-10-31            0.01452703
## 38        Pok amont 04 2001-10-31            0.06612601
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491
## 40         Morrison 06 2001-10-31            0.01154856
## 41 McConnell Six Rd 05 2001-10-31            0.10017889
## 42          Pollard 10 2001-10-31            0.01174743
## 43    br. sud amont 01 2001-10-31            0.03539823
## 44          Dempsey 12 2001-10-31            0.02093476
## 45             Malt 11 2001-10-31            0.02254428
## 46          Suggary 02 2001-10-31            0.01033058
## 47     Waugh sanct. 07 2001-10-31            0.07722008
## 48 Branche sud aval 03 2001-10-31            0.00120692
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491
## 50 Branche sud aval 03 2002-07-29            0.00120692
## 51           Sewell 08 2002-07-29            0.01452703
## 52        Pok amont 04 2002-07-29            0.06612601
## 53    br. sud amont 01 2002-07-29            0.03539823
## 54         Morrison 06 2002-07-29            0.01154856
## 55 McConnell Six Rd 05 2002-07-29            0.10017889
## 56          Pollard 10 2002-07-29            0.01174743
## 57     Waugh sanct. 07 2002-07-29            0.07722008
## 58          Dempsey 12 2002-07-29            0.02093476
## 59             Malt 11 2002-07-29            0.02254428
## 60          Suggary 02 2002-07-29            0.01033058
## 61        Pok amont 04 2002-08-28            0.06612601
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491
## 63          Dempsey 12 2002-08-28            0.02093476
## 64 Branche sud aval 03 2002-08-28            0.00120692
## 65           Sewell 08 2002-08-28            0.01452703
## 66          Pollard 10 2002-08-28            0.01174743
## 67    br. sud amont 01 2002-08-28            0.03539823
## 68         Morrison 06 2002-08-28            0.01154856
## 69 McConnell Six Rd 05 2002-08-28            0.10017889
## 70          Suggary 02 2002-08-28            0.01033058
## 71     Waugh sanct. 07 2002-08-28            0.07722008
## 72             Malt 11 2002-08-28            0.02254428
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491
## 74           Sewell 08 2002-10-02            0.01452703
## 75        Pok amont 04 2002-10-02            0.06612601
## 76     Waugh sanct. 07 2002-10-02            0.07722008
## 77          Dempsey 12 2002-10-02            0.02093476
## 78 Branche sud aval 03 2002-10-02            0.00120692
## 79 McConnell Six Rd 05 2002-10-02            0.10017889
## 80          Pollard 10 2002-10-02            0.01174743
## 81    br. sud amont 01 2002-10-02            0.03539823
## 82         Morrison 06 2002-10-02            0.01154856
## 83             Malt 11 2002-10-02            0.02254428
## 84          Suggary 02 2002-10-02            0.01033058
## 85        Pok amont 04 2002-10-31            0.06612601
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491
## 87 Branche sud aval 03 2002-10-31            0.00120692
## 88           Sewell 08 2002-10-31            0.01452703
## 89          Suggary 02 2002-10-31            0.01033058
## 90     Waugh sanct. 07 2002-10-31            0.07722008
## 91          Dempsey 12 2002-10-31            0.02093476
## 92         Morrison 06 2002-10-31            0.01154856
## 93 McConnell Six Rd 05 2002-10-31            0.10017889
## 94          Pollard 10 2002-10-31            0.01174743
## 95    br. sud amont 01 2002-10-31            0.03539823
## 96             Malt 11 2002-10-31            0.02254428
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctWL_supdrainee_2020
## 97           Suggary 02 2021-07-28           0.024986986
## 98           Dempsey 12 2021-07-28           0.009973753
## 99  Branche sud aval 03 2021-07-28           0.019323671
## 100           Sewell 08 2021-07-28           0.006198347
## 101     Waugh sanct. 07 2021-07-28           0.101930502
## 102    br. sud amont 01 2021-07-28           0.021908471
## 103         Morrison 06 2021-07-28           0.040544387
## 104             Malt 11 2021-07-28           0.012500000
## 105 McConnell Six Rd 05 2021-07-28           0.062383032
## 106          Pollard 10 2021-07-28           0.019811321
## 107        Pok amont 04 2021-07-28           0.064847943
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787
## 109             Malt 11 2021-08-31           0.019811321
## 110          Suggary 02 2021-08-31           0.009544787
## 111     Waugh sanct. 07 2021-08-31           0.024986986
## 112          Dempsey 12 2021-08-31           0.009973753
## 113 Branche sud aval 03 2021-08-31           0.019323671
## 114           Sewell 08 2021-08-31           0.006198347
## 115          Pollard 10 2021-08-31           0.101930502
## 116    br. sud amont 01 2021-08-31           0.021908471
## 117         Morrison 06 2021-08-31           0.040544387
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000
## 119 McConnell Six Rd 05 2021-08-31           0.062383032
## 120        Pok amont 04 2021-08-31           0.064847943
## 121          Suggary 02 2021-10-05           0.062383032
## 122         Morrison 06 2021-10-05           0.019811321
## 123             Malt 11 2021-10-05           0.064847943
## 124           Sewell 08 2021-10-05           0.009544787
## 125     Waugh sanct. 07 2021-10-05           0.024986986
## 126          Dempsey 12 2021-10-05           0.009973753
## 127 Branche sud aval 03 2021-10-05           0.019323671
## 128 McConnell Six Rd 05 2021-10-05           0.006198347
## 129          Pollard 10 2021-10-05           0.101930502
## 130    br. sud amont 01 2021-10-05           0.021908471
## 131        Pok amont 04 2021-10-05           0.040544387
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000
## 133             Malt 11 2021-10-28           0.012500000
## 134          Suggary 02 2021-10-28           0.062383032
## 135    br. sud amont 01 2021-10-28           0.019811321
## 136         Morrison 06 2021-10-28           0.009973753
## 137 Branche sud aval 03 2021-10-28           0.064847943
## 138           Sewell 08 2021-10-28           0.009544787
## 139     Waugh sanct. 07 2021-10-28           0.024986986
## 140          Dempsey 12 2021-10-28           0.021908471
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671
## 142 McConnell Six Rd 05 2021-10-28           0.006198347
## 143          Pollard 10 2021-10-28           0.101930502
## 144        Pok amont 04 2021-10-28           0.040544387
## 145          Pollard 10 2022-07-28           0.019811321
## 146         Morrison 06 2022-07-28           0.040544387
## 147             Malt 11 2022-07-28           0.012500000
## 148          Suggary 02 2022-07-28           0.062383032
## 149    br. sud amont 01 2022-07-28           0.024986986
## 150          Dempsey 12 2022-07-28           0.009973753
## 151 Branche sud aval 03 2022-07-28           0.064847943
## 152           Sewell 08 2022-07-28           0.009544787
## 153     Waugh sanct. 07 2022-07-28           0.101930502
## 154        Pok amont 04 2022-07-28           0.021908471
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671
## 156 McConnell Six Rd 05 2022-07-28           0.006198347
## 157 McConnell Six Rd 05 2022-09-01           0.062383032
## 158          Pollard 10 2022-09-01           0.019811321
## 159    br. sud amont 01 2022-09-01           0.021908471
## 160         Morrison 06 2022-09-01           0.040544387
## 161             Malt 11 2022-09-01           0.012500000
## 162          Suggary 02 2022-09-01           0.009544787
## 163     Waugh sanct. 07 2022-09-01           0.024986986
## 164          Dempsey 12 2022-09-01           0.009973753
## 165 Branche sud aval 03 2022-09-01           0.064847943
## 166           Sewell 08 2022-09-01           0.006198347
## 167        Pok amont 04 2022-09-01           0.101930502
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671
## 169           Sewell 08 2022-10-03           0.019811321
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000
## 171 McConnell Six Rd 05 2022-10-03           0.062383032
## 172          Pollard 10 2022-10-03           0.101930502
## 173    br. sud amont 01 2022-10-03           0.021908471
## 174         Morrison 06 2022-10-03           0.040544387
## 175             Malt 11 2022-10-03           0.064847943
## 176          Suggary 02 2022-10-03           0.009544787
## 177     Waugh sanct. 07 2022-10-03           0.024986986
## 178          Dempsey 12 2022-10-03           0.009973753
## 179 Branche sud aval 03 2022-10-03           0.019323671
## 180        Pok amont 04 2022-10-03           0.006198347
## 181 Branche sud aval 03 2022-11-01           0.062383032
## 182           Sewell 08 2022-11-01           0.019811321
## 183        Pok amont 04 2022-11-01           0.040544387
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000
## 185 McConnell Six Rd 05 2022-11-01           0.006198347
## 186          Pollard 10 2022-11-01           0.101930502
## 187    br. sud amont 01 2022-11-01           0.021908471
## 188         Morrison 06 2022-11-01           0.009973753
## 189             Malt 11 2022-11-01           0.064847943
## 190          Suggary 02 2022-11-01           0.009544787
## 191     Waugh sanct. 07 2022-11-01           0.024986986
## 192          Dempsey 12 2022-11-01           0.019323671
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la COT et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Terres_humides_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctWL_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01            0.03539823                10
## 2          Morrison 06 2001-08-01            0.01154856                80
## 3              Malt 11 2001-08-01            0.02254428                30
## 4           Suggary 02 2001-08-01            0.01033058                10
## 5      Waugh sanct. 07 2001-08-01            0.07722008               270
## 6           Dempsey 12 2001-08-01            0.02093476                50
## 7  Branche sud aval 03 2001-08-01            0.00120692                10
## 8            Sewell 08 2001-08-01            0.01452703                20
## 9         Pok amont 04 2001-08-01            0.06612601                10
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491                10
## 11 McConnell Six Rd 05 2001-08-01            0.10017889                30
## 12          Pollard 10 2001-08-01            0.01174743               110
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491                10
## 14          Pollard 10 2001-08-28            0.01174743                50
## 15    br. sud amont 01 2001-08-28            0.03539823               120
## 16         Morrison 06 2001-08-28            0.01154856                90
## 17             Malt 11 2001-08-28            0.02254428                20
## 18          Suggary 02 2001-08-28            0.01033058                80
## 19     Waugh sanct. 07 2001-08-28            0.07722008               430
## 20          Dempsey 12 2001-08-28            0.02093476                20
## 21 Branche sud aval 03 2001-08-28            0.00120692               110
## 22           Sewell 08 2001-08-28            0.01452703               210
## 23        Pok amont 04 2001-08-28            0.06612601                10
## 24 McConnell Six Rd 05 2001-08-28            0.10017889               250
## 25        Pok amont 04 2001-09-26            0.06612601               530
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491               830
## 27 McConnell Six Rd 05 2001-09-26            0.10017889               120
## 28          Pollard 10 2001-09-26            0.01174743              1240
## 29    br. sud amont 01 2001-09-26            0.03539823              2000
## 30         Morrison 06 2001-09-26            0.01154856               220
## 31             Malt 11 2001-09-26            0.02254428               150
## 32          Suggary 02 2001-09-26            0.01033058               150
## 33     Waugh sanct. 07 2001-09-26            0.07722008               590
## 34          Dempsey 12 2001-09-26            0.02093476               150
## 35 Branche sud aval 03 2001-09-26            0.00120692               660
## 36           Sewell 08 2001-09-26            0.01452703               190
## 37           Sewell 08 2001-10-31            0.01452703               140
## 38        Pok amont 04 2001-10-31            0.06612601                20
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491                10
## 40         Morrison 06 2001-10-31            0.01154856                10
## 41 McConnell Six Rd 05 2001-10-31            0.10017889               310
## 42          Pollard 10 2001-10-31            0.01174743                50
## 43    br. sud amont 01 2001-10-31            0.03539823                20
## 44          Dempsey 12 2001-10-31            0.02093476                10
## 45             Malt 11 2001-10-31            0.02254428               100
## 46          Suggary 02 2001-10-31            0.01033058                30
## 47     Waugh sanct. 07 2001-10-31            0.07722008               480
## 48 Branche sud aval 03 2001-10-31            0.00120692                30
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491                10
## 50 Branche sud aval 03 2002-07-29            0.00120692                30
## 51           Sewell 08 2002-07-29            0.01452703                60
## 52        Pok amont 04 2002-07-29            0.06612601                10
## 53    br. sud amont 01 2002-07-29            0.03539823                20
## 54         Morrison 06 2002-07-29            0.01154856                10
## 55 McConnell Six Rd 05 2002-07-29            0.10017889                10
## 56          Pollard 10 2002-07-29            0.01174743               660
## 57     Waugh sanct. 07 2002-07-29            0.07722008                80
## 58          Dempsey 12 2002-07-29            0.02093476                25
## 59             Malt 11 2002-07-29            0.02254428                10
## 60          Suggary 02 2002-07-29            0.01033058                10
## 61        Pok amont 04 2002-08-28            0.06612601                30
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491                10
## 63          Dempsey 12 2002-08-28            0.02093476                10
## 64 Branche sud aval 03 2002-08-28            0.00120692                20
## 65           Sewell 08 2002-08-28            0.01452703                10
## 66          Pollard 10 2002-08-28            0.01174743               180
## 67    br. sud amont 01 2002-08-28            0.03539823                80
## 68         Morrison 06 2002-08-28            0.01154856                20
## 69 McConnell Six Rd 05 2002-08-28            0.10017889               310
## 70          Suggary 02 2002-08-28            0.01033058                15
## 71     Waugh sanct. 07 2002-08-28            0.07722008               410
## 72             Malt 11 2002-08-28            0.02254428                30
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491                10
## 74           Sewell 08 2002-10-02            0.01452703                25
## 75        Pok amont 04 2002-10-02            0.06612601                10
## 76     Waugh sanct. 07 2002-10-02            0.07722008               700
## 77          Dempsey 12 2002-10-02            0.02093476                30
## 78 Branche sud aval 03 2002-10-02            0.00120692                40
## 79 McConnell Six Rd 05 2002-10-02            0.10017889               150
## 80          Pollard 10 2002-10-02            0.01174743                10
## 81    br. sud amont 01 2002-10-02            0.03539823                20
## 82         Morrison 06 2002-10-02            0.01154856                10
## 83             Malt 11 2002-10-02            0.02254428                90
## 84          Suggary 02 2002-10-02            0.01033058                20
## 85        Pok amont 04 2002-10-31            0.06612601                10
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491                10
## 87 Branche sud aval 03 2002-10-31            0.00120692                10
## 88           Sewell 08 2002-10-31            0.01452703                10
## 89          Suggary 02 2002-10-31            0.01033058                50
## 90     Waugh sanct. 07 2002-10-31            0.07722008                40
## 91          Dempsey 12 2002-10-31            0.02093476                10
## 92         Morrison 06 2002-10-31            0.01154856                10
## 93 McConnell Six Rd 05 2002-10-31            0.10017889                30
## 94          Pollard 10 2002-10-31            0.01174743                10
## 95    br. sud amont 01 2002-10-31            0.03539823                10
## 96             Malt 11 2002-10-31            0.02254428                10
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctWL_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28           0.024986986              20.0
## 98           Dempsey 12 2021-07-28           0.009973753              52.0
## 99  Branche sud aval 03 2021-07-28           0.019323671              74.0
## 100           Sewell 08 2021-07-28           0.006198347              98.0
## 101     Waugh sanct. 07 2021-07-28           0.101930502              52.0
## 102    br. sud amont 01 2021-07-28           0.021908471              75.0
## 103         Morrison 06 2021-07-28           0.040544387              30.0
## 104             Malt 11 2021-07-28           0.012500000              10.0
## 105 McConnell Six Rd 05 2021-07-28           0.062383032              75.0
## 106          Pollard 10 2021-07-28           0.019811321              98.0
## 107        Pok amont 04 2021-07-28           0.064847943              10.0
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787              20.0
## 109             Malt 11 2021-08-31           0.019811321              39.3
## 110          Suggary 02 2021-08-31           0.009544787             235.9
## 111     Waugh sanct. 07 2021-08-31           0.024986986              68.3
## 112          Dempsey 12 2021-08-31           0.009973753              49.6
## 113 Branche sud aval 03 2021-08-31           0.019323671              54.5
## 114           Sewell 08 2021-08-31           0.006198347             148.3
## 115          Pollard 10 2021-08-31           0.101930502             117.8
## 116    br. sud amont 01 2021-08-31           0.021908471              72.7
## 117         Morrison 06 2021-08-31           0.040544387              25.6
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000              67.7
## 119 McConnell Six Rd 05 2021-08-31           0.062383032              70.3
## 120        Pok amont 04 2021-08-31           0.064847943              15.6
## 121          Suggary 02 2021-10-05           0.062383032              41.7
## 122         Morrison 06 2021-10-05           0.019811321              24.6
## 123             Malt 11 2021-10-05           0.064847943              47.1
## 124           Sewell 08 2021-10-05           0.009544787             135.4
## 125     Waugh sanct. 07 2021-10-05           0.024986986              29.5
## 126          Dempsey 12 2021-10-05           0.009973753              54.8
## 127 Branche sud aval 03 2021-10-05           0.019323671              37.3
## 128 McConnell Six Rd 05 2021-10-05           0.006198347              95.9
## 129          Pollard 10 2021-10-05           0.101930502              62.7
## 130    br. sud amont 01 2021-10-05           0.021908471              35.5
## 131        Pok amont 04 2021-10-05           0.040544387              10.8
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000              27.5
## 133             Malt 11 2021-10-28           0.012500000              16.0
## 134          Suggary 02 2021-10-28           0.062383032               7.4
## 135    br. sud amont 01 2021-10-28           0.019811321              19.9
## 136         Morrison 06 2021-10-28           0.009973753              12.1
## 137 Branche sud aval 03 2021-10-28           0.064847943              39.9
## 138           Sewell 08 2021-10-28           0.009544787              48.1
## 139     Waugh sanct. 07 2021-10-28           0.024986986              38.4
## 140          Dempsey 12 2021-10-28           0.021908471              52.0
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671              24.3
## 142 McConnell Six Rd 05 2021-10-28           0.006198347              29.5
## 143          Pollard 10 2021-10-28           0.101930502              34.5
## 144        Pok amont 04 2021-10-28           0.040544387              14.6
## 145          Pollard 10 2022-07-28           0.019811321              57.6
## 146         Morrison 06 2022-07-28           0.040544387             133.4
## 147             Malt 11 2022-07-28           0.012500000              70.3
## 148          Suggary 02 2022-07-28           0.062383032              27.5
## 149    br. sud amont 01 2022-07-28           0.024986986              32.7
## 150          Dempsey 12 2022-07-28           0.009973753              41.7
## 151 Branche sud aval 03 2022-07-28           0.064847943              59.8
## 152           Sewell 08 2022-07-28           0.009544787              90.6
## 153     Waugh sanct. 07 2022-07-28           0.101930502              93.3
## 154        Pok amont 04 2022-07-28           0.021908471              77.1
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671              22.8
## 156 McConnell Six Rd 05 2022-07-28           0.006198347             488.4
## 157 McConnell Six Rd 05 2022-09-01           0.062383032              82.0
## 158          Pollard 10 2022-09-01           0.019811321            1046.2
## 159    br. sud amont 01 2022-09-01           0.021908471             114.5
## 160         Morrison 06 2022-09-01           0.040544387             686.7
## 161             Malt 11 2022-09-01           0.012500000              69.1
## 162          Suggary 02 2022-09-01           0.009544787              40.2
## 163     Waugh sanct. 07 2022-09-01           0.024986986              88.0
## 164          Dempsey 12 2022-09-01           0.009973753             248.1
## 165 Branche sud aval 03 2022-09-01           0.064847943              70.3
## 166           Sewell 08 2022-09-01           0.006198347             172.2
## 167        Pok amont 04 2022-09-01           0.101930502               5.2
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671             121.1
## 169           Sewell 08 2022-10-03           0.019811321              48.8
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000              44.1
## 171 McConnell Six Rd 05 2022-10-03           0.062383032              59.1
## 172          Pollard 10 2022-10-03           0.101930502              24.1
## 173    br. sud amont 01 2022-10-03           0.021908471              57.6
## 174         Morrison 06 2022-10-03           0.040544387              47.4
## 175             Malt 11 2022-10-03           0.064847943               5.2
## 176          Suggary 02 2022-10-03           0.009544787               9.7
## 177     Waugh sanct. 07 2022-10-03           0.024986986              65.7
## 178          Dempsey 12 2022-10-03           0.009973753              48.0
## 179 Branche sud aval 03 2022-10-03           0.019323671              13.4
## 180        Pok amont 04 2022-10-03           0.006198347               8.4
## 181 Branche sud aval 03 2022-11-01           0.062383032              24.6
## 182           Sewell 08 2022-11-01           0.019811321             115.3
## 183        Pok amont 04 2022-11-01           0.040544387               5.2
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000               3.1
## 185 McConnell Six Rd 05 2022-11-01           0.006198347              72.3
## 186          Pollard 10 2022-11-01           0.101930502              20.3
## 187    br. sud amont 01 2022-11-01           0.021908471              37.3
## 188         Morrison 06 2022-11-01           0.009973753              39.9
## 189             Malt 11 2022-11-01           0.064847943              45.0
## 190          Suggary 02 2022-11-01           0.009544787               8.5
## 191     Waugh sanct. 07 2022-11-01           0.024986986             249.5
## 192          Dempsey 12 2022-11-01           0.019323671              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=log10(E.coli_MPN_100.mL),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=log10(E.coli_MPN_100.mL)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=log10(E.coli_MPN_100.mL),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=log10(E.coli_MPN_100.mL)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le coliforme et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Terres_humides_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctWL_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01            0.03539823                0.0080
## 2          Morrison 06 2001-08-01            0.01154856                0.0080
## 3              Malt 11 2001-08-01            0.02254428                0.0110
## 4           Suggary 02 2001-08-01            0.01033058                0.0090
## 5      Waugh sanct. 07 2001-08-01            0.07722008                0.0150
## 6           Dempsey 12 2001-08-01            0.02093476                0.0140
## 7  Branche sud aval 03 2001-08-01            0.00120692                0.0080
## 8            Sewell 08 2001-08-01            0.01452703                0.0110
## 9         Pok amont 04 2001-08-01            0.06612601                0.0110
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491                0.0090
## 11 McConnell Six Rd 05 2001-08-01            0.10017889                0.0160
## 12          Pollard 10 2001-08-01            0.01174743                0.0150
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491                0.0070
## 14          Pollard 10 2001-08-28            0.01174743                0.0170
## 15    br. sud amont 01 2001-08-28            0.03539823                0.0060
## 16         Morrison 06 2001-08-28            0.01154856                0.0080
## 17             Malt 11 2001-08-28            0.02254428                0.0080
## 18          Suggary 02 2001-08-28            0.01033058                0.0080
## 19     Waugh sanct. 07 2001-08-28            0.07722008                0.0090
## 20          Dempsey 12 2001-08-28            0.02093476                0.0110
## 21 Branche sud aval 03 2001-08-28            0.00120692                0.0070
## 22           Sewell 08 2001-08-28            0.01452703                0.0170
## 23        Pok amont 04 2001-08-28            0.06612601                0.0060
## 24 McConnell Six Rd 05 2001-08-28            0.10017889                0.0130
## 25        Pok amont 04 2001-09-26            0.06612601                0.0130
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491                0.0140
## 27 McConnell Six Rd 05 2001-09-26            0.10017889                0.0130
## 28          Pollard 10 2001-09-26            0.01174743                0.0155
## 29    br. sud amont 01 2001-09-26            0.03539823                0.0130
## 30         Morrison 06 2001-09-26            0.01154856                0.0080
## 31             Malt 11 2001-09-26            0.02254428                0.0120
## 32          Suggary 02 2001-09-26            0.01033058                0.0090
## 33     Waugh sanct. 07 2001-09-26            0.07722008                0.0140
## 34          Dempsey 12 2001-09-26            0.02093476                0.0190
## 35 Branche sud aval 03 2001-09-26            0.00120692                0.0090
## 36           Sewell 08 2001-09-26            0.01452703                0.0120
## 37           Sewell 08 2001-10-31            0.01452703                0.0120
## 38        Pok amont 04 2001-10-31            0.06612601                0.0050
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491                0.0050
## 40         Morrison 06 2001-10-31            0.01154856                0.0060
## 41 McConnell Six Rd 05 2001-10-31            0.10017889                0.0110
## 42          Pollard 10 2001-10-31            0.01174743                0.0080
## 43    br. sud amont 01 2001-10-31            0.03539823                0.0050
## 44          Dempsey 12 2001-10-31            0.02093476                0.0090
## 45             Malt 11 2001-10-31            0.02254428                0.0070
## 46          Suggary 02 2001-10-31            0.01033058                0.0080
## 47     Waugh sanct. 07 2001-10-31            0.07722008                0.0120
## 48 Branche sud aval 03 2001-10-31            0.00120692                0.0050
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491                0.0050
## 50 Branche sud aval 03 2002-07-29            0.00120692                0.0070
## 51           Sewell 08 2002-07-29            0.01452703                0.0200
## 52        Pok amont 04 2002-07-29            0.06612601                0.0060
## 53    br. sud amont 01 2002-07-29            0.03539823                0.0060
## 54         Morrison 06 2002-07-29            0.01154856                0.0080
## 55 McConnell Six Rd 05 2002-07-29            0.10017889                0.0130
## 56          Pollard 10 2002-07-29            0.01174743                0.0230
## 57     Waugh sanct. 07 2002-07-29            0.07722008                0.0120
## 58          Dempsey 12 2002-07-29            0.02093476                0.0100
## 59             Malt 11 2002-07-29            0.02254428                0.0090
## 60          Suggary 02 2002-07-29            0.01033058                0.0070
## 61        Pok amont 04 2002-08-28            0.06612601                0.0100
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491                0.0090
## 63          Dempsey 12 2002-08-28            0.02093476                0.0130
## 64 Branche sud aval 03 2002-08-28            0.00120692                0.0080
## 65           Sewell 08 2002-08-28            0.01452703                0.0100
## 66          Pollard 10 2002-08-28            0.01174743                0.0160
## 67    br. sud amont 01 2002-08-28            0.03539823                0.0070
## 68         Morrison 06 2002-08-28            0.01154856                0.0090
## 69 McConnell Six Rd 05 2002-08-28            0.10017889                0.0140
## 70          Suggary 02 2002-08-28            0.01033058                0.0100
## 71     Waugh sanct. 07 2002-08-28            0.07722008                0.0130
## 72             Malt 11 2002-08-28            0.02254428                0.0110
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491                0.0070
## 74           Sewell 08 2002-10-02            0.01452703                0.0155
## 75        Pok amont 04 2002-10-02            0.06612601                0.0060
## 76     Waugh sanct. 07 2002-10-02            0.07722008                0.0090
## 77          Dempsey 12 2002-10-02            0.02093476                0.0120
## 78 Branche sud aval 03 2002-10-02            0.00120692                0.0080
## 79 McConnell Six Rd 05 2002-10-02            0.10017889                0.0110
## 80          Pollard 10 2002-10-02            0.01174743                0.0110
## 81    br. sud amont 01 2002-10-02            0.03539823                0.0050
## 82         Morrison 06 2002-10-02            0.01154856                0.0050
## 83             Malt 11 2002-10-02            0.02254428                0.0080
## 84          Suggary 02 2002-10-02            0.01033058                0.0070
## 85        Pok amont 04 2002-10-31            0.06612601                0.0060
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491                0.0050
## 87 Branche sud aval 03 2002-10-31            0.00120692                0.0050
## 88           Sewell 08 2002-10-31            0.01452703                0.0130
## 89          Suggary 02 2002-10-31            0.01033058                0.0050
## 90     Waugh sanct. 07 2002-10-31            0.07722008                0.0080
## 91          Dempsey 12 2002-10-31            0.02093476                0.0080
## 92         Morrison 06 2002-10-31            0.01154856                0.0050
## 93 McConnell Six Rd 05 2002-10-31            0.10017889                0.0090
## 94          Pollard 10 2002-10-31            0.01174743                0.0060
## 95    br. sud amont 01 2002-10-31            0.03539823                0.0065
## 96             Malt 11 2002-10-31            0.02254428                0.0050
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctWL_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28           0.024986986                 0.018
## 98           Dempsey 12 2021-07-28           0.009973753                 0.024
## 99  Branche sud aval 03 2021-07-28           0.019323671                 0.022
## 100           Sewell 08 2021-07-28           0.006198347                 0.028
## 101     Waugh sanct. 07 2021-07-28           0.101930502                 0.017
## 102    br. sud amont 01 2021-07-28           0.021908471                 0.016
## 103         Morrison 06 2021-07-28           0.040544387                 0.019
## 104             Malt 11 2021-07-28           0.012500000                 0.014
## 105 McConnell Six Rd 05 2021-07-28           0.062383032                 0.026
## 106          Pollard 10 2021-07-28           0.019811321                 0.051
## 107        Pok amont 04 2021-07-28           0.064847943                 0.022
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787                 0.014
## 109             Malt 11 2021-08-31           0.019811321                 0.005
## 110          Suggary 02 2021-08-31           0.009544787                 0.011
## 111     Waugh sanct. 07 2021-08-31           0.024986986                 0.006
## 112          Dempsey 12 2021-08-31           0.009973753                 0.014
## 113 Branche sud aval 03 2021-08-31           0.019323671                 0.009
## 114           Sewell 08 2021-08-31           0.006198347                 0.015
## 115          Pollard 10 2021-08-31           0.101930502                 0.073
## 116    br. sud amont 01 2021-08-31           0.021908471                 0.016
## 117         Morrison 06 2021-08-31           0.040544387                 0.016
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000                 0.012
## 119 McConnell Six Rd 05 2021-08-31           0.062383032                 0.029
## 120        Pok amont 04 2021-08-31           0.064847943                 0.008
## 121          Suggary 02 2021-10-05           0.062383032                 0.007
## 122         Morrison 06 2021-10-05           0.019811321                 0.010
## 123             Malt 11 2021-10-05           0.064847943                 0.012
## 124           Sewell 08 2021-10-05           0.009544787                 0.024
## 125     Waugh sanct. 07 2021-10-05           0.024986986                 0.019
## 126          Dempsey 12 2021-10-05           0.009973753                 0.018
## 127 Branche sud aval 03 2021-10-05           0.019323671                 0.015
## 128 McConnell Six Rd 05 2021-10-05           0.006198347                 0.025
## 129          Pollard 10 2021-10-05           0.101930502                 0.037
## 130    br. sud amont 01 2021-10-05           0.021908471                 0.019
## 131        Pok amont 04 2021-10-05           0.040544387                 0.008
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000                 0.011
## 133             Malt 11 2021-10-28           0.012500000                 0.009
## 134          Suggary 02 2021-10-28           0.062383032                 0.009
## 135    br. sud amont 01 2021-10-28           0.019811321                 0.013
## 136         Morrison 06 2021-10-28           0.009973753                 0.011
## 137 Branche sud aval 03 2021-10-28           0.064847943                 0.022
## 138           Sewell 08 2021-10-28           0.009544787                 0.020
## 139     Waugh sanct. 07 2021-10-28           0.024986986                 0.018
## 140          Dempsey 12 2021-10-28           0.021908471                 0.015
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671                 0.010
## 142 McConnell Six Rd 05 2021-10-28           0.006198347                 0.018
## 143          Pollard 10 2021-10-28           0.101930502                 0.033
## 144        Pok amont 04 2021-10-28           0.040544387                 0.013
## 145          Pollard 10 2022-07-28           0.019811321                 0.034
## 146         Morrison 06 2022-07-28           0.040544387                 0.014
## 147             Malt 11 2022-07-28           0.012500000                 0.008
## 148          Suggary 02 2022-07-28           0.062383032                 0.009
## 149    br. sud amont 01 2022-07-28           0.024986986                 0.016
## 150          Dempsey 12 2022-07-28           0.009973753                 0.017
## 151 Branche sud aval 03 2022-07-28           0.064847943                 0.013
## 152           Sewell 08 2022-07-28           0.009544787                 0.019
## 153     Waugh sanct. 07 2022-07-28           0.101930502                 0.011
## 154        Pok amont 04 2022-07-28           0.021908471                 0.009
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671                 0.009
## 156 McConnell Six Rd 05 2022-07-28           0.006198347                 0.019
## 157 McConnell Six Rd 05 2022-09-01           0.062383032                 0.024
## 158          Pollard 10 2022-09-01           0.019811321                 0.075
## 159    br. sud amont 01 2022-09-01           0.021908471                 0.015
## 160         Morrison 06 2022-09-01           0.040544387                 0.021
## 161             Malt 11 2022-09-01           0.012500000                 0.008
## 162          Suggary 02 2022-09-01           0.009544787                 0.010
## 163     Waugh sanct. 07 2022-09-01           0.024986986                 0.021
## 164          Dempsey 12 2022-09-01           0.009973753                 0.021
## 165 Branche sud aval 03 2022-09-01           0.064847943                 0.016
## 166           Sewell 08 2022-09-01           0.006198347                 0.019
## 167        Pok amont 04 2022-09-01           0.101930502                 0.010
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671                 0.012
## 169           Sewell 08 2022-10-03           0.019811321                 0.016
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000                 0.019
## 171 McConnell Six Rd 05 2022-10-03           0.062383032                 0.022
## 172          Pollard 10 2022-10-03           0.101930502                 0.049
## 173    br. sud amont 01 2022-10-03           0.021908471                 0.016
## 174         Morrison 06 2022-10-03           0.040544387                 0.014
## 175             Malt 11 2022-10-03           0.064847943                 0.007
## 176          Suggary 02 2022-10-03           0.009544787                 0.005
## 177     Waugh sanct. 07 2022-10-03           0.024986986                 0.013
## 178          Dempsey 12 2022-10-03           0.009973753                 0.013
## 179 Branche sud aval 03 2022-10-03           0.019323671                 0.009
## 180        Pok amont 04 2022-10-03           0.006198347                 0.013
## 181 Branche sud aval 03 2022-11-01           0.062383032                 0.013
## 182           Sewell 08 2022-11-01           0.019811321                 0.021
## 183        Pok amont 04 2022-11-01           0.040544387                 0.011
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000                 0.017
## 185 McConnell Six Rd 05 2022-11-01           0.006198347                 0.020
## 186          Pollard 10 2022-11-01           0.101930502                 0.041
## 187    br. sud amont 01 2022-11-01           0.021908471                 0.020
## 188         Morrison 06 2022-11-01           0.009973753                 0.018
## 189             Malt 11 2022-11-01           0.064847943                 0.009
## 190          Suggary 02 2022-11-01           0.009544787                 0.010
## 191     Waugh sanct. 07 2022-11-01           0.024986986                 0.017
## 192          Dempsey 12 2022-11-01           0.019323671                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Terres_humides_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctWL_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctWL_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01            0.03539823            0.0500
## 2          Morrison 06 2001-08-01            0.01154856            0.0940
## 3              Malt 11 2001-08-01            0.02254428            0.0500
## 4           Suggary 02 2001-08-01            0.01033058            0.0500
## 5      Waugh sanct. 07 2001-08-01            0.07722008            0.0500
## 6           Dempsey 12 2001-08-01            0.02093476            0.0500
## 7  Branche sud aval 03 2001-08-01            0.00120692            0.0500
## 8            Sewell 08 2001-08-01            0.01452703            0.1360
## 9         Pok amont 04 2001-08-01            0.06612601            0.0500
## 10 Trout Val-Doucet 09 2001-08-01            0.02358491            0.0500
## 11 McConnell Six Rd 05 2001-08-01            0.10017889            0.2510
## 12          Pollard 10 2001-08-01            0.01174743            0.2600
## 13 Trout Val-Doucet 09 2001-08-28            0.02358491            0.0500
## 14          Pollard 10 2001-08-28            0.01174743            0.3010
## 15    br. sud amont 01 2001-08-28            0.03539823            0.0500
## 16         Morrison 06 2001-08-28            0.01154856            0.0910
## 17             Malt 11 2001-08-28            0.02254428            0.0500
## 18          Suggary 02 2001-08-28            0.01033058            0.0500
## 19     Waugh sanct. 07 2001-08-28            0.07722008            0.0500
## 20          Dempsey 12 2001-08-28            0.02093476            0.0500
## 21 Branche sud aval 03 2001-08-28            0.00120692            0.0500
## 22           Sewell 08 2001-08-28            0.01452703            0.1330
## 23        Pok amont 04 2001-08-28            0.06612601            0.0500
## 24 McConnell Six Rd 05 2001-08-28            0.10017889            0.2810
## 25        Pok amont 04 2001-09-26            0.06612601            0.0500
## 26 Trout Val-Doucet 09 2001-09-26            0.02358491            0.0500
## 27 McConnell Six Rd 05 2001-09-26            0.10017889            0.2110
## 28          Pollard 10 2001-09-26            0.01174743            0.1845
## 29    br. sud amont 01 2001-09-26            0.03539823            0.0770
## 30         Morrison 06 2001-09-26            0.01154856            0.0500
## 31             Malt 11 2001-09-26            0.02254428            0.0500
## 32          Suggary 02 2001-09-26            0.01033058            0.0500
## 33     Waugh sanct. 07 2001-09-26            0.07722008            0.0500
## 34          Dempsey 12 2001-09-26            0.02093476            0.0500
## 35 Branche sud aval 03 2001-09-26            0.00120692            0.0500
## 36           Sewell 08 2001-09-26            0.01452703            0.0500
## 37           Sewell 08 2001-10-31            0.01452703            0.0500
## 38        Pok amont 04 2001-10-31            0.06612601            0.0500
## 39 Trout Val-Doucet 09 2001-10-31            0.02358491            0.0500
## 40         Morrison 06 2001-10-31            0.01154856            0.0500
## 41 McConnell Six Rd 05 2001-10-31            0.10017889            0.0500
## 42          Pollard 10 2001-10-31            0.01174743            0.2300
## 43    br. sud amont 01 2001-10-31            0.03539823            0.0500
## 44          Dempsey 12 2001-10-31            0.02093476            0.0500
## 45             Malt 11 2001-10-31            0.02254428            0.0500
## 46          Suggary 02 2001-10-31            0.01033058            0.0500
## 47     Waugh sanct. 07 2001-10-31            0.07722008            0.0500
## 48 Branche sud aval 03 2001-10-31            0.00120692            0.0500
## 49 Trout Val-Doucet 09 2002-07-29            0.02358491            0.0500
## 50 Branche sud aval 03 2002-07-29            0.00120692            0.0500
## 51           Sewell 08 2002-07-29            0.01452703            0.2200
## 52        Pok amont 04 2002-07-29            0.06612601            0.0700
## 53    br. sud amont 01 2002-07-29            0.03539823            0.0500
## 54         Morrison 06 2002-07-29            0.01154856            0.0700
## 55 McConnell Six Rd 05 2002-07-29            0.10017889            0.2800
## 56          Pollard 10 2002-07-29            0.01174743            0.3300
## 57     Waugh sanct. 07 2002-07-29            0.07722008            0.0500
## 58          Dempsey 12 2002-07-29            0.02093476            0.0500
## 59             Malt 11 2002-07-29            0.02254428            0.0500
## 60          Suggary 02 2002-07-29            0.01033058            0.1900
## 61        Pok amont 04 2002-08-28            0.06612601            0.0700
## 62 Trout Val-Doucet 09 2002-08-28            0.02358491            0.0500
## 63          Dempsey 12 2002-08-28            0.02093476            0.0500
## 64 Branche sud aval 03 2002-08-28            0.00120692            0.0500
## 65           Sewell 08 2002-08-28            0.01452703            0.0500
## 66          Pollard 10 2002-08-28            0.01174743            0.1800
## 67    br. sud amont 01 2002-08-28            0.03539823            0.0500
## 68         Morrison 06 2002-08-28            0.01154856            0.0700
## 69 McConnell Six Rd 05 2002-08-28            0.10017889            0.3000
## 70          Suggary 02 2002-08-28            0.01033058            0.1750
## 71     Waugh sanct. 07 2002-08-28            0.07722008            0.0500
## 72             Malt 11 2002-08-28            0.02254428            0.0500
## 73 Trout Val-Doucet 09 2002-10-02            0.02358491            0.0500
## 74           Sewell 08 2002-10-02            0.01452703            0.0500
## 75        Pok amont 04 2002-10-02            0.06612601            0.0500
## 76     Waugh sanct. 07 2002-10-02            0.07722008            0.0500
## 77          Dempsey 12 2002-10-02            0.02093476            0.0500
## 78 Branche sud aval 03 2002-10-02            0.00120692            0.0500
## 79 McConnell Six Rd 05 2002-10-02            0.10017889            0.1900
## 80          Pollard 10 2002-10-02            0.01174743            0.1300
## 81    br. sud amont 01 2002-10-02            0.03539823            0.0500
## 82         Morrison 06 2002-10-02            0.01154856            0.0500
## 83             Malt 11 2002-10-02            0.02254428            0.0500
## 84          Suggary 02 2002-10-02            0.01033058            0.1300
## 85        Pok amont 04 2002-10-31            0.06612601            0.0500
## 86 Trout Val-Doucet 09 2002-10-31            0.02358491            0.0500
## 87 Branche sud aval 03 2002-10-31            0.00120692            0.0500
## 88           Sewell 08 2002-10-31            0.01452703            0.2300
## 89          Suggary 02 2002-10-31            0.01033058            0.1500
## 90     Waugh sanct. 07 2002-10-31            0.07722008            0.0800
## 91          Dempsey 12 2002-10-31            0.02093476            0.0500
## 92         Morrison 06 2002-10-31            0.01154856            0.0700
## 93 McConnell Six Rd 05 2002-10-31            0.10017889            0.2200
## 94          Pollard 10 2002-10-31            0.01174743            0.1900
## 95    br. sud amont 01 2002-10-31            0.03539823            0.0500
## 96             Malt 11 2002-10-31            0.02254428            0.1300
subset(Period2, select=c(Station2, Date, pctWL_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctWL_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28           0.024986986              0.11
## 98           Dempsey 12 2021-07-28           0.009973753              0.08
## 99  Branche sud aval 03 2021-07-28           0.019323671              0.05
## 100           Sewell 08 2021-07-28           0.006198347              0.17
## 101     Waugh sanct. 07 2021-07-28           0.101930502              0.06
## 102    br. sud amont 01 2021-07-28           0.021908471              0.08
## 103         Morrison 06 2021-07-28           0.040544387              0.05
## 104             Malt 11 2021-07-28           0.012500000              0.06
## 105 McConnell Six Rd 05 2021-07-28           0.062383032              0.21
## 106          Pollard 10 2021-07-28           0.019811321              0.40
## 107        Pok amont 04 2021-07-28           0.064847943              0.12
## 108 Trout Val-Doucet 09 2021-07-28           0.009544787              0.18
## 109             Malt 11 2021-08-31           0.019811321              0.06
## 110          Suggary 02 2021-08-31           0.009544787              0.12
## 111     Waugh sanct. 07 2021-08-31           0.024986986              0.05
## 112          Dempsey 12 2021-08-31           0.009973753              0.08
## 113 Branche sud aval 03 2021-08-31           0.019323671              0.06
## 114           Sewell 08 2021-08-31           0.006198347              0.12
## 115          Pollard 10 2021-08-31           0.101930502              0.32
## 116    br. sud amont 01 2021-08-31           0.021908471              0.05
## 117         Morrison 06 2021-08-31           0.040544387              0.05
## 118 Trout Val-Doucet 09 2021-08-31           0.012500000              0.14
## 119 McConnell Six Rd 05 2021-08-31           0.062383032              0.21
## 120        Pok amont 04 2021-08-31           0.064847943              0.10
## 121          Suggary 02 2021-10-05           0.062383032              0.17
## 122         Morrison 06 2021-10-05           0.019811321              0.06
## 123             Malt 11 2021-10-05           0.064847943              0.12
## 124           Sewell 08 2021-10-05           0.009544787              0.13
## 125     Waugh sanct. 07 2021-10-05           0.024986986              0.05
## 126          Dempsey 12 2021-10-05           0.009973753              0.09
## 127 Branche sud aval 03 2021-10-05           0.019323671              0.05
## 128 McConnell Six Rd 05 2021-10-05           0.006198347              0.33
## 129          Pollard 10 2021-10-05           0.101930502              0.38
## 130    br. sud amont 01 2021-10-05           0.021908471              0.05
## 131        Pok amont 04 2021-10-05           0.040544387              0.11
## 132 Trout Val-Doucet 09 2021-10-05           0.012500000              0.22
## 133             Malt 11 2021-10-28           0.012500000              0.07
## 134          Suggary 02 2021-10-28           0.062383032              0.15
## 135    br. sud amont 01 2021-10-28           0.019811321              0.05
## 136         Morrison 06 2021-10-28           0.009973753              0.08
## 137 Branche sud aval 03 2021-10-28           0.064847943              0.07
## 138           Sewell 08 2021-10-28           0.009544787              0.14
## 139     Waugh sanct. 07 2021-10-28           0.024986986              0.05
## 140          Dempsey 12 2021-10-28           0.021908471              0.10
## 141 Trout Val-Doucet 09 2021-10-28           0.019323671              0.27
## 142 McConnell Six Rd 05 2021-10-28           0.006198347              0.36
## 143          Pollard 10 2021-10-28           0.101930502              0.38
## 144        Pok amont 04 2021-10-28           0.040544387              0.13
## 145          Pollard 10 2022-07-28           0.019811321              0.40
## 146         Morrison 06 2022-07-28           0.040544387              0.08
## 147             Malt 11 2022-07-28           0.012500000              0.06
## 148          Suggary 02 2022-07-28           0.062383032              0.11
## 149    br. sud amont 01 2022-07-28           0.024986986              0.05
## 150          Dempsey 12 2022-07-28           0.009973753              0.11
## 151 Branche sud aval 03 2022-07-28           0.064847943              0.07
## 152           Sewell 08 2022-07-28           0.009544787              0.17
## 153     Waugh sanct. 07 2022-07-28           0.101930502              0.05
## 154        Pok amont 04 2022-07-28           0.021908471              0.07
## 155 Trout Val-Doucet 09 2022-07-28           0.019323671              0.15
## 156 McConnell Six Rd 05 2022-07-28           0.006198347              0.36
## 157 McConnell Six Rd 05 2022-09-01           0.062383032              0.26
## 158          Pollard 10 2022-09-01           0.019811321              0.53
## 159    br. sud amont 01 2022-09-01           0.021908471              0.05
## 160         Morrison 06 2022-09-01           0.040544387              0.06
## 161             Malt 11 2022-09-01           0.012500000              0.10
## 162          Suggary 02 2022-09-01           0.009544787              0.13
## 163     Waugh sanct. 07 2022-09-01           0.024986986              0.10
## 164          Dempsey 12 2022-09-01           0.009973753              0.15
## 165 Branche sud aval 03 2022-09-01           0.064847943              0.06
## 166           Sewell 08 2022-09-01           0.006198347              0.17
## 167        Pok amont 04 2022-09-01           0.101930502              0.06
## 168 Trout Val-Doucet 09 2022-09-01           0.019323671              0.12
## 169           Sewell 08 2022-10-03           0.019811321              0.08
## 170 Trout Val-Doucet 09 2022-10-03           0.012500000              0.11
## 171 McConnell Six Rd 05 2022-10-03           0.062383032              0.27
## 172          Pollard 10 2022-10-03           0.101930502              0.50
## 173    br. sud amont 01 2022-10-03           0.021908471              0.06
## 174         Morrison 06 2022-10-03           0.040544387              0.05
## 175             Malt 11 2022-10-03           0.064847943              0.06
## 176          Suggary 02 2022-10-03           0.009544787              0.15
## 177     Waugh sanct. 07 2022-10-03           0.024986986              0.09
## 178          Dempsey 12 2022-10-03           0.009973753              0.09
## 179 Branche sud aval 03 2022-10-03           0.019323671              0.05
## 180        Pok amont 04 2022-10-03           0.006198347              0.05
## 181 Branche sud aval 03 2022-11-01           0.062383032              0.05
## 182           Sewell 08 2022-11-01           0.019811321              0.15
## 183        Pok amont 04 2022-11-01           0.040544387              0.07
## 184 Trout Val-Doucet 09 2022-11-01           0.012500000              0.14
## 185 McConnell Six Rd 05 2022-11-01           0.006198347              0.25
## 186          Pollard 10 2022-11-01           0.101930502              0.54
## 187    br. sud amont 01 2022-11-01           0.021908471              0.07
## 188         Morrison 06 2022-11-01           0.009973753              0.09
## 189             Malt 11 2022-11-01           0.064847943              0.07
## 190          Suggary 02 2022-11-01           0.009544787              0.16
## 191     Waugh sanct. 07 2022-11-01           0.024986986              0.06
## 192          Dempsey 12 2022-11-01           0.019323671              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctWL_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctWL_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctWL_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctWL_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les Terres humides",
x=" Les Terres humides (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Somme_ordre_1.5: Sommes des ordres

# Crée la variable pourcentage


Period1$pctSomme_ordre_1.5 = Period1$Somme_ordre_1.5 /
Period1$sup_drainee_km2_sbv

#Period2$pctWL_supdrainee_2020 = Period1$WL_km2_supdrainee_2020 /
#Period1$sup_drainee_km2_sbv

Somme_ordre_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Temp_eau_YSI_degC))
##               Station2       Date pctSomme_ordre_1.5 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01          1214.4196              11.5
## 2          Morrison 06 2001-08-01           726.6667              10.2
## 3              Malt 11 2001-08-01          1116.1031              25.2
## 4           Suggary 02 2001-08-01          1205.3719              14.4
## 5      Waugh sanct. 07 2001-08-01           864.2857              10.8
## 6           Dempsey 12 2001-08-01          1127.0691              20.4
## 7  Branche sud aval 03 2001-08-01          1138.6319              13.5
## 8            Sewell 08 2001-08-01          1170.8108              12.8
## 9         Pok amont 04 2001-08-01           653.2751              11.4
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472              14.5
## 11 McConnell Six Rd 05 2001-08-01           985.1521               9.0
## 12          Pollard 10 2001-08-01          1110.4258              15.1
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472               9.3
## 14          Pollard 10 2001-08-28          1110.4258              12.0
## 15    br. sud amont 01 2001-08-28          1214.4196              10.0
## 16         Morrison 06 2001-08-28           726.6667               NaN
## 17             Malt 11 2001-08-28          1116.1031               8.8
## 18          Suggary 02 2001-08-28          1205.3719              13.0
## 19     Waugh sanct. 07 2001-08-28           864.2857              10.6
## 20          Dempsey 12 2001-08-28          1127.0691              13.5
## 21 Branche sud aval 03 2001-08-28          1138.6319              11.5
## 22           Sewell 08 2001-08-28          1170.8108              13.5
## 23        Pok amont 04 2001-08-28           653.2751               8.4
## 24 McConnell Six Rd 05 2001-08-28           985.1521              10.9
## 25        Pok amont 04 2001-09-26           653.2751               9.8
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472              10.7
## 27 McConnell Six Rd 05 2001-09-26           985.1521              11.8
## 28          Pollard 10 2001-09-26          1110.4258              12.7
## 29    br. sud amont 01 2001-09-26          1214.4196              11.5
## 30         Morrison 06 2001-09-26           726.6667              11.2
## 31             Malt 11 2001-09-26          1116.1031               9.3
## 32          Suggary 02 2001-09-26          1205.3719              12.9
## 33     Waugh sanct. 07 2001-09-26           864.2857              10.4
## 34          Dempsey 12 2001-09-26          1127.0691              13.4
## 35 Branche sud aval 03 2001-09-26          1138.6319              12.0
## 36           Sewell 08 2001-09-26          1170.8108              12.9
## 37           Sewell 08 2001-10-31          1170.8108               1.4
## 38        Pok amont 04 2001-10-31           653.2751               4.8
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472               3.0
## 40         Morrison 06 2001-10-31           726.6667               1.8
## 41 McConnell Six Rd 05 2001-10-31           985.1521               2.1
## 42          Pollard 10 2001-10-31          1110.4258               3.3
## 43    br. sud amont 01 2001-10-31          1214.4196               2.7
## 44          Dempsey 12 2001-10-31          1127.0691               3.9
## 45             Malt 11 2001-10-31          1116.1031               4.8
## 46          Suggary 02 2001-10-31          1205.3719               2.1
## 47     Waugh sanct. 07 2001-10-31           864.2857               2.7
## 48 Branche sud aval 03 2001-10-31          1138.6319               2.3
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472              17.5
## 50 Branche sud aval 03 2002-07-29          1138.6319              15.7
## 51           Sewell 08 2002-07-29          1170.8108              16.8
## 52        Pok amont 04 2002-07-29           653.2751              13.3
## 53    br. sud amont 01 2002-07-29          1214.4196              14.7
## 54         Morrison 06 2002-07-29           726.6667              17.3
## 55 McConnell Six Rd 05 2002-07-29           985.1521              17.4
## 56          Pollard 10 2002-07-29          1110.4258              17.0
## 57     Waugh sanct. 07 2002-07-29           864.2857              16.4
## 58          Dempsey 12 2002-07-29          1127.0691              15.6
## 59             Malt 11 2002-07-29          1116.1031              14.9
## 60          Suggary 02 2002-07-29          1205.3719              17.9
## 61        Pok amont 04 2002-08-28           653.2751               8.0
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472              10.2
## 63          Dempsey 12 2002-08-28          1127.0691              13.2
## 64 Branche sud aval 03 2002-08-28          1138.6319              11.3
## 65           Sewell 08 2002-08-28          1170.8108              13.1
## 66          Pollard 10 2002-08-28          1110.4258              11.1
## 67    br. sud amont 01 2002-08-28          1214.4196              11.1
## 68         Morrison 06 2002-08-28           726.6667               9.9
## 69 McConnell Six Rd 05 2002-08-28           985.1521              12.9
## 70          Suggary 02 2002-08-28          1205.3719              10.6
## 71     Waugh sanct. 07 2002-08-28           864.2857              10.1
## 72             Malt 11 2002-08-28          1116.1031               7.9
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472              10.7
## 74           Sewell 08 2002-10-02          1170.8108              12.7
## 75        Pok amont 04 2002-10-02           653.2751               7.8
## 76     Waugh sanct. 07 2002-10-02           864.2857              10.7
## 77          Dempsey 12 2002-10-02          1127.0691              11.1
## 78 Branche sud aval 03 2002-10-02          1138.6319              10.9
## 79 McConnell Six Rd 05 2002-10-02           985.1521              12.9
## 80          Pollard 10 2002-10-02          1110.4258              10.8
## 81    br. sud amont 01 2002-10-02          1214.4196              11.0
## 82         Morrison 06 2002-10-02           726.6667              10.5
## 83             Malt 11 2002-10-02          1116.1031               7.8
## 84          Suggary 02 2002-10-02          1205.3719              10.3
## 85        Pok amont 04 2002-10-31           653.2751               4.6
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472               2.7
## 87 Branche sud aval 03 2002-10-31          1138.6319               NaN
## 88           Sewell 08 2002-10-31          1170.8108               1.6
## 89          Suggary 02 2002-10-31          1205.3719               2.7
## 90     Waugh sanct. 07 2002-10-31           864.2857               2.7
## 91          Dempsey 12 2002-10-31          1127.0691               3.3
## 92         Morrison 06 2002-10-31           726.6667               1.7
## 93 McConnell Six Rd 05 2002-10-31           985.1521               2.3
## 94          Pollard 10 2002-10-31          1110.4258               2.7
## 95    br. sud amont 01 2002-10-31          1214.4196               2.5
## 96             Malt 11 2002-10-31          1116.1031               4.4
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la température et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Somme_ordre_vs_Oxyg_dissous

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctSomme_ordre_1.5 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01          1214.4196                 11.30
## 2          Morrison 06 2001-08-01           726.6667                 10.60
## 3              Malt 11 2001-08-01          1116.1031                 11.80
## 4           Suggary 02 2001-08-01          1205.3719                 10.50
## 5      Waugh sanct. 07 2001-08-01           864.2857                 10.40
## 6           Dempsey 12 2001-08-01          1127.0691                  8.10
## 7  Branche sud aval 03 2001-08-01          1138.6319                 11.00
## 8            Sewell 08 2001-08-01          1170.8108                 11.10
## 9         Pok amont 04 2001-08-01           653.2751                  9.70
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                 10.50
## 11 McConnell Six Rd 05 2001-08-01           985.1521                 12.10
## 12          Pollard 10 2001-08-01          1110.4258                  9.50
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                 10.60
## 14          Pollard 10 2001-08-28          1110.4258                  9.60
## 15    br. sud amont 01 2001-08-28          1214.4196                 10.12
## 16         Morrison 06 2001-08-28           726.6667                   NaN
## 17             Malt 11 2001-08-28          1116.1031                 10.60
## 18          Suggary 02 2001-08-28          1205.3719                  9.45
## 19     Waugh sanct. 07 2001-08-28           864.2857                 10.00
## 20          Dempsey 12 2001-08-28          1127.0691                  8.80
## 21 Branche sud aval 03 2001-08-28          1138.6319                 10.00
## 22           Sewell 08 2001-08-28          1170.8108                  9.40
## 23        Pok amont 04 2001-08-28           653.2751                 10.50
## 24 McConnell Six Rd 05 2001-08-28           985.1521                 10.00
## 25        Pok amont 04 2001-09-26           653.2751                  8.00
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472                  9.00
## 27 McConnell Six Rd 05 2001-09-26           985.1521                  8.51
## 28          Pollard 10 2001-09-26          1110.4258                  8.40
## 29    br. sud amont 01 2001-09-26          1214.4196                  8.50
## 30         Morrison 06 2001-09-26           726.6667                  8.60
## 31             Malt 11 2001-09-26          1116.1031                  9.00
## 32          Suggary 02 2001-09-26          1205.3719                  8.44
## 33     Waugh sanct. 07 2001-09-26           864.2857                  8.62
## 34          Dempsey 12 2001-09-26          1127.0691                  8.30
## 35 Branche sud aval 03 2001-09-26          1138.6319                  9.20
## 36           Sewell 08 2001-09-26          1170.8108                  7.92
## 37           Sewell 08 2001-10-31          1170.8108                  7.70
## 38        Pok amont 04 2001-10-31           653.2751                  8.40
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                  9.46
## 40         Morrison 06 2001-10-31           726.6667                  9.84
## 41 McConnell Six Rd 05 2001-10-31           985.1521                  8.70
## 42          Pollard 10 2001-10-31          1110.4258                  8.85
## 43    br. sud amont 01 2001-10-31          1214.4196                  7.80
## 44          Dempsey 12 2001-10-31          1127.0691                  8.43
## 45             Malt 11 2001-10-31          1116.1031                  9.20
## 46          Suggary 02 2001-10-31          1205.3719                  7.30
## 47     Waugh sanct. 07 2001-10-31           864.2857                  8.00
## 48 Branche sud aval 03 2001-10-31          1138.6319                  9.57
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                  8.01
## 50 Branche sud aval 03 2002-07-29          1138.6319                  8.50
## 51           Sewell 08 2002-07-29          1170.8108                  7.60
## 52        Pok amont 04 2002-07-29           653.2751                  8.17
## 53    br. sud amont 01 2002-07-29          1214.4196                  8.65
## 54         Morrison 06 2002-07-29           726.6667                  9.76
## 55 McConnell Six Rd 05 2002-07-29           985.1521                  7.10
## 56          Pollard 10 2002-07-29          1110.4258                  7.45
## 57     Waugh sanct. 07 2002-07-29           864.2857                  7.90
## 58          Dempsey 12 2002-07-29          1127.0691                  8.30
## 59             Malt 11 2002-07-29          1116.1031                  8.90
## 60          Suggary 02 2002-07-29          1205.3719                  8.20
## 61        Pok amont 04 2002-08-28           653.2751                 10.65
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                  9.46
## 63          Dempsey 12 2002-08-28          1127.0691                  8.20
## 64 Branche sud aval 03 2002-08-28          1138.6319                 10.41
## 65           Sewell 08 2002-08-28          1170.8108                  9.80
## 66          Pollard 10 2002-08-28          1110.4258                  9.02
## 67    br. sud amont 01 2002-08-28          1214.4196                 10.20
## 68         Morrison 06 2002-08-28           726.6667                 11.17
## 69 McConnell Six Rd 05 2002-08-28           985.1521                 11.05
## 70          Suggary 02 2002-08-28          1205.3719                 11.24
## 71     Waugh sanct. 07 2002-08-28           864.2857                 10.00
## 72             Malt 11 2002-08-28          1116.1031                 10.00
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                  4.42
## 74           Sewell 08 2002-10-02          1170.8108                  6.84
## 75        Pok amont 04 2002-10-02           653.2751                  7.20
## 76     Waugh sanct. 07 2002-10-02           864.2857                  6.10
## 77          Dempsey 12 2002-10-02          1127.0691                  5.70
## 78 Branche sud aval 03 2002-10-02          1138.6319                  7.10
## 79 McConnell Six Rd 05 2002-10-02           985.1521                  7.49
## 80          Pollard 10 2002-10-02          1110.4258                  6.80
## 81    br. sud amont 01 2002-10-02          1214.4196                  7.16
## 82         Morrison 06 2002-10-02           726.6667                  7.60
## 83             Malt 11 2002-10-02          1116.1031                  6.40
## 84          Suggary 02 2002-10-02          1205.3719                  8.08
## 85        Pok amont 04 2002-10-31           653.2751                  7.50
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                  8.50
## 87 Branche sud aval 03 2002-10-31          1138.6319                   NaN
## 88           Sewell 08 2002-10-31          1170.8108                  8.30
## 89          Suggary 02 2002-10-31          1205.3719                  8.60
## 90     Waugh sanct. 07 2002-10-31           864.2857                  7.00
## 91          Dempsey 12 2002-10-31          1127.0691                  7.40
## 92         Morrison 06 2002-10-31           726.6667                  8.30
## 93 McConnell Six Rd 05 2002-10-31           985.1521                  7.60
## 94          Pollard 10 2002-10-31          1110.4258                  7.60
## 95    br. sud amont 01 2002-10-31          1214.4196                  8.20
## 96             Malt 11 2002-10-31          1116.1031                  8.00
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre l'Oxyg_dissous et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Somme_ordre_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Conductivity_microS_cm))
##               Station2       Date pctSomme_ordre_1.5 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01          1214.4196                  171.0
## 2          Morrison 06 2001-08-01           726.6667                  114.0
## 3              Malt 11 2001-08-01          1116.1031                  108.0
## 4           Suggary 02 2001-08-01          1205.3719                  118.0
## 5      Waugh sanct. 07 2001-08-01           864.2857                  133.0
## 6           Dempsey 12 2001-08-01          1127.0691                  128.0
## 7  Branche sud aval 03 2001-08-01          1138.6319                  115.0
## 8            Sewell 08 2001-08-01          1170.8108                  134.0
## 9         Pok amont 04 2001-08-01           653.2751                   56.6
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                  106.0
## 11 McConnell Six Rd 05 2001-08-01           985.1521                  100.0
## 12          Pollard 10 2001-08-01          1110.4258                  156.0
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                  105.0
## 14          Pollard 10 2001-08-28          1110.4258                  162.0
## 15    br. sud amont 01 2001-08-28          1214.4196                  177.0
## 16         Morrison 06 2001-08-28           726.6667                  115.0
## 17             Malt 11 2001-08-28          1116.1031                   90.3
## 18          Suggary 02 2001-08-28          1205.3719                  119.0
## 19     Waugh sanct. 07 2001-08-28           864.2857                  132.0
## 20          Dempsey 12 2001-08-28          1127.0691                  129.0
## 21 Branche sud aval 03 2001-08-28          1138.6319                  113.0
## 22           Sewell 08 2001-08-28          1170.8108                  150.0
## 23        Pok amont 04 2001-08-28           653.2751                   60.0
## 24 McConnell Six Rd 05 2001-08-28           985.1521                  112.0
## 25        Pok amont 04 2001-09-26           653.2751                   72.1
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472                  115.0
## 27 McConnell Six Rd 05 2001-09-26           985.1521                  111.0
## 28          Pollard 10 2001-09-26          1110.4258                  153.5
## 29    br. sud amont 01 2001-09-26          1214.4196                  158.0
## 30         Morrison 06 2001-09-26           726.6667                  117.0
## 31             Malt 11 2001-09-26          1116.1031                   97.7
## 32          Suggary 02 2001-09-26          1205.3719                  139.0
## 33     Waugh sanct. 07 2001-09-26           864.2857                  136.0
## 34          Dempsey 12 2001-09-26          1127.0691                  137.0
## 35 Branche sud aval 03 2001-09-26          1138.6319                  123.0
## 36           Sewell 08 2001-09-26          1170.8108                  173.0
## 37           Sewell 08 2001-10-31          1170.8108                  111.0
## 38        Pok amont 04 2001-10-31           653.2751                   68.3
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                  112.0
## 40         Morrison 06 2001-10-31           726.6667                  123.0
## 41 McConnell Six Rd 05 2001-10-31           985.1521                   87.2
## 42          Pollard 10 2001-10-31          1110.4258                  164.0
## 43    br. sud amont 01 2001-10-31          1214.4196                  162.0
## 44          Dempsey 12 2001-10-31          1127.0691                  128.0
## 45             Malt 11 2001-10-31          1116.1031                   98.8
## 46          Suggary 02 2001-10-31          1205.3719                  120.0
## 47     Waugh sanct. 07 2001-10-31           864.2857                  102.0
## 48 Branche sud aval 03 2001-10-31          1138.6319                  115.0
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                  112.0
## 50 Branche sud aval 03 2002-07-29          1138.6319                  116.0
## 51           Sewell 08 2002-07-29          1170.8108                  139.0
## 52        Pok amont 04 2002-07-29           653.2751                   57.1
## 53    br. sud amont 01 2002-07-29          1214.4196                  148.0
## 54         Morrison 06 2002-07-29           726.6667                  123.0
## 55 McConnell Six Rd 05 2002-07-29           985.1521                  105.0
## 56          Pollard 10 2002-07-29          1110.4258                  162.0
## 57     Waugh sanct. 07 2002-07-29           864.2857                  133.0
## 58          Dempsey 12 2002-07-29          1127.0691                  143.0
## 59             Malt 11 2002-07-29          1116.1031                   96.6
## 60          Suggary 02 2002-07-29          1205.3719                  110.0
## 61        Pok amont 04 2002-08-28           653.2751                   60.3
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                  115.0
## 63          Dempsey 12 2002-08-28          1127.0691                  144.0
## 64 Branche sud aval 03 2002-08-28          1138.6319                  121.0
## 65           Sewell 08 2002-08-28          1170.8108                  168.0
## 66          Pollard 10 2002-08-28          1110.4258                  164.0
## 67    br. sud amont 01 2002-08-28          1214.4196                  185.0
## 68         Morrison 06 2002-08-28           726.6667                  125.0
## 69 McConnell Six Rd 05 2002-08-28           985.1521                  111.0
## 70          Suggary 02 2002-08-28          1205.3719                  110.5
## 71     Waugh sanct. 07 2002-08-28           864.2857                  135.0
## 72             Malt 11 2002-08-28          1116.1031                  101.0
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                  120.0
## 74           Sewell 08 2002-10-02          1170.8108                  158.0
## 75        Pok amont 04 2002-10-02           653.2751                   69.4
## 76     Waugh sanct. 07 2002-10-02           864.2857                  148.0
## 77          Dempsey 12 2002-10-02          1127.0691                  145.0
## 78 Branche sud aval 03 2002-10-02          1138.6319                  126.0
## 79 McConnell Six Rd 05 2002-10-02           985.1521                  108.0
## 80          Pollard 10 2002-10-02          1110.4258                  176.0
## 81    br. sud amont 01 2002-10-02          1214.4196                  194.0
## 82         Morrison 06 2002-10-02           726.6667                  128.0
## 83             Malt 11 2002-10-02          1116.1031                  106.0
## 84          Suggary 02 2002-10-02          1205.3719                  114.0
## 85        Pok amont 04 2002-10-31           653.2751                   70.9
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                  122.0
## 87 Branche sud aval 03 2002-10-31          1138.6319                  126.0
## 88           Sewell 08 2002-10-31          1170.8108                  120.0
## 89          Suggary 02 2002-10-31          1205.3719                  118.0
## 90     Waugh sanct. 07 2002-10-31           864.2857                  129.0
## 91          Dempsey 12 2002-10-31          1127.0691                  141.0
## 92         Morrison 06 2002-10-31           726.6667                  130.0
## 93 McConnell Six Rd 05 2002-10-31           985.1521                  103.0
## 94          Pollard 10 2002-10-31          1110.4258                  176.0
## 95    br. sud amont 01 2002-10-31          1214.4196                  175.5
## 96             Malt 11 2002-10-31          1116.1031                  107.0
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la Conductivité et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Somme_ordre_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,pH_units))
##               Station2       Date pctSomme_ordre_1.5 pH_units
## 1     br. sud amont 01 2001-08-01          1214.4196    8.200
## 2          Morrison 06 2001-08-01           726.6667    7.950
## 3              Malt 11 2001-08-01          1116.1031    7.860
## 4           Suggary 02 2001-08-01          1205.3719    8.020
## 5      Waugh sanct. 07 2001-08-01           864.2857    7.970
## 6           Dempsey 12 2001-08-01          1127.0691    7.960
## 7  Branche sud aval 03 2001-08-01          1138.6319    8.030
## 8            Sewell 08 2001-08-01          1170.8108    8.020
## 9         Pok amont 04 2001-08-01           653.2751    7.590
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472    8.010
## 11 McConnell Six Rd 05 2001-08-01           985.1521    7.860
## 12          Pollard 10 2001-08-01          1110.4258    7.890
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472    7.910
## 14          Pollard 10 2001-08-28          1110.4258    7.860
## 15    br. sud amont 01 2001-08-28          1214.4196    7.980
## 16         Morrison 06 2001-08-28           726.6667    7.940
## 17             Malt 11 2001-08-28          1116.1031    7.460
## 18          Suggary 02 2001-08-28          1205.3719    7.880
## 19     Waugh sanct. 07 2001-08-28           864.2857    7.890
## 20          Dempsey 12 2001-08-28          1127.0691    7.760
## 21 Branche sud aval 03 2001-08-28          1138.6319    7.890
## 22           Sewell 08 2001-08-28          1170.8108    7.900
## 23        Pok amont 04 2001-08-28           653.2751    7.490
## 24 McConnell Six Rd 05 2001-08-28           985.1521    7.770
## 25        Pok amont 04 2001-09-26           653.2751    7.640
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472    7.960
## 27 McConnell Six Rd 05 2001-09-26           985.1521    7.870
## 28          Pollard 10 2001-09-26          1110.4258    7.850
## 29    br. sud amont 01 2001-09-26          1214.4196    8.050
## 30         Morrison 06 2001-09-26           726.6667    8.020
## 31             Malt 11 2001-09-26          1116.1031    7.710
## 32          Suggary 02 2001-09-26          1205.3719    8.080
## 33     Waugh sanct. 07 2001-09-26           864.2857    8.020
## 34          Dempsey 12 2001-09-26          1127.0691    7.950
## 35 Branche sud aval 03 2001-09-26          1138.6319    8.040
## 36           Sewell 08 2001-09-26          1170.8108    8.060
## 37           Sewell 08 2001-10-31          1170.8108    7.740
## 38        Pok amont 04 2001-10-31           653.2751    7.420
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472    7.950
## 40         Morrison 06 2001-10-31           726.6667    8.010
## 41 McConnell Six Rd 05 2001-10-31           985.1521    7.500
## 42          Pollard 10 2001-10-31          1110.4258    7.870
## 43    br. sud amont 01 2001-10-31          1214.4196    7.960
## 44          Dempsey 12 2001-10-31          1127.0691    7.820
## 45             Malt 11 2001-10-31          1116.1031    7.530
## 46          Suggary 02 2001-10-31          1205.3719    7.650
## 47     Waugh sanct. 07 2001-10-31           864.2857    7.410
## 48 Branche sud aval 03 2001-10-31          1138.6319    7.890
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472    7.840
## 50 Branche sud aval 03 2002-07-29          1138.6319    7.870
## 51           Sewell 08 2002-07-29          1170.8108    7.840
## 52        Pok amont 04 2002-07-29           653.2751    7.180
## 53    br. sud amont 01 2002-07-29          1214.4196    7.840
## 54         Morrison 06 2002-07-29           726.6667    7.920
## 55 McConnell Six Rd 05 2002-07-29           985.1521    7.580
## 56          Pollard 10 2002-07-29          1110.4258    7.730
## 57     Waugh sanct. 07 2002-07-29           864.2857    7.700
## 58          Dempsey 12 2002-07-29          1127.0691    7.755
## 59             Malt 11 2002-07-29          1116.1031    7.420
## 60          Suggary 02 2002-07-29          1205.3719    7.740
## 61        Pok amont 04 2002-08-28           653.2751    7.250
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472    7.800
## 63          Dempsey 12 2002-08-28          1127.0691    7.690
## 64 Branche sud aval 03 2002-08-28          1138.6319    7.850
## 65           Sewell 08 2002-08-28          1170.8108    7.920
## 66          Pollard 10 2002-08-28          1110.4258    7.730
## 67    br. sud amont 01 2002-08-28          1214.4196    8.070
## 68         Morrison 06 2002-08-28           726.6667    7.900
## 69 McConnell Six Rd 05 2002-08-28           985.1521    7.790
## 70          Suggary 02 2002-08-28          1205.3719    7.815
## 71     Waugh sanct. 07 2002-08-28           864.2857    7.750
## 72             Malt 11 2002-08-28          1116.1031    7.380
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472    7.830
## 74           Sewell 08 2002-10-02          1170.8108    7.820
## 75        Pok amont 04 2002-10-02           653.2751    7.270
## 76     Waugh sanct. 07 2002-10-02           864.2857    7.760
## 77          Dempsey 12 2002-10-02          1127.0691    7.640
## 78 Branche sud aval 03 2002-10-02          1138.6319    7.820
## 79 McConnell Six Rd 05 2002-10-02           985.1521    7.650
## 80          Pollard 10 2002-10-02          1110.4258    7.720
## 81    br. sud amont 01 2002-10-02          1214.4196    7.970
## 82         Morrison 06 2002-10-02           726.6667    7.890
## 83             Malt 11 2002-10-02          1116.1031    7.380
## 84          Suggary 02 2002-10-02          1205.3719    7.830
## 85        Pok amont 04 2002-10-31           653.2751    7.360
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472    7.820
## 87 Branche sud aval 03 2002-10-31          1138.6319      NaN
## 88           Sewell 08 2002-10-31          1170.8108    7.550
## 89          Suggary 02 2002-10-31          1205.3719    7.770
## 90     Waugh sanct. 07 2002-10-31           864.2857    7.580
## 91          Dempsey 12 2002-10-31          1127.0691    7.690
## 92         Morrison 06 2002-10-31           726.6667    7.870
## 93 McConnell Six Rd 05 2002-10-31           985.1521    7.440
## 94          Pollard 10 2002-10-31          1110.4258    7.780
## 95    br. sud amont 01 2002-10-31          1214.4196    7.865
## 96             Malt 11 2002-10-31          1116.1031    7.560
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=pH_units),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre le pH et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Somme_ordre_vs_Turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Turbidity_NTU))
##               Station2       Date pctSomme_ordre_1.5 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01          1214.4196         6.400
## 2          Morrison 06 2001-08-01           726.6667         0.600
## 3              Malt 11 2001-08-01          1116.1031         1.600
## 4           Suggary 02 2001-08-01          1205.3719         0.700
## 5      Waugh sanct. 07 2001-08-01           864.2857         1.200
## 6           Dempsey 12 2001-08-01          1127.0691         1.300
## 7  Branche sud aval 03 2001-08-01          1138.6319         0.500
## 8            Sewell 08 2001-08-01          1170.8108         1.500
## 9         Pok amont 04 2001-08-01           653.2751         0.000
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472         0.700
## 11 McConnell Six Rd 05 2001-08-01           985.1521         0.100
## 12          Pollard 10 2001-08-01          1110.4258         0.500
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472         1.200
## 14          Pollard 10 2001-08-28          1110.4258         0.800
## 15    br. sud amont 01 2001-08-28          1214.4196         6.100
## 16         Morrison 06 2001-08-28           726.6667         0.700
## 17             Malt 11 2001-08-28          1116.1031         0.500
## 18          Suggary 02 2001-08-28          1205.3719         3.500
## 19     Waugh sanct. 07 2001-08-28           864.2857         1.000
## 20          Dempsey 12 2001-08-28          1127.0691         1.700
## 21 Branche sud aval 03 2001-08-28          1138.6319         0.900
## 22           Sewell 08 2001-08-28          1170.8108         6.500
## 23        Pok amont 04 2001-08-28           653.2751         0.000
## 24 McConnell Six Rd 05 2001-08-28           985.1521         1.000
## 25        Pok amont 04 2001-09-26           653.2751         0.800
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472         9.500
## 27 McConnell Six Rd 05 2001-09-26           985.1521         1.200
## 28          Pollard 10 2001-09-26          1110.4258         1.150
## 29    br. sud amont 01 2001-09-26          1214.4196        44.800
## 30         Morrison 06 2001-09-26           726.6667         0.900
## 31             Malt 11 2001-09-26          1116.1031         7.800
## 32          Suggary 02 2001-09-26          1205.3719         1.700
## 33     Waugh sanct. 07 2001-09-26           864.2857         1.200
## 34          Dempsey 12 2001-09-26          1127.0691         1.500
## 35 Branche sud aval 03 2001-09-26          1138.6319         2.400
## 36           Sewell 08 2001-09-26          1170.8108         3.000
## 37           Sewell 08 2001-10-31          1170.8108         5.500
## 38        Pok amont 04 2001-10-31           653.2751         0.200
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472         1.000
## 40         Morrison 06 2001-10-31           726.6667         0.500
## 41 McConnell Six Rd 05 2001-10-31           985.1521         1.400
## 42          Pollard 10 2001-10-31          1110.4258         0.600
## 43    br. sud amont 01 2001-10-31          1214.4196         1.100
## 44          Dempsey 12 2001-10-31          1127.0691         1.700
## 45             Malt 11 2001-10-31          1116.1031         0.800
## 46          Suggary 02 2001-10-31          1205.3719         2.050
## 47     Waugh sanct. 07 2001-10-31           864.2857         1.200
## 48 Branche sud aval 03 2001-10-31          1138.6319         0.800
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472         0.780
## 50 Branche sud aval 03 2002-07-29          1138.6319         1.170
## 51           Sewell 08 2002-07-29          1170.8108         4.960
## 52        Pok amont 04 2002-07-29           653.2751         0.190
## 53    br. sud amont 01 2002-07-29          1214.4196         0.900
## 54         Morrison 06 2002-07-29           726.6667         0.690
## 55 McConnell Six Rd 05 2002-07-29           985.1521         1.520
## 56          Pollard 10 2002-07-29          1110.4258         1.630
## 57     Waugh sanct. 07 2002-07-29           864.2857         1.110
## 58          Dempsey 12 2002-07-29          1127.0691         1.970
## 59             Malt 11 2002-07-29          1116.1031         0.400
## 60          Suggary 02 2002-07-29          1205.3719         0.430
## 61        Pok amont 04 2002-08-28           653.2751         0.390
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472         1.320
## 63          Dempsey 12 2002-08-28          1127.0691         4.440
## 64 Branche sud aval 03 2002-08-28          1138.6319         1.150
## 65           Sewell 08 2002-08-28          1170.8108         2.960
## 66          Pollard 10 2002-08-28          1110.4258         0.950
## 67    br. sud amont 01 2002-08-28          1214.4196         0.570
## 68         Morrison 06 2002-08-28           726.6667         0.940
## 69 McConnell Six Rd 05 2002-08-28           985.1521         1.340
## 70          Suggary 02 2002-08-28          1205.3719         0.820
## 71     Waugh sanct. 07 2002-08-28           864.2857         1.510
## 72             Malt 11 2002-08-28          1116.1031         0.480
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472         0.940
## 74           Sewell 08 2002-10-02          1170.8108         5.255
## 75        Pok amont 04 2002-10-02           653.2751         0.280
## 76     Waugh sanct. 07 2002-10-02           864.2857         1.280
## 77          Dempsey 12 2002-10-02          1127.0691         3.770
## 78 Branche sud aval 03 2002-10-02          1138.6319         1.070
## 79 McConnell Six Rd 05 2002-10-02           985.1521         2.110
## 80          Pollard 10 2002-10-02          1110.4258         0.690
## 81    br. sud amont 01 2002-10-02          1214.4196         0.740
## 82         Morrison 06 2002-10-02           726.6667         0.770
## 83             Malt 11 2002-10-02          1116.1031         0.600
## 84          Suggary 02 2002-10-02          1205.3719         0.480
## 85        Pok amont 04 2002-10-31           653.2751         0.580
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472         0.870
## 87 Branche sud aval 03 2002-10-31          1138.6319           NaN
## 88           Sewell 08 2002-10-31          1170.8108         8.740
## 89          Suggary 02 2002-10-31          1205.3719         0.410
## 90     Waugh sanct. 07 2002-10-31           864.2857         1.440
## 91          Dempsey 12 2002-10-31          1127.0691         2.880
## 92         Morrison 06 2002-10-31           726.6667         0.620
## 93 McConnell Six Rd 05 2002-10-31           985.1521         1.500
## 94          Pollard 10 2002-10-31          1110.4258         1.060
## 95    br. sud amont 01 2002-10-31          1214.4196         1.220
## 96             Malt 11 2002-10-31          1116.1031         0.900
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la Turbidité et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Somme_ordre_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Colour_TCU))
##               Station2       Date pctSomme_ordre_1.5 Colour_TCU
## 1     br. sud amont 01 2001-08-01          1214.4196        5.0
## 2          Morrison 06 2001-08-01           726.6667       10.0
## 3              Malt 11 2001-08-01          1116.1031       10.0
## 4           Suggary 02 2001-08-01          1205.3719        5.0
## 5      Waugh sanct. 07 2001-08-01           864.2857       20.0
## 6           Dempsey 12 2001-08-01          1127.0691       15.0
## 7  Branche sud aval 03 2001-08-01          1138.6319        5.0
## 8            Sewell 08 2001-08-01          1170.8108        5.0
## 9         Pok amont 04 2001-08-01           653.2751        0.0
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472        0.0
## 11 McConnell Six Rd 05 2001-08-01           985.1521        5.0
## 12          Pollard 10 2001-08-01          1110.4258        5.0
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472        5.0
## 14          Pollard 10 2001-08-28          1110.4258        5.0
## 15    br. sud amont 01 2001-08-28          1214.4196        5.0
## 16         Morrison 06 2001-08-28           726.6667        5.0
## 17             Malt 11 2001-08-28          1116.1031        5.0
## 18          Suggary 02 2001-08-28          1205.3719       10.0
## 19     Waugh sanct. 07 2001-08-28           864.2857       10.0
## 20          Dempsey 12 2001-08-28          1127.0691       15.0
## 21 Branche sud aval 03 2001-08-28          1138.6319        5.0
## 22           Sewell 08 2001-08-28          1170.8108       30.0
## 23        Pok amont 04 2001-08-28           653.2751        5.0
## 24 McConnell Six Rd 05 2001-08-28           985.1521        5.0
## 25        Pok amont 04 2001-09-26           653.2751       10.0
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472       30.0
## 27 McConnell Six Rd 05 2001-09-26           985.1521       15.0
## 28          Pollard 10 2001-09-26          1110.4258       20.0
## 29    br. sud amont 01 2001-09-26          1214.4196      200.0
## 30         Morrison 06 2001-09-26           726.6667        5.0
## 31             Malt 11 2001-09-26          1116.1031       20.0
## 32          Suggary 02 2001-09-26          1205.3719        5.0
## 33     Waugh sanct. 07 2001-09-26           864.2857       10.0
## 34          Dempsey 12 2001-09-26          1127.0691       20.0
## 35 Branche sud aval 03 2001-09-26          1138.6319       10.0
## 36           Sewell 08 2001-09-26          1170.8108       30.0
## 37           Sewell 08 2001-10-31          1170.8108       80.0
## 38        Pok amont 04 2001-10-31           653.2751        5.0
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472       20.0
## 40         Morrison 06 2001-10-31           726.6667       15.0
## 41 McConnell Six Rd 05 2001-10-31           985.1521      120.0
## 42          Pollard 10 2001-10-31          1110.4258       10.0
## 43    br. sud amont 01 2001-10-31          1214.4196       30.0
## 44          Dempsey 12 2001-10-31          1127.0691       30.0
## 45             Malt 11 2001-10-31          1116.1031       10.0
## 46          Suggary 02 2001-10-31          1205.3719       30.0
## 47     Waugh sanct. 07 2001-10-31           864.2857      100.0
## 48 Branche sud aval 03 2001-10-31          1138.6319       20.0
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472       10.0
## 50 Branche sud aval 03 2002-07-29          1138.6319       15.0
## 51           Sewell 08 2002-07-29          1170.8108       40.0
## 52        Pok amont 04 2002-07-29           653.2751        5.0
## 53    br. sud amont 01 2002-07-29          1214.4196       15.0
## 54         Morrison 06 2002-07-29           726.6667       10.0
## 55 McConnell Six Rd 05 2002-07-29           985.1521       80.0
## 56          Pollard 10 2002-07-29          1110.4258       10.0
## 57     Waugh sanct. 07 2002-07-29           864.2857       40.0
## 58          Dempsey 12 2002-07-29          1127.0691       20.0
## 59             Malt 11 2002-07-29          1116.1031        5.0
## 60          Suggary 02 2002-07-29          1205.3719        5.0
## 61        Pok amont 04 2002-08-28           653.2751        5.0
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472       20.0
## 63          Dempsey 12 2002-08-28          1127.0691       40.0
## 64 Branche sud aval 03 2002-08-28          1138.6319       15.0
## 65           Sewell 08 2002-08-28          1170.8108       40.0
## 66          Pollard 10 2002-08-28          1110.4258       10.0
## 67    br. sud amont 01 2002-08-28          1214.4196       10.0
## 68         Morrison 06 2002-08-28           726.6667       10.0
## 69 McConnell Six Rd 05 2002-08-28           985.1521       20.0
## 70          Suggary 02 2002-08-28          1205.3719        7.5
## 71     Waugh sanct. 07 2002-08-28           864.2857       30.0
## 72             Malt 11 2002-08-28          1116.1031       10.0
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472        5.0
## 74           Sewell 08 2002-10-02          1170.8108       60.0
## 75        Pok amont 04 2002-10-02           653.2751        5.0
## 76     Waugh sanct. 07 2002-10-02           864.2857       20.0
## 77          Dempsey 12 2002-10-02          1127.0691       20.0
## 78 Branche sud aval 03 2002-10-02          1138.6319       15.0
## 79 McConnell Six Rd 05 2002-10-02           985.1521       60.0
## 80          Pollard 10 2002-10-02          1110.4258       10.0
## 81    br. sud amont 01 2002-10-02          1214.4196       10.0
## 82         Morrison 06 2002-10-02           726.6667       10.0
## 83             Malt 11 2002-10-02          1116.1031        5.0
## 84          Suggary 02 2002-10-02          1205.3719        5.0
## 85        Pok amont 04 2002-10-31           653.2751        5.0
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472       20.0
## 87 Branche sud aval 03 2002-10-31          1138.6319        NaN
## 88           Sewell 08 2002-10-31          1170.8108       60.0
## 89          Suggary 02 2002-10-31          1205.3719        5.0
## 90     Waugh sanct. 07 2002-10-31           864.2857       60.0
## 91          Dempsey 12 2002-10-31          1127.0691       30.0
## 92         Morrison 06 2002-10-31           726.6667        5.0
## 93 McConnell Six Rd 05 2002-10-31           985.1521       75.0
## 94          Pollard 10 2002-10-31          1110.4258        5.0
## 95    br. sud amont 01 2002-10-31          1214.4196       30.0
## 96             Malt 11 2002-10-31          1116.1031       15.0
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la couleur et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Somme_ordre_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Carbon_Total_Organic_mg_L))
##               Station2       Date pctSomme_ordre_1.5 Carbon_Total_Organic_mg_L
## 1     br. sud amont 01 2001-08-01          1214.4196                     1.600
## 2          Morrison 06 2001-08-01           726.6667                     2.140
## 3              Malt 11 2001-08-01          1116.1031                     2.440
## 4           Suggary 02 2001-08-01          1205.3719                     1.400
## 5      Waugh sanct. 07 2001-08-01           864.2857                     3.000
## 6           Dempsey 12 2001-08-01          1127.0691                     2.510
## 7  Branche sud aval 03 2001-08-01          1138.6319                     1.340
## 8            Sewell 08 2001-08-01          1170.8108                     1.980
## 9         Pok amont 04 2001-08-01           653.2751                     1.020
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                     1.090
## 11 McConnell Six Rd 05 2001-08-01           985.1521                     1.210
## 12          Pollard 10 2001-08-01          1110.4258                     1.370
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                     1.440
## 14          Pollard 10 2001-08-28          1110.4258                     1.850
## 15    br. sud amont 01 2001-08-28          1214.4196                     1.910
## 16         Morrison 06 2001-08-28           726.6667                     2.260
## 17             Malt 11 2001-08-28          1116.1031                     1.200
## 18          Suggary 02 2001-08-28          1205.3719                     1.880
## 19     Waugh sanct. 07 2001-08-28           864.2857                     2.200
## 20          Dempsey 12 2001-08-28          1127.0691                     2.660
## 21 Branche sud aval 03 2001-08-28          1138.6319                     2.210
## 22           Sewell 08 2001-08-28          1170.8108                     3.810
## 23        Pok amont 04 2001-08-28           653.2751                     1.290
## 24 McConnell Six Rd 05 2001-08-28           985.1521                     2.010
## 25        Pok amont 04 2001-09-26           653.2751                     3.950
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472                     3.220
## 27 McConnell Six Rd 05 2001-09-26           985.1521                     2.120
## 28          Pollard 10 2001-09-26          1110.4258                     3.345
## 29    br. sud amont 01 2001-09-26          1214.4196                     5.250
## 30         Morrison 06 2001-09-26           726.6667                     1.930
## 31             Malt 11 2001-09-26          1116.1031                     2.220
## 32          Suggary 02 2001-09-26          1205.3719                     1.970
## 33     Waugh sanct. 07 2001-09-26           864.2857                     2.170
## 34          Dempsey 12 2001-09-26          1127.0691                     3.280
## 35 Branche sud aval 03 2001-09-26          1138.6319                     2.130
## 36           Sewell 08 2001-09-26          1170.8108                     4.450
## 37           Sewell 08 2001-10-31          1170.8108                     9.230
## 38        Pok amont 04 2001-10-31           653.2751                     1.230
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                     2.390
## 40         Morrison 06 2001-10-31           726.6667                     2.340
## 41 McConnell Six Rd 05 2001-10-31           985.1521                    13.500
## 42          Pollard 10 2001-10-31          1110.4258                     2.140
## 43    br. sud amont 01 2001-10-31          1214.4196                     4.560
## 44          Dempsey 12 2001-10-31          1127.0691                     4.570
## 45             Malt 11 2001-10-31          1116.1031                     2.690
## 46          Suggary 02 2001-10-31          1205.3719                     4.435
## 47     Waugh sanct. 07 2001-10-31           864.2857                    18.500
## 48 Branche sud aval 03 2001-10-31          1138.6319                     3.370
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                     1.400
## 50 Branche sud aval 03 2002-07-29          1138.6319                     1.700
## 51           Sewell 08 2002-07-29          1170.8108                     4.200
## 52        Pok amont 04 2002-07-29           653.2751                     1.000
## 53    br. sud amont 01 2002-07-29          1214.4196                     2.700
## 54         Morrison 06 2002-07-29           726.6667                     1.200
## 55 McConnell Six Rd 05 2002-07-29           985.1521                     4.900
## 56          Pollard 10 2002-07-29          1110.4258                     1.800
## 57     Waugh sanct. 07 2002-07-29           864.2857                     4.800
## 58          Dempsey 12 2002-07-29          1127.0691                     2.250
## 59             Malt 11 2002-07-29          1116.1031                     1.300
## 60          Suggary 02 2002-07-29          1205.3719                     1.000
## 61        Pok amont 04 2002-08-28           653.2751                     1.000
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                     1.200
## 63          Dempsey 12 2002-08-28          1127.0691                     2.000
## 64 Branche sud aval 03 2002-08-28          1138.6319                     1.200
## 65           Sewell 08 2002-08-28          1170.8108                     2.600
## 66          Pollard 10 2002-08-28          1110.4258                     1.400
## 67    br. sud amont 01 2002-08-28          1214.4196                     1.400
## 68         Morrison 06 2002-08-28           726.6667                     1.000
## 69 McConnell Six Rd 05 2002-08-28           985.1521                     1.600
## 70          Suggary 02 2002-08-28          1205.3719                     1.000
## 71     Waugh sanct. 07 2002-08-28           864.2857                     2.900
## 72             Malt 11 2002-08-28          1116.1031                     1.000
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                     1.600
## 74           Sewell 08 2002-10-02          1170.8108                     8.200
## 75        Pok amont 04 2002-10-02           653.2751                     1.000
## 76     Waugh sanct. 07 2002-10-02           864.2857                     2.900
## 77          Dempsey 12 2002-10-02          1127.0691                     2.600
## 78 Branche sud aval 03 2002-10-02          1138.6319                     2.300
## 79 McConnell Six Rd 05 2002-10-02           985.1521                     7.000
## 80          Pollard 10 2002-10-02          1110.4258                     1.700
## 81    br. sud amont 01 2002-10-02          1214.4196                     2.400
## 82         Morrison 06 2002-10-02           726.6667                     1.500
## 83             Malt 11 2002-10-02          1116.1031                     1.300
## 84          Suggary 02 2002-10-02          1205.3719                     1.000
## 85        Pok amont 04 2002-10-31           653.2751                     1.500
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                     2.700
## 87 Branche sud aval 03 2002-10-31          1138.6319                     3.200
## 88           Sewell 08 2002-10-31          1170.8108                    10.000
## 89          Suggary 02 2002-10-31          1205.3719                     1.100
## 90     Waugh sanct. 07 2002-10-31           864.2857                    11.300
## 91          Dempsey 12 2002-10-31          1127.0691                     4.200
## 92         Morrison 06 2002-10-31           726.6667                     2.500
## 93 McConnell Six Rd 05 2002-10-31           985.1521                    10.800
## 94          Pollard 10 2002-10-31          1110.4258                     2.200
## 95    br. sud amont 01 2002-10-31          1214.4196                     4.800
## 96             Malt 11 2002-10-31          1116.1031                     2.500
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la COT et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Somme_ordre_vs_Coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,E.coli_MPN_100.mL))
##               Station2       Date pctSomme_ordre_1.5 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01          1214.4196                10
## 2          Morrison 06 2001-08-01           726.6667                80
## 3              Malt 11 2001-08-01          1116.1031                30
## 4           Suggary 02 2001-08-01          1205.3719                10
## 5      Waugh sanct. 07 2001-08-01           864.2857               270
## 6           Dempsey 12 2001-08-01          1127.0691                50
## 7  Branche sud aval 03 2001-08-01          1138.6319                10
## 8            Sewell 08 2001-08-01          1170.8108                20
## 9         Pok amont 04 2001-08-01           653.2751                10
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                10
## 11 McConnell Six Rd 05 2001-08-01           985.1521                30
## 12          Pollard 10 2001-08-01          1110.4258               110
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                10
## 14          Pollard 10 2001-08-28          1110.4258                50
## 15    br. sud amont 01 2001-08-28          1214.4196               120
## 16         Morrison 06 2001-08-28           726.6667                90
## 17             Malt 11 2001-08-28          1116.1031                20
## 18          Suggary 02 2001-08-28          1205.3719                80
## 19     Waugh sanct. 07 2001-08-28           864.2857               430
## 20          Dempsey 12 2001-08-28          1127.0691                20
## 21 Branche sud aval 03 2001-08-28          1138.6319               110
## 22           Sewell 08 2001-08-28          1170.8108               210
## 23        Pok amont 04 2001-08-28           653.2751                10
## 24 McConnell Six Rd 05 2001-08-28           985.1521               250
## 25        Pok amont 04 2001-09-26           653.2751               530
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472               830
## 27 McConnell Six Rd 05 2001-09-26           985.1521               120
## 28          Pollard 10 2001-09-26          1110.4258              1240
## 29    br. sud amont 01 2001-09-26          1214.4196              2000
## 30         Morrison 06 2001-09-26           726.6667               220
## 31             Malt 11 2001-09-26          1116.1031               150
## 32          Suggary 02 2001-09-26          1205.3719               150
## 33     Waugh sanct. 07 2001-09-26           864.2857               590
## 34          Dempsey 12 2001-09-26          1127.0691               150
## 35 Branche sud aval 03 2001-09-26          1138.6319               660
## 36           Sewell 08 2001-09-26          1170.8108               190
## 37           Sewell 08 2001-10-31          1170.8108               140
## 38        Pok amont 04 2001-10-31           653.2751                20
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                10
## 40         Morrison 06 2001-10-31           726.6667                10
## 41 McConnell Six Rd 05 2001-10-31           985.1521               310
## 42          Pollard 10 2001-10-31          1110.4258                50
## 43    br. sud amont 01 2001-10-31          1214.4196                20
## 44          Dempsey 12 2001-10-31          1127.0691                10
## 45             Malt 11 2001-10-31          1116.1031               100
## 46          Suggary 02 2001-10-31          1205.3719                30
## 47     Waugh sanct. 07 2001-10-31           864.2857               480
## 48 Branche sud aval 03 2001-10-31          1138.6319                30
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                10
## 50 Branche sud aval 03 2002-07-29          1138.6319                30
## 51           Sewell 08 2002-07-29          1170.8108                60
## 52        Pok amont 04 2002-07-29           653.2751                10
## 53    br. sud amont 01 2002-07-29          1214.4196                20
## 54         Morrison 06 2002-07-29           726.6667                10
## 55 McConnell Six Rd 05 2002-07-29           985.1521                10
## 56          Pollard 10 2002-07-29          1110.4258               660
## 57     Waugh sanct. 07 2002-07-29           864.2857                80
## 58          Dempsey 12 2002-07-29          1127.0691                25
## 59             Malt 11 2002-07-29          1116.1031                10
## 60          Suggary 02 2002-07-29          1205.3719                10
## 61        Pok amont 04 2002-08-28           653.2751                30
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                10
## 63          Dempsey 12 2002-08-28          1127.0691                10
## 64 Branche sud aval 03 2002-08-28          1138.6319                20
## 65           Sewell 08 2002-08-28          1170.8108                10
## 66          Pollard 10 2002-08-28          1110.4258               180
## 67    br. sud amont 01 2002-08-28          1214.4196                80
## 68         Morrison 06 2002-08-28           726.6667                20
## 69 McConnell Six Rd 05 2002-08-28           985.1521               310
## 70          Suggary 02 2002-08-28          1205.3719                15
## 71     Waugh sanct. 07 2002-08-28           864.2857               410
## 72             Malt 11 2002-08-28          1116.1031                30
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                10
## 74           Sewell 08 2002-10-02          1170.8108                25
## 75        Pok amont 04 2002-10-02           653.2751                10
## 76     Waugh sanct. 07 2002-10-02           864.2857               700
## 77          Dempsey 12 2002-10-02          1127.0691                30
## 78 Branche sud aval 03 2002-10-02          1138.6319                40
## 79 McConnell Six Rd 05 2002-10-02           985.1521               150
## 80          Pollard 10 2002-10-02          1110.4258                10
## 81    br. sud amont 01 2002-10-02          1214.4196                20
## 82         Morrison 06 2002-10-02           726.6667                10
## 83             Malt 11 2002-10-02          1116.1031                90
## 84          Suggary 02 2002-10-02          1205.3719                20
## 85        Pok amont 04 2002-10-31           653.2751                10
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                10
## 87 Branche sud aval 03 2002-10-31          1138.6319                10
## 88           Sewell 08 2002-10-31          1170.8108                10
## 89          Suggary 02 2002-10-31          1205.3719                50
## 90     Waugh sanct. 07 2002-10-31           864.2857                40
## 91          Dempsey 12 2002-10-31          1127.0691                10
## 92         Morrison 06 2002-10-31           726.6667                10
## 93 McConnell Six Rd 05 2002-10-31           985.1521                30
## 94          Pollard 10 2002-10-31          1110.4258                10
## 95    br. sud amont 01 2002-10-31          1214.4196                10
## 96             Malt 11 2002-10-31          1116.1031                10
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre les coliformes et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Somme_ordre_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Phosphorus_Total_mg_L))
##               Station2       Date pctSomme_ordre_1.5 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01          1214.4196                0.0080
## 2          Morrison 06 2001-08-01           726.6667                0.0080
## 3              Malt 11 2001-08-01          1116.1031                0.0110
## 4           Suggary 02 2001-08-01          1205.3719                0.0090
## 5      Waugh sanct. 07 2001-08-01           864.2857                0.0150
## 6           Dempsey 12 2001-08-01          1127.0691                0.0140
## 7  Branche sud aval 03 2001-08-01          1138.6319                0.0080
## 8            Sewell 08 2001-08-01          1170.8108                0.0110
## 9         Pok amont 04 2001-08-01           653.2751                0.0110
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                0.0090
## 11 McConnell Six Rd 05 2001-08-01           985.1521                0.0160
## 12          Pollard 10 2001-08-01          1110.4258                0.0150
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                0.0070
## 14          Pollard 10 2001-08-28          1110.4258                0.0170
## 15    br. sud amont 01 2001-08-28          1214.4196                0.0060
## 16         Morrison 06 2001-08-28           726.6667                0.0080
## 17             Malt 11 2001-08-28          1116.1031                0.0080
## 18          Suggary 02 2001-08-28          1205.3719                0.0080
## 19     Waugh sanct. 07 2001-08-28           864.2857                0.0090
## 20          Dempsey 12 2001-08-28          1127.0691                0.0110
## 21 Branche sud aval 03 2001-08-28          1138.6319                0.0070
## 22           Sewell 08 2001-08-28          1170.8108                0.0170
## 23        Pok amont 04 2001-08-28           653.2751                0.0060
## 24 McConnell Six Rd 05 2001-08-28           985.1521                0.0130
## 25        Pok amont 04 2001-09-26           653.2751                0.0130
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472                0.0140
## 27 McConnell Six Rd 05 2001-09-26           985.1521                0.0130
## 28          Pollard 10 2001-09-26          1110.4258                0.0155
## 29    br. sud amont 01 2001-09-26          1214.4196                0.0130
## 30         Morrison 06 2001-09-26           726.6667                0.0080
## 31             Malt 11 2001-09-26          1116.1031                0.0120
## 32          Suggary 02 2001-09-26          1205.3719                0.0090
## 33     Waugh sanct. 07 2001-09-26           864.2857                0.0140
## 34          Dempsey 12 2001-09-26          1127.0691                0.0190
## 35 Branche sud aval 03 2001-09-26          1138.6319                0.0090
## 36           Sewell 08 2001-09-26          1170.8108                0.0120
## 37           Sewell 08 2001-10-31          1170.8108                0.0120
## 38        Pok amont 04 2001-10-31           653.2751                0.0050
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                0.0050
## 40         Morrison 06 2001-10-31           726.6667                0.0060
## 41 McConnell Six Rd 05 2001-10-31           985.1521                0.0110
## 42          Pollard 10 2001-10-31          1110.4258                0.0080
## 43    br. sud amont 01 2001-10-31          1214.4196                0.0050
## 44          Dempsey 12 2001-10-31          1127.0691                0.0090
## 45             Malt 11 2001-10-31          1116.1031                0.0070
## 46          Suggary 02 2001-10-31          1205.3719                0.0080
## 47     Waugh sanct. 07 2001-10-31           864.2857                0.0120
## 48 Branche sud aval 03 2001-10-31          1138.6319                0.0050
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                0.0050
## 50 Branche sud aval 03 2002-07-29          1138.6319                0.0070
## 51           Sewell 08 2002-07-29          1170.8108                0.0200
## 52        Pok amont 04 2002-07-29           653.2751                0.0060
## 53    br. sud amont 01 2002-07-29          1214.4196                0.0060
## 54         Morrison 06 2002-07-29           726.6667                0.0080
## 55 McConnell Six Rd 05 2002-07-29           985.1521                0.0130
## 56          Pollard 10 2002-07-29          1110.4258                0.0230
## 57     Waugh sanct. 07 2002-07-29           864.2857                0.0120
## 58          Dempsey 12 2002-07-29          1127.0691                0.0100
## 59             Malt 11 2002-07-29          1116.1031                0.0090
## 60          Suggary 02 2002-07-29          1205.3719                0.0070
## 61        Pok amont 04 2002-08-28           653.2751                0.0100
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                0.0090
## 63          Dempsey 12 2002-08-28          1127.0691                0.0130
## 64 Branche sud aval 03 2002-08-28          1138.6319                0.0080
## 65           Sewell 08 2002-08-28          1170.8108                0.0100
## 66          Pollard 10 2002-08-28          1110.4258                0.0160
## 67    br. sud amont 01 2002-08-28          1214.4196                0.0070
## 68         Morrison 06 2002-08-28           726.6667                0.0090
## 69 McConnell Six Rd 05 2002-08-28           985.1521                0.0140
## 70          Suggary 02 2002-08-28          1205.3719                0.0100
## 71     Waugh sanct. 07 2002-08-28           864.2857                0.0130
## 72             Malt 11 2002-08-28          1116.1031                0.0110
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                0.0070
## 74           Sewell 08 2002-10-02          1170.8108                0.0155
## 75        Pok amont 04 2002-10-02           653.2751                0.0060
## 76     Waugh sanct. 07 2002-10-02           864.2857                0.0090
## 77          Dempsey 12 2002-10-02          1127.0691                0.0120
## 78 Branche sud aval 03 2002-10-02          1138.6319                0.0080
## 79 McConnell Six Rd 05 2002-10-02           985.1521                0.0110
## 80          Pollard 10 2002-10-02          1110.4258                0.0110
## 81    br. sud amont 01 2002-10-02          1214.4196                0.0050
## 82         Morrison 06 2002-10-02           726.6667                0.0050
## 83             Malt 11 2002-10-02          1116.1031                0.0080
## 84          Suggary 02 2002-10-02          1205.3719                0.0070
## 85        Pok amont 04 2002-10-31           653.2751                0.0060
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                0.0050
## 87 Branche sud aval 03 2002-10-31          1138.6319                0.0050
## 88           Sewell 08 2002-10-31          1170.8108                0.0130
## 89          Suggary 02 2002-10-31          1205.3719                0.0050
## 90     Waugh sanct. 07 2002-10-31           864.2857                0.0080
## 91          Dempsey 12 2002-10-31          1127.0691                0.0080
## 92         Morrison 06 2002-10-31           726.6667                0.0050
## 93 McConnell Six Rd 05 2002-10-31           985.1521                0.0090
## 94          Pollard 10 2002-10-31          1110.4258                0.0060
## 95    br. sud amont 01 2002-10-31          1214.4196                0.0065
## 96             Malt 11 2002-10-31          1116.1031                0.0050
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre le phosphore et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

Somme_ordre_vs_Nitrate_as_N_mg_L

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Nitrate_as_N_mg_L))
##               Station2       Date pctSomme_ordre_1.5 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01          1214.4196            0.0500
## 2          Morrison 06 2001-08-01           726.6667            0.0940
## 3              Malt 11 2001-08-01          1116.1031            0.0500
## 4           Suggary 02 2001-08-01          1205.3719            0.0500
## 5      Waugh sanct. 07 2001-08-01           864.2857            0.0500
## 6           Dempsey 12 2001-08-01          1127.0691            0.0500
## 7  Branche sud aval 03 2001-08-01          1138.6319            0.0500
## 8            Sewell 08 2001-08-01          1170.8108            0.1360
## 9         Pok amont 04 2001-08-01           653.2751            0.0500
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472            0.0500
## 11 McConnell Six Rd 05 2001-08-01           985.1521            0.2510
## 12          Pollard 10 2001-08-01          1110.4258            0.2600
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472            0.0500
## 14          Pollard 10 2001-08-28          1110.4258            0.3010
## 15    br. sud amont 01 2001-08-28          1214.4196            0.0500
## 16         Morrison 06 2001-08-28           726.6667            0.0910
## 17             Malt 11 2001-08-28          1116.1031            0.0500
## 18          Suggary 02 2001-08-28          1205.3719            0.0500
## 19     Waugh sanct. 07 2001-08-28           864.2857            0.0500
## 20          Dempsey 12 2001-08-28          1127.0691            0.0500
## 21 Branche sud aval 03 2001-08-28          1138.6319            0.0500
## 22           Sewell 08 2001-08-28          1170.8108            0.1330
## 23        Pok amont 04 2001-08-28           653.2751            0.0500
## 24 McConnell Six Rd 05 2001-08-28           985.1521            0.2810
## 25        Pok amont 04 2001-09-26           653.2751            0.0500
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472            0.0500
## 27 McConnell Six Rd 05 2001-09-26           985.1521            0.2110
## 28          Pollard 10 2001-09-26          1110.4258            0.1845
## 29    br. sud amont 01 2001-09-26          1214.4196            0.0770
## 30         Morrison 06 2001-09-26           726.6667            0.0500
## 31             Malt 11 2001-09-26          1116.1031            0.0500
## 32          Suggary 02 2001-09-26          1205.3719            0.0500
## 33     Waugh sanct. 07 2001-09-26           864.2857            0.0500
## 34          Dempsey 12 2001-09-26          1127.0691            0.0500
## 35 Branche sud aval 03 2001-09-26          1138.6319            0.0500
## 36           Sewell 08 2001-09-26          1170.8108            0.0500
## 37           Sewell 08 2001-10-31          1170.8108            0.0500
## 38        Pok amont 04 2001-10-31           653.2751            0.0500
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472            0.0500
## 40         Morrison 06 2001-10-31           726.6667            0.0500
## 41 McConnell Six Rd 05 2001-10-31           985.1521            0.0500
## 42          Pollard 10 2001-10-31          1110.4258            0.2300
## 43    br. sud amont 01 2001-10-31          1214.4196            0.0500
## 44          Dempsey 12 2001-10-31          1127.0691            0.0500
## 45             Malt 11 2001-10-31          1116.1031            0.0500
## 46          Suggary 02 2001-10-31          1205.3719            0.0500
## 47     Waugh sanct. 07 2001-10-31           864.2857            0.0500
## 48 Branche sud aval 03 2001-10-31          1138.6319            0.0500
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472            0.0500
## 50 Branche sud aval 03 2002-07-29          1138.6319            0.0500
## 51           Sewell 08 2002-07-29          1170.8108            0.2200
## 52        Pok amont 04 2002-07-29           653.2751            0.0700
## 53    br. sud amont 01 2002-07-29          1214.4196            0.0500
## 54         Morrison 06 2002-07-29           726.6667            0.0700
## 55 McConnell Six Rd 05 2002-07-29           985.1521            0.2800
## 56          Pollard 10 2002-07-29          1110.4258            0.3300
## 57     Waugh sanct. 07 2002-07-29           864.2857            0.0500
## 58          Dempsey 12 2002-07-29          1127.0691            0.0500
## 59             Malt 11 2002-07-29          1116.1031            0.0500
## 60          Suggary 02 2002-07-29          1205.3719            0.1900
## 61        Pok amont 04 2002-08-28           653.2751            0.0700
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472            0.0500
## 63          Dempsey 12 2002-08-28          1127.0691            0.0500
## 64 Branche sud aval 03 2002-08-28          1138.6319            0.0500
## 65           Sewell 08 2002-08-28          1170.8108            0.0500
## 66          Pollard 10 2002-08-28          1110.4258            0.1800
## 67    br. sud amont 01 2002-08-28          1214.4196            0.0500
## 68         Morrison 06 2002-08-28           726.6667            0.0700
## 69 McConnell Six Rd 05 2002-08-28           985.1521            0.3000
## 70          Suggary 02 2002-08-28          1205.3719            0.1750
## 71     Waugh sanct. 07 2002-08-28           864.2857            0.0500
## 72             Malt 11 2002-08-28          1116.1031            0.0500
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472            0.0500
## 74           Sewell 08 2002-10-02          1170.8108            0.0500
## 75        Pok amont 04 2002-10-02           653.2751            0.0500
## 76     Waugh sanct. 07 2002-10-02           864.2857            0.0500
## 77          Dempsey 12 2002-10-02          1127.0691            0.0500
## 78 Branche sud aval 03 2002-10-02          1138.6319            0.0500
## 79 McConnell Six Rd 05 2002-10-02           985.1521            0.1900
## 80          Pollard 10 2002-10-02          1110.4258            0.1300
## 81    br. sud amont 01 2002-10-02          1214.4196            0.0500
## 82         Morrison 06 2002-10-02           726.6667            0.0500
## 83             Malt 11 2002-10-02          1116.1031            0.0500
## 84          Suggary 02 2002-10-02          1205.3719            0.1300
## 85        Pok amont 04 2002-10-31           653.2751            0.0500
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472            0.0500
## 87 Branche sud aval 03 2002-10-31          1138.6319            0.0500
## 88           Sewell 08 2002-10-31          1170.8108            0.2300
## 89          Suggary 02 2002-10-31          1205.3719            0.1500
## 90     Waugh sanct. 07 2002-10-31           864.2857            0.0800
## 91          Dempsey 12 2002-10-31          1127.0691            0.0500
## 92         Morrison 06 2002-10-31           726.6667            0.0700
## 93 McConnell Six Rd 05 2002-10-31           985.1521            0.2200
## 94          Pollard 10 2002-10-31          1110.4258            0.1900
## 95    br. sud amont 01 2002-10-31          1214.4196            0.0500
## 96             Malt 11 2002-10-31          1116.1031            0.1300
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre le nitrate et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

F: superficie de champs

# Crée la variable pourcentage


Period1$pctF_supdrainee_1990 = Period1$F_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctF_supdrainee_2020 = Period1$F_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

superficie_champs_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctF_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01          0.021343050              11.5
## 2          Morrison 06 2001-08-01          0.004724409              10.2
## 3              Malt 11 2001-08-01          0.056897477              25.2
## 4           Suggary 02 2001-08-01          0.106404959              14.4
## 5      Waugh sanct. 07 2001-08-01          0.016216216              10.8
## 6           Dempsey 12 2001-08-01          0.082278481              20.4
## 7  Branche sud aval 03 2001-08-01          0.007827789              13.5
## 8            Sewell 08 2001-08-01          0.102364865              12.8
## 9         Pok amont 04 2001-08-01          0.000000000              11.4
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226              14.5
## 11 McConnell Six Rd 05 2001-08-01          0.100178891               9.0
## 12          Pollard 10 2001-08-01          0.120411160              15.1
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226               9.3
## 14          Pollard 10 2001-08-28          0.120411160              12.0
## 15    br. sud amont 01 2001-08-28          0.021343050              10.0
## 16         Morrison 06 2001-08-28          0.004724409               NaN
## 17             Malt 11 2001-08-28          0.056897477               8.8
## 18          Suggary 02 2001-08-28          0.106404959              13.0
## 19     Waugh sanct. 07 2001-08-28          0.016216216              10.6
## 20          Dempsey 12 2001-08-28          0.082278481              13.5
## 21 Branche sud aval 03 2001-08-28          0.007827789              11.5
## 22           Sewell 08 2001-08-28          0.102364865              13.5
## 23        Pok amont 04 2001-08-28          0.000000000               8.4
## 24 McConnell Six Rd 05 2001-08-28          0.100178891              10.9
## 25        Pok amont 04 2001-09-26          0.000000000               9.8
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226              10.7
## 27 McConnell Six Rd 05 2001-09-26          0.100178891              11.8
## 28          Pollard 10 2001-09-26          0.120411160              12.7
## 29    br. sud amont 01 2001-09-26          0.021343050              11.5
## 30         Morrison 06 2001-09-26          0.004724409              11.2
## 31             Malt 11 2001-09-26          0.056897477               9.3
## 32          Suggary 02 2001-09-26          0.106404959              12.9
## 33     Waugh sanct. 07 2001-09-26          0.016216216              10.4
## 34          Dempsey 12 2001-09-26          0.082278481              13.4
## 35 Branche sud aval 03 2001-09-26          0.007827789              12.0
## 36           Sewell 08 2001-09-26          0.102364865              12.9
## 37           Sewell 08 2001-10-31          0.102364865               1.4
## 38        Pok amont 04 2001-10-31          0.000000000               4.8
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226               3.0
## 40         Morrison 06 2001-10-31          0.004724409               1.8
## 41 McConnell Six Rd 05 2001-10-31          0.100178891               2.1
## 42          Pollard 10 2001-10-31          0.120411160               3.3
## 43    br. sud amont 01 2001-10-31          0.021343050               2.7
## 44          Dempsey 12 2001-10-31          0.082278481               3.9
## 45             Malt 11 2001-10-31          0.056897477               4.8
## 46          Suggary 02 2001-10-31          0.106404959               2.1
## 47     Waugh sanct. 07 2001-10-31          0.016216216               2.7
## 48 Branche sud aval 03 2001-10-31          0.007827789               2.3
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226              17.5
## 50 Branche sud aval 03 2002-07-29          0.007827789              15.7
## 51           Sewell 08 2002-07-29          0.102364865              16.8
## 52        Pok amont 04 2002-07-29          0.000000000              13.3
## 53    br. sud amont 01 2002-07-29          0.021343050              14.7
## 54         Morrison 06 2002-07-29          0.004724409              17.3
## 55 McConnell Six Rd 05 2002-07-29          0.100178891              17.4
## 56          Pollard 10 2002-07-29          0.120411160              17.0
## 57     Waugh sanct. 07 2002-07-29          0.016216216              16.4
## 58          Dempsey 12 2002-07-29          0.082278481              15.6
## 59             Malt 11 2002-07-29          0.056897477              14.9
## 60          Suggary 02 2002-07-29          0.106404959              17.9
## 61        Pok amont 04 2002-08-28          0.000000000               8.0
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226              10.2
## 63          Dempsey 12 2002-08-28          0.082278481              13.2
## 64 Branche sud aval 03 2002-08-28          0.007827789              11.3
## 65           Sewell 08 2002-08-28          0.102364865              13.1
## 66          Pollard 10 2002-08-28          0.120411160              11.1
## 67    br. sud amont 01 2002-08-28          0.021343050              11.1
## 68         Morrison 06 2002-08-28          0.004724409               9.9
## 69 McConnell Six Rd 05 2002-08-28          0.100178891              12.9
## 70          Suggary 02 2002-08-28          0.106404959              10.6
## 71     Waugh sanct. 07 2002-08-28          0.016216216              10.1
## 72             Malt 11 2002-08-28          0.056897477               7.9
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226              10.7
## 74           Sewell 08 2002-10-02          0.102364865              12.7
## 75        Pok amont 04 2002-10-02          0.000000000               7.8
## 76     Waugh sanct. 07 2002-10-02          0.016216216              10.7
## 77          Dempsey 12 2002-10-02          0.082278481              11.1
## 78 Branche sud aval 03 2002-10-02          0.007827789              10.9
## 79 McConnell Six Rd 05 2002-10-02          0.100178891              12.9
## 80          Pollard 10 2002-10-02          0.120411160              10.8
## 81    br. sud amont 01 2002-10-02          0.021343050              11.0
## 82         Morrison 06 2002-10-02          0.004724409              10.5
## 83             Malt 11 2002-10-02          0.056897477               7.8
## 84          Suggary 02 2002-10-02          0.106404959              10.3
## 85        Pok amont 04 2002-10-31          0.000000000               4.6
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226               2.7
## 87 Branche sud aval 03 2002-10-31          0.007827789               NaN
## 88           Sewell 08 2002-10-31          0.102364865               1.6
## 89          Suggary 02 2002-10-31          0.106404959               2.7
## 90     Waugh sanct. 07 2002-10-31          0.016216216               2.7
## 91          Dempsey 12 2002-10-31          0.082278481               3.3
## 92         Morrison 06 2002-10-31          0.004724409               1.7
## 93 McConnell Six Rd 05 2002-10-31          0.100178891               2.3
## 94          Pollard 10 2002-10-31          0.120411160               2.7
## 95    br. sud amont 01 2002-10-31          0.021343050               2.5
## 96             Malt 11 2002-10-31          0.056897477               4.4
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctF_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28          0.015616866              11.5
## 98           Dempsey 12 2021-07-28          0.012073491              16.1
## 99  Branche sud aval 03 2021-07-28          0.050993022              15.5
## 100           Sewell 08 2021-07-28          0.140495868              14.2
## 101     Waugh sanct. 07 2021-07-28          0.009266409              12.1
## 102    br. sud amont 01 2021-07-28          0.088120740              14.0
## 103         Morrison 06 2021-07-28          0.007294076              15.7
## 104             Malt 11 2021-07-28          0.116554054              11.7
## 105 McConnell Six Rd 05 2021-07-28          0.000000000              16.9
## 106          Pollard 10 2021-07-28          0.026415094              14.6
## 107        Pok amont 04 2021-07-28          0.098389982              11.2
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590              11.9
## 109             Malt 11 2021-08-31          0.026415094              12.0
## 110          Suggary 02 2021-08-31          0.132158590              11.0
## 111     Waugh sanct. 07 2021-08-31          0.015616866              12.8
## 112          Dempsey 12 2021-08-31          0.012073491              15.0
## 113 Branche sud aval 03 2021-08-31          0.050993022              15.0
## 114           Sewell 08 2021-08-31          0.140495868              14.6
## 115          Pollard 10 2021-08-31          0.009266409              15.7
## 116    br. sud amont 01 2021-08-31          0.088120740              13.7
## 117         Morrison 06 2021-08-31          0.007294076              14.9
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054              11.7
## 119 McConnell Six Rd 05 2021-08-31          0.000000000              16.4
## 120        Pok amont 04 2021-08-31          0.098389982              10.8
## 121          Suggary 02 2021-10-05          0.000000000               6.3
## 122         Morrison 06 2021-10-05          0.026415094               7.0
## 123             Malt 11 2021-10-05          0.098389982               8.5
## 124           Sewell 08 2021-10-05          0.132158590               8.0
## 125     Waugh sanct. 07 2021-10-05          0.015616866               9.0
## 126          Dempsey 12 2021-10-05          0.012073491               8.7
## 127 Branche sud aval 03 2021-10-05          0.050993022               7.9
## 128 McConnell Six Rd 05 2021-10-05          0.140495868               7.9
## 129          Pollard 10 2021-10-05          0.009266409               8.7
## 130    br. sud amont 01 2021-10-05          0.088120740               7.3
## 131        Pok amont 04 2021-10-05          0.007294076               7.4
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054               6.4
## 133             Malt 11 2021-10-28          0.116554054               7.1
## 134          Suggary 02 2021-10-28          0.000000000               6.7
## 135    br. sud amont 01 2021-10-28          0.026415094               7.0
## 136         Morrison 06 2021-10-28          0.012073491               6.4
## 137 Branche sud aval 03 2021-10-28          0.098389982               6.7
## 138           Sewell 08 2021-10-28          0.132158590               7.4
## 139     Waugh sanct. 07 2021-10-28          0.015616866               7.3
## 140          Dempsey 12 2021-10-28          0.088120740               7.3
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022               6.7
## 142 McConnell Six Rd 05 2021-10-28          0.140495868               7.2
## 143          Pollard 10 2021-10-28          0.009266409               7.5
## 144        Pok amont 04 2021-10-28          0.007294076               7.2
## 145          Pollard 10 2022-07-28          0.026415094              14.2
## 146         Morrison 06 2022-07-28          0.007294076              13.3
## 147             Malt 11 2022-07-28          0.116554054              12.9
## 148          Suggary 02 2022-07-28          0.000000000              11.4
## 149    br. sud amont 01 2022-07-28          0.015616866              14.9
## 150          Dempsey 12 2022-07-28          0.012073491              15.3
## 151 Branche sud aval 03 2022-07-28          0.098389982              15.5
## 152           Sewell 08 2022-07-28          0.132158590              15.1
## 153     Waugh sanct. 07 2022-07-28          0.009266409              13.1
## 154        Pok amont 04 2022-07-28          0.088120740              11.9
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022              11.1
## 156 McConnell Six Rd 05 2022-07-28          0.140495868              13.8
## 157 McConnell Six Rd 05 2022-09-01          0.000000000              16.2
## 158          Pollard 10 2022-09-01          0.026415094              15.1
## 159    br. sud amont 01 2022-09-01          0.088120740              14.8
## 160         Morrison 06 2022-09-01          0.007294076              15.0
## 161             Malt 11 2022-09-01          0.116554054              12.3
## 162          Suggary 02 2022-09-01          0.132158590              11.9
## 163     Waugh sanct. 07 2022-09-01          0.015616866              14.0
## 164          Dempsey 12 2022-09-01          0.012073491              15.0
## 165 Branche sud aval 03 2022-09-01          0.098389982              16.2
## 166           Sewell 08 2022-09-01          0.140495868              15.9
## 167        Pok amont 04 2022-09-01          0.009266409              12.1
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022              12.9
## 169           Sewell 08 2022-10-03          0.026415094               6.2
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054               4.7
## 171 McConnell Six Rd 05 2022-10-03          0.000000000               6.5
## 172          Pollard 10 2022-10-03          0.009266409               6.5
## 173    br. sud amont 01 2022-10-03          0.088120740               5.6
## 174         Morrison 06 2022-10-03          0.007294076               4.7
## 175             Malt 11 2022-10-03          0.098389982               7.9
## 176          Suggary 02 2022-10-03          0.132158590               4.5
## 177     Waugh sanct. 07 2022-10-03          0.015616866               6.3
## 178          Dempsey 12 2022-10-03          0.012073491               6.0
## 179 Branche sud aval 03 2022-10-03          0.050993022               6.2
## 180        Pok amont 04 2022-10-03          0.140495868               6.5
## 181 Branche sud aval 03 2022-11-01          0.000000000               6.5
## 182           Sewell 08 2022-11-01          0.026415094               7.1
## 183        Pok amont 04 2022-11-01          0.007294076               6.3
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054               6.1
## 185 McConnell Six Rd 05 2022-11-01          0.140495868               7.4
## 186          Pollard 10 2022-11-01          0.009266409               8.0
## 187    br. sud amont 01 2022-11-01          0.088120740               7.0
## 188         Morrison 06 2022-11-01          0.012073491               5.9
## 189             Malt 11 2022-11-01          0.098389982               7.6
## 190          Suggary 02 2022-11-01          0.132158590               6.5
## 191     Waugh sanct. 07 2022-11-01          0.015616866               7.3
## 192          Dempsey 12 2022-11-01          0.050993022               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

superficie_champs_vs_Oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctF_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01          0.021343050                 11.30
## 2          Morrison 06 2001-08-01          0.004724409                 10.60
## 3              Malt 11 2001-08-01          0.056897477                 11.80
## 4           Suggary 02 2001-08-01          0.106404959                 10.50
## 5      Waugh sanct. 07 2001-08-01          0.016216216                 10.40
## 6           Dempsey 12 2001-08-01          0.082278481                  8.10
## 7  Branche sud aval 03 2001-08-01          0.007827789                 11.00
## 8            Sewell 08 2001-08-01          0.102364865                 11.10
## 9         Pok amont 04 2001-08-01          0.000000000                  9.70
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226                 10.50
## 11 McConnell Six Rd 05 2001-08-01          0.100178891                 12.10
## 12          Pollard 10 2001-08-01          0.120411160                  9.50
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226                 10.60
## 14          Pollard 10 2001-08-28          0.120411160                  9.60
## 15    br. sud amont 01 2001-08-28          0.021343050                 10.12
## 16         Morrison 06 2001-08-28          0.004724409                   NaN
## 17             Malt 11 2001-08-28          0.056897477                 10.60
## 18          Suggary 02 2001-08-28          0.106404959                  9.45
## 19     Waugh sanct. 07 2001-08-28          0.016216216                 10.00
## 20          Dempsey 12 2001-08-28          0.082278481                  8.80
## 21 Branche sud aval 03 2001-08-28          0.007827789                 10.00
## 22           Sewell 08 2001-08-28          0.102364865                  9.40
## 23        Pok amont 04 2001-08-28          0.000000000                 10.50
## 24 McConnell Six Rd 05 2001-08-28          0.100178891                 10.00
## 25        Pok amont 04 2001-09-26          0.000000000                  8.00
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226                  9.00
## 27 McConnell Six Rd 05 2001-09-26          0.100178891                  8.51
## 28          Pollard 10 2001-09-26          0.120411160                  8.40
## 29    br. sud amont 01 2001-09-26          0.021343050                  8.50
## 30         Morrison 06 2001-09-26          0.004724409                  8.60
## 31             Malt 11 2001-09-26          0.056897477                  9.00
## 32          Suggary 02 2001-09-26          0.106404959                  8.44
## 33     Waugh sanct. 07 2001-09-26          0.016216216                  8.62
## 34          Dempsey 12 2001-09-26          0.082278481                  8.30
## 35 Branche sud aval 03 2001-09-26          0.007827789                  9.20
## 36           Sewell 08 2001-09-26          0.102364865                  7.92
## 37           Sewell 08 2001-10-31          0.102364865                  7.70
## 38        Pok amont 04 2001-10-31          0.000000000                  8.40
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226                  9.46
## 40         Morrison 06 2001-10-31          0.004724409                  9.84
## 41 McConnell Six Rd 05 2001-10-31          0.100178891                  8.70
## 42          Pollard 10 2001-10-31          0.120411160                  8.85
## 43    br. sud amont 01 2001-10-31          0.021343050                  7.80
## 44          Dempsey 12 2001-10-31          0.082278481                  8.43
## 45             Malt 11 2001-10-31          0.056897477                  9.20
## 46          Suggary 02 2001-10-31          0.106404959                  7.30
## 47     Waugh sanct. 07 2001-10-31          0.016216216                  8.00
## 48 Branche sud aval 03 2001-10-31          0.007827789                  9.57
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226                  8.01
## 50 Branche sud aval 03 2002-07-29          0.007827789                  8.50
## 51           Sewell 08 2002-07-29          0.102364865                  7.60
## 52        Pok amont 04 2002-07-29          0.000000000                  8.17
## 53    br. sud amont 01 2002-07-29          0.021343050                  8.65
## 54         Morrison 06 2002-07-29          0.004724409                  9.76
## 55 McConnell Six Rd 05 2002-07-29          0.100178891                  7.10
## 56          Pollard 10 2002-07-29          0.120411160                  7.45
## 57     Waugh sanct. 07 2002-07-29          0.016216216                  7.90
## 58          Dempsey 12 2002-07-29          0.082278481                  8.30
## 59             Malt 11 2002-07-29          0.056897477                  8.90
## 60          Suggary 02 2002-07-29          0.106404959                  8.20
## 61        Pok amont 04 2002-08-28          0.000000000                 10.65
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226                  9.46
## 63          Dempsey 12 2002-08-28          0.082278481                  8.20
## 64 Branche sud aval 03 2002-08-28          0.007827789                 10.41
## 65           Sewell 08 2002-08-28          0.102364865                  9.80
## 66          Pollard 10 2002-08-28          0.120411160                  9.02
## 67    br. sud amont 01 2002-08-28          0.021343050                 10.20
## 68         Morrison 06 2002-08-28          0.004724409                 11.17
## 69 McConnell Six Rd 05 2002-08-28          0.100178891                 11.05
## 70          Suggary 02 2002-08-28          0.106404959                 11.24
## 71     Waugh sanct. 07 2002-08-28          0.016216216                 10.00
## 72             Malt 11 2002-08-28          0.056897477                 10.00
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226                  4.42
## 74           Sewell 08 2002-10-02          0.102364865                  6.84
## 75        Pok amont 04 2002-10-02          0.000000000                  7.20
## 76     Waugh sanct. 07 2002-10-02          0.016216216                  6.10
## 77          Dempsey 12 2002-10-02          0.082278481                  5.70
## 78 Branche sud aval 03 2002-10-02          0.007827789                  7.10
## 79 McConnell Six Rd 05 2002-10-02          0.100178891                  7.49
## 80          Pollard 10 2002-10-02          0.120411160                  6.80
## 81    br. sud amont 01 2002-10-02          0.021343050                  7.16
## 82         Morrison 06 2002-10-02          0.004724409                  7.60
## 83             Malt 11 2002-10-02          0.056897477                  6.40
## 84          Suggary 02 2002-10-02          0.106404959                  8.08
## 85        Pok amont 04 2002-10-31          0.000000000                  7.50
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226                  8.50
## 87 Branche sud aval 03 2002-10-31          0.007827789                   NaN
## 88           Sewell 08 2002-10-31          0.102364865                  8.30
## 89          Suggary 02 2002-10-31          0.106404959                  8.60
## 90     Waugh sanct. 07 2002-10-31          0.016216216                  7.00
## 91          Dempsey 12 2002-10-31          0.082278481                  7.40
## 92         Morrison 06 2002-10-31          0.004724409                  8.30
## 93 McConnell Six Rd 05 2002-10-31          0.100178891                  7.60
## 94          Pollard 10 2002-10-31          0.120411160                  7.60
## 95    br. sud amont 01 2002-10-31          0.021343050                  8.20
## 96             Malt 11 2002-10-31          0.056897477                  8.00
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctF_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28          0.015616866                  9.68
## 98           Dempsey 12 2021-07-28          0.012073491                  9.38
## 99  Branche sud aval 03 2021-07-28          0.050993022                  8.51
## 100           Sewell 08 2021-07-28          0.140495868                  9.29
## 101     Waugh sanct. 07 2021-07-28          0.009266409                  9.84
## 102    br. sud amont 01 2021-07-28          0.088120740                  8.43
## 103         Morrison 06 2021-07-28          0.007294076                  9.04
## 104             Malt 11 2021-07-28          0.116554054                  9.73
## 105 McConnell Six Rd 05 2021-07-28          0.000000000                  8.70
## 106          Pollard 10 2021-07-28          0.026415094                  9.81
## 107        Pok amont 04 2021-07-28          0.098389982                  9.22
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590                 10.29
## 109             Malt 11 2021-08-31          0.026415094                 11.07
## 110          Suggary 02 2021-08-31          0.132158590                 10.16
## 111     Waugh sanct. 07 2021-08-31          0.015616866                 10.03
## 112          Dempsey 12 2021-08-31          0.012073491                  9.51
## 113 Branche sud aval 03 2021-08-31          0.050993022                  8.83
## 114           Sewell 08 2021-08-31          0.140495868                  8.18
## 115          Pollard 10 2021-08-31          0.009266409                  8.15
## 116    br. sud amont 01 2021-08-31          0.088120740                  7.94
## 117         Morrison 06 2021-08-31          0.007294076                  9.14
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054                 10.42
## 119 McConnell Six Rd 05 2021-08-31          0.000000000                  8.54
## 120        Pok amont 04 2021-08-31          0.098389982                  8.70
## 121          Suggary 02 2021-10-05          0.000000000                 12.14
## 122         Morrison 06 2021-10-05          0.026415094                 11.19
## 123             Malt 11 2021-10-05          0.098389982                 10.27
## 124           Sewell 08 2021-10-05          0.132158590                 11.17
## 125     Waugh sanct. 07 2021-10-05          0.015616866                 10.42
## 126          Dempsey 12 2021-10-05          0.012073491                 10.86
## 127 Branche sud aval 03 2021-10-05          0.050993022                 10.40
## 128 McConnell Six Rd 05 2021-10-05          0.140495868                 10.87
## 129          Pollard 10 2021-10-05          0.009266409                 11.29
## 130    br. sud amont 01 2021-10-05          0.088120740                 10.74
## 131        Pok amont 04 2021-10-05          0.007294076                 10.75
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054                 11.40
## 133             Malt 11 2021-10-28          0.116554054                 10.50
## 134          Suggary 02 2021-10-28          0.000000000                 11.68
## 135    br. sud amont 01 2021-10-28          0.026415094                 10.93
## 136         Morrison 06 2021-10-28          0.012073491                 11.66
## 137 Branche sud aval 03 2021-10-28          0.098389982                 11.22
## 138           Sewell 08 2021-10-28          0.132158590                 11.44
## 139     Waugh sanct. 07 2021-10-28          0.015616866                 10.96
## 140          Dempsey 12 2021-10-28          0.088120740                  8.77
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022                 11.26
## 142 McConnell Six Rd 05 2021-10-28          0.140495868                 10.41
## 143          Pollard 10 2021-10-28          0.009266409                 10.54
## 144        Pok amont 04 2021-10-28          0.007294076                 10.80
## 145          Pollard 10 2022-07-28          0.026415094                 10.75
## 146         Morrison 06 2022-07-28          0.007294076                 10.00
## 147             Malt 11 2022-07-28          0.116554054                 11.60
## 148          Suggary 02 2022-07-28          0.000000000                 11.40
## 149    br. sud amont 01 2022-07-28          0.015616866                  8.64
## 150          Dempsey 12 2022-07-28          0.012073491                  9.34
## 151 Branche sud aval 03 2022-07-28          0.098389982                  9.55
## 152           Sewell 08 2022-07-28          0.132158590                  9.50
## 153     Waugh sanct. 07 2022-07-28          0.009266409                  9.90
## 154        Pok amont 04 2022-07-28          0.088120740                  9.52
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022                 11.52
## 156 McConnell Six Rd 05 2022-07-28          0.140495868                 10.40
## 157 McConnell Six Rd 05 2022-09-01          0.000000000                  9.19
## 158          Pollard 10 2022-09-01          0.026415094                 10.25
## 159    br. sud amont 01 2022-09-01          0.088120740                  8.28
## 160         Morrison 06 2022-09-01          0.007294076                  9.52
## 161             Malt 11 2022-09-01          0.116554054                 11.08
## 162          Suggary 02 2022-09-01          0.132158590                 10.24
## 163     Waugh sanct. 07 2022-09-01          0.015616866                  9.22
## 164          Dempsey 12 2022-09-01          0.012073491                  9.44
## 165 Branche sud aval 03 2022-09-01          0.098389982                  8.95
## 166           Sewell 08 2022-09-01          0.140495868                  9.02
## 167        Pok amont 04 2022-09-01          0.009266409                  8.82
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022                 10.06
## 169           Sewell 08 2022-10-03          0.026415094                 10.03
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054                 12.38
## 171 McConnell Six Rd 05 2022-10-03          0.000000000                 12.20
## 172          Pollard 10 2022-10-03          0.009266409                 13.04
## 173    br. sud amont 01 2022-10-03          0.088120740                 11.04
## 174         Morrison 06 2022-10-03          0.007294076                 12.92
## 175             Malt 11 2022-10-03          0.098389982                 12.67
## 176          Suggary 02 2022-10-03          0.132158590                 13.13
## 177     Waugh sanct. 07 2022-10-03          0.015616866                 12.07
## 178          Dempsey 12 2022-10-03          0.012073491                 11.87
## 179 Branche sud aval 03 2022-10-03          0.050993022                 12.21
## 180        Pok amont 04 2022-10-03          0.140495868                 10.04
## 181 Branche sud aval 03 2022-11-01          0.000000000                 12.07
## 182           Sewell 08 2022-11-01          0.026415094                 12.13
## 183        Pok amont 04 2022-11-01          0.007294076                 10.55
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054                 12.12
## 185 McConnell Six Rd 05 2022-11-01          0.140495868                 11.17
## 186          Pollard 10 2022-11-01          0.009266409                 10.85
## 187    br. sud amont 01 2022-11-01          0.088120740                 11.78
## 188         Morrison 06 2022-11-01          0.012073491                 12.66
## 189             Malt 11 2022-11-01          0.098389982                 11.63
## 190          Suggary 02 2022-11-01          0.132158590                 12.35
## 191     Waugh sanct. 07 2022-11-01          0.015616866                  9.42
## 192          Dempsey 12 2022-11-01          0.050993022                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

superficie_champs_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctF_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01          0.021343050                  171.0
## 2          Morrison 06 2001-08-01          0.004724409                  114.0
## 3              Malt 11 2001-08-01          0.056897477                  108.0
## 4           Suggary 02 2001-08-01          0.106404959                  118.0
## 5      Waugh sanct. 07 2001-08-01          0.016216216                  133.0
## 6           Dempsey 12 2001-08-01          0.082278481                  128.0
## 7  Branche sud aval 03 2001-08-01          0.007827789                  115.0
## 8            Sewell 08 2001-08-01          0.102364865                  134.0
## 9         Pok amont 04 2001-08-01          0.000000000                   56.6
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226                  106.0
## 11 McConnell Six Rd 05 2001-08-01          0.100178891                  100.0
## 12          Pollard 10 2001-08-01          0.120411160                  156.0
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226                  105.0
## 14          Pollard 10 2001-08-28          0.120411160                  162.0
## 15    br. sud amont 01 2001-08-28          0.021343050                  177.0
## 16         Morrison 06 2001-08-28          0.004724409                  115.0
## 17             Malt 11 2001-08-28          0.056897477                   90.3
## 18          Suggary 02 2001-08-28          0.106404959                  119.0
## 19     Waugh sanct. 07 2001-08-28          0.016216216                  132.0
## 20          Dempsey 12 2001-08-28          0.082278481                  129.0
## 21 Branche sud aval 03 2001-08-28          0.007827789                  113.0
## 22           Sewell 08 2001-08-28          0.102364865                  150.0
## 23        Pok amont 04 2001-08-28          0.000000000                   60.0
## 24 McConnell Six Rd 05 2001-08-28          0.100178891                  112.0
## 25        Pok amont 04 2001-09-26          0.000000000                   72.1
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226                  115.0
## 27 McConnell Six Rd 05 2001-09-26          0.100178891                  111.0
## 28          Pollard 10 2001-09-26          0.120411160                  153.5
## 29    br. sud amont 01 2001-09-26          0.021343050                  158.0
## 30         Morrison 06 2001-09-26          0.004724409                  117.0
## 31             Malt 11 2001-09-26          0.056897477                   97.7
## 32          Suggary 02 2001-09-26          0.106404959                  139.0
## 33     Waugh sanct. 07 2001-09-26          0.016216216                  136.0
## 34          Dempsey 12 2001-09-26          0.082278481                  137.0
## 35 Branche sud aval 03 2001-09-26          0.007827789                  123.0
## 36           Sewell 08 2001-09-26          0.102364865                  173.0
## 37           Sewell 08 2001-10-31          0.102364865                  111.0
## 38        Pok amont 04 2001-10-31          0.000000000                   68.3
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226                  112.0
## 40         Morrison 06 2001-10-31          0.004724409                  123.0
## 41 McConnell Six Rd 05 2001-10-31          0.100178891                   87.2
## 42          Pollard 10 2001-10-31          0.120411160                  164.0
## 43    br. sud amont 01 2001-10-31          0.021343050                  162.0
## 44          Dempsey 12 2001-10-31          0.082278481                  128.0
## 45             Malt 11 2001-10-31          0.056897477                   98.8
## 46          Suggary 02 2001-10-31          0.106404959                  120.0
## 47     Waugh sanct. 07 2001-10-31          0.016216216                  102.0
## 48 Branche sud aval 03 2001-10-31          0.007827789                  115.0
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226                  112.0
## 50 Branche sud aval 03 2002-07-29          0.007827789                  116.0
## 51           Sewell 08 2002-07-29          0.102364865                  139.0
## 52        Pok amont 04 2002-07-29          0.000000000                   57.1
## 53    br. sud amont 01 2002-07-29          0.021343050                  148.0
## 54         Morrison 06 2002-07-29          0.004724409                  123.0
## 55 McConnell Six Rd 05 2002-07-29          0.100178891                  105.0
## 56          Pollard 10 2002-07-29          0.120411160                  162.0
## 57     Waugh sanct. 07 2002-07-29          0.016216216                  133.0
## 58          Dempsey 12 2002-07-29          0.082278481                  143.0
## 59             Malt 11 2002-07-29          0.056897477                   96.6
## 60          Suggary 02 2002-07-29          0.106404959                  110.0
## 61        Pok amont 04 2002-08-28          0.000000000                   60.3
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226                  115.0
## 63          Dempsey 12 2002-08-28          0.082278481                  144.0
## 64 Branche sud aval 03 2002-08-28          0.007827789                  121.0
## 65           Sewell 08 2002-08-28          0.102364865                  168.0
## 66          Pollard 10 2002-08-28          0.120411160                  164.0
## 67    br. sud amont 01 2002-08-28          0.021343050                  185.0
## 68         Morrison 06 2002-08-28          0.004724409                  125.0
## 69 McConnell Six Rd 05 2002-08-28          0.100178891                  111.0
## 70          Suggary 02 2002-08-28          0.106404959                  110.5
## 71     Waugh sanct. 07 2002-08-28          0.016216216                  135.0
## 72             Malt 11 2002-08-28          0.056897477                  101.0
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226                  120.0
## 74           Sewell 08 2002-10-02          0.102364865                  158.0
## 75        Pok amont 04 2002-10-02          0.000000000                   69.4
## 76     Waugh sanct. 07 2002-10-02          0.016216216                  148.0
## 77          Dempsey 12 2002-10-02          0.082278481                  145.0
## 78 Branche sud aval 03 2002-10-02          0.007827789                  126.0
## 79 McConnell Six Rd 05 2002-10-02          0.100178891                  108.0
## 80          Pollard 10 2002-10-02          0.120411160                  176.0
## 81    br. sud amont 01 2002-10-02          0.021343050                  194.0
## 82         Morrison 06 2002-10-02          0.004724409                  128.0
## 83             Malt 11 2002-10-02          0.056897477                  106.0
## 84          Suggary 02 2002-10-02          0.106404959                  114.0
## 85        Pok amont 04 2002-10-31          0.000000000                   70.9
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226                  122.0
## 87 Branche sud aval 03 2002-10-31          0.007827789                  126.0
## 88           Sewell 08 2002-10-31          0.102364865                  120.0
## 89          Suggary 02 2002-10-31          0.106404959                  118.0
## 90     Waugh sanct. 07 2002-10-31          0.016216216                  129.0
## 91          Dempsey 12 2002-10-31          0.082278481                  141.0
## 92         Morrison 06 2002-10-31          0.004724409                  130.0
## 93 McConnell Six Rd 05 2002-10-31          0.100178891                  103.0
## 94          Pollard 10 2002-10-31          0.120411160                  176.0
## 95    br. sud amont 01 2002-10-31          0.021343050                  175.5
## 96             Malt 11 2002-10-31          0.056897477                  107.0
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctF_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28          0.015616866                    109
## 98           Dempsey 12 2021-07-28          0.012073491                    139
## 99  Branche sud aval 03 2021-07-28          0.050993022                    119
## 100           Sewell 08 2021-07-28          0.140495868                    131
## 101     Waugh sanct. 07 2021-07-28          0.009266409                    128
## 102    br. sud amont 01 2021-07-28          0.088120740                    177
## 103         Morrison 06 2021-07-28          0.007294076                    122
## 104             Malt 11 2021-07-28          0.116554054                     90
## 105 McConnell Six Rd 05 2021-07-28          0.000000000                    115
## 106          Pollard 10 2021-07-28          0.026415094                    166
## 107        Pok amont 04 2021-07-28          0.098389982                     60
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590                    109
## 109             Malt 11 2021-08-31          0.026415094                     96
## 110          Suggary 02 2021-08-31          0.132158590                    116
## 111     Waugh sanct. 07 2021-08-31          0.015616866                    138
## 112          Dempsey 12 2021-08-31          0.012073491                    152
## 113 Branche sud aval 03 2021-08-31          0.050993022                    125
## 114           Sewell 08 2021-08-31          0.140495868                    161
## 115          Pollard 10 2021-08-31          0.009266409                    196
## 116    br. sud amont 01 2021-08-31          0.088120740                    199
## 117         Morrison 06 2021-08-31          0.007294076                    129
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054                    118
## 119 McConnell Six Rd 05 2021-08-31          0.000000000                    114
## 120        Pok amont 04 2021-08-31          0.098389982                     70
## 121          Suggary 02 2021-10-05          0.000000000                     98
## 122         Morrison 06 2021-10-05          0.026415094                    114
## 123             Malt 11 2021-10-05          0.098389982                     74
## 124           Sewell 08 2021-10-05          0.132158590                     72
## 125     Waugh sanct. 07 2021-10-05          0.015616866                     70
## 126          Dempsey 12 2021-10-05          0.012073491                     96
## 127 Branche sud aval 03 2021-10-05          0.050993022                     86
## 128 McConnell Six Rd 05 2021-10-05          0.140495868                     90
## 129          Pollard 10 2021-10-05          0.009266409                    128
## 130    br. sud amont 01 2021-10-05          0.088120740                     91
## 131        Pok amont 04 2021-10-05          0.007294076                     52
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054                     95
## 133             Malt 11 2021-10-28          0.116554054                     80
## 134          Suggary 02 2021-10-28          0.000000000                    100
## 135    br. sud amont 01 2021-10-28          0.026415094                    114
## 136         Morrison 06 2021-10-28          0.012073491                    118
## 137 Branche sud aval 03 2021-10-28          0.098389982                     97
## 138           Sewell 08 2021-10-28          0.132158590                     81
## 139     Waugh sanct. 07 2021-10-28          0.015616866                     88
## 140          Dempsey 12 2021-10-28          0.088120740                    113
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022                    102
## 142 McConnell Six Rd 05 2021-10-28          0.140495868                     97
## 143          Pollard 10 2021-10-28          0.009266409                    139
## 144        Pok amont 04 2021-10-28          0.007294076                     54
## 145          Pollard 10 2022-07-28          0.026415094                    163
## 146         Morrison 06 2022-07-28          0.007294076                    119
## 147             Malt 11 2022-07-28          0.116554054                     88
## 148          Suggary 02 2022-07-28          0.000000000                    107
## 149    br. sud amont 01 2022-07-28          0.015616866                    161
## 150          Dempsey 12 2022-07-28          0.012073491                    134
## 151 Branche sud aval 03 2022-07-28          0.098389982                    113
## 152           Sewell 08 2022-07-28          0.132158590                    113
## 153     Waugh sanct. 07 2022-07-28          0.009266409                    126
## 154        Pok amont 04 2022-07-28          0.088120740                     59
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022                    108
## 156 McConnell Six Rd 05 2022-07-28          0.140495868                    113
## 157 McConnell Six Rd 05 2022-09-01          0.000000000                    107
## 158          Pollard 10 2022-09-01          0.026415094                    178
## 159    br. sud amont 01 2022-09-01          0.088120740                    180
## 160         Morrison 06 2022-09-01          0.007294076                    117
## 161             Malt 11 2022-09-01          0.116554054                     88
## 162          Suggary 02 2022-09-01          0.132158590                    104
## 163     Waugh sanct. 07 2022-09-01          0.015616866                    114
## 164          Dempsey 12 2022-09-01          0.012073491                    137
## 165 Branche sud aval 03 2022-09-01          0.098389982                    117
## 166           Sewell 08 2022-09-01          0.140495868                    116
## 167        Pok amont 04 2022-09-01          0.009266409                     63
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022                    108
## 169           Sewell 08 2022-10-03          0.026415094                    114
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054                    113
## 171 McConnell Six Rd 05 2022-10-03          0.000000000                     94
## 172          Pollard 10 2022-10-03          0.009266409                    179
## 173    br. sud amont 01 2022-10-03          0.088120740                    182
## 174         Morrison 06 2022-10-03          0.007294076                    120
## 175             Malt 11 2022-10-03          0.098389982                     95
## 176          Suggary 02 2022-10-03          0.132158590                    107
## 177     Waugh sanct. 07 2022-10-03          0.015616866                    114
## 178          Dempsey 12 2022-10-03          0.012073491                    143
## 179 Branche sud aval 03 2022-10-03          0.050993022                    118
## 180        Pok amont 04 2022-10-03          0.140495868                     64
## 181 Branche sud aval 03 2022-11-01          0.000000000                    112
## 182           Sewell 08 2022-11-01          0.026415094                     92
## 183        Pok amont 04 2022-11-01          0.007294076                     69
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054                    112
## 185 McConnell Six Rd 05 2022-11-01          0.140495868                     92
## 186          Pollard 10 2022-11-01          0.009266409                    177
## 187    br. sud amont 01 2022-11-01          0.088120740                    144
## 188         Morrison 06 2022-11-01          0.012073491                    125
## 189             Malt 11 2022-11-01          0.098389982                     91
## 190          Suggary 02 2022-11-01          0.132158590                    108
## 191     Waugh sanct. 07 2022-11-01          0.015616866                     92
## 192          Dempsey 12 2022-11-01          0.050993022                    136
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_champs_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,pH_units))
##               Station2       Date pctF_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01          0.021343050    8.200
## 2          Morrison 06 2001-08-01          0.004724409    7.950
## 3              Malt 11 2001-08-01          0.056897477    7.860
## 4           Suggary 02 2001-08-01          0.106404959    8.020
## 5      Waugh sanct. 07 2001-08-01          0.016216216    7.970
## 6           Dempsey 12 2001-08-01          0.082278481    7.960
## 7  Branche sud aval 03 2001-08-01          0.007827789    8.030
## 8            Sewell 08 2001-08-01          0.102364865    8.020
## 9         Pok amont 04 2001-08-01          0.000000000    7.590
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226    8.010
## 11 McConnell Six Rd 05 2001-08-01          0.100178891    7.860
## 12          Pollard 10 2001-08-01          0.120411160    7.890
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226    7.910
## 14          Pollard 10 2001-08-28          0.120411160    7.860
## 15    br. sud amont 01 2001-08-28          0.021343050    7.980
## 16         Morrison 06 2001-08-28          0.004724409    7.940
## 17             Malt 11 2001-08-28          0.056897477    7.460
## 18          Suggary 02 2001-08-28          0.106404959    7.880
## 19     Waugh sanct. 07 2001-08-28          0.016216216    7.890
## 20          Dempsey 12 2001-08-28          0.082278481    7.760
## 21 Branche sud aval 03 2001-08-28          0.007827789    7.890
## 22           Sewell 08 2001-08-28          0.102364865    7.900
## 23        Pok amont 04 2001-08-28          0.000000000    7.490
## 24 McConnell Six Rd 05 2001-08-28          0.100178891    7.770
## 25        Pok amont 04 2001-09-26          0.000000000    7.640
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226    7.960
## 27 McConnell Six Rd 05 2001-09-26          0.100178891    7.870
## 28          Pollard 10 2001-09-26          0.120411160    7.850
## 29    br. sud amont 01 2001-09-26          0.021343050    8.050
## 30         Morrison 06 2001-09-26          0.004724409    8.020
## 31             Malt 11 2001-09-26          0.056897477    7.710
## 32          Suggary 02 2001-09-26          0.106404959    8.080
## 33     Waugh sanct. 07 2001-09-26          0.016216216    8.020
## 34          Dempsey 12 2001-09-26          0.082278481    7.950
## 35 Branche sud aval 03 2001-09-26          0.007827789    8.040
## 36           Sewell 08 2001-09-26          0.102364865    8.060
## 37           Sewell 08 2001-10-31          0.102364865    7.740
## 38        Pok amont 04 2001-10-31          0.000000000    7.420
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226    7.950
## 40         Morrison 06 2001-10-31          0.004724409    8.010
## 41 McConnell Six Rd 05 2001-10-31          0.100178891    7.500
## 42          Pollard 10 2001-10-31          0.120411160    7.870
## 43    br. sud amont 01 2001-10-31          0.021343050    7.960
## 44          Dempsey 12 2001-10-31          0.082278481    7.820
## 45             Malt 11 2001-10-31          0.056897477    7.530
## 46          Suggary 02 2001-10-31          0.106404959    7.650
## 47     Waugh sanct. 07 2001-10-31          0.016216216    7.410
## 48 Branche sud aval 03 2001-10-31          0.007827789    7.890
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226    7.840
## 50 Branche sud aval 03 2002-07-29          0.007827789    7.870
## 51           Sewell 08 2002-07-29          0.102364865    7.840
## 52        Pok amont 04 2002-07-29          0.000000000    7.180
## 53    br. sud amont 01 2002-07-29          0.021343050    7.840
## 54         Morrison 06 2002-07-29          0.004724409    7.920
## 55 McConnell Six Rd 05 2002-07-29          0.100178891    7.580
## 56          Pollard 10 2002-07-29          0.120411160    7.730
## 57     Waugh sanct. 07 2002-07-29          0.016216216    7.700
## 58          Dempsey 12 2002-07-29          0.082278481    7.755
## 59             Malt 11 2002-07-29          0.056897477    7.420
## 60          Suggary 02 2002-07-29          0.106404959    7.740
## 61        Pok amont 04 2002-08-28          0.000000000    7.250
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226    7.800
## 63          Dempsey 12 2002-08-28          0.082278481    7.690
## 64 Branche sud aval 03 2002-08-28          0.007827789    7.850
## 65           Sewell 08 2002-08-28          0.102364865    7.920
## 66          Pollard 10 2002-08-28          0.120411160    7.730
## 67    br. sud amont 01 2002-08-28          0.021343050    8.070
## 68         Morrison 06 2002-08-28          0.004724409    7.900
## 69 McConnell Six Rd 05 2002-08-28          0.100178891    7.790
## 70          Suggary 02 2002-08-28          0.106404959    7.815
## 71     Waugh sanct. 07 2002-08-28          0.016216216    7.750
## 72             Malt 11 2002-08-28          0.056897477    7.380
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226    7.830
## 74           Sewell 08 2002-10-02          0.102364865    7.820
## 75        Pok amont 04 2002-10-02          0.000000000    7.270
## 76     Waugh sanct. 07 2002-10-02          0.016216216    7.760
## 77          Dempsey 12 2002-10-02          0.082278481    7.640
## 78 Branche sud aval 03 2002-10-02          0.007827789    7.820
## 79 McConnell Six Rd 05 2002-10-02          0.100178891    7.650
## 80          Pollard 10 2002-10-02          0.120411160    7.720
## 81    br. sud amont 01 2002-10-02          0.021343050    7.970
## 82         Morrison 06 2002-10-02          0.004724409    7.890
## 83             Malt 11 2002-10-02          0.056897477    7.380
## 84          Suggary 02 2002-10-02          0.106404959    7.830
## 85        Pok amont 04 2002-10-31          0.000000000    7.360
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226    7.820
## 87 Branche sud aval 03 2002-10-31          0.007827789      NaN
## 88           Sewell 08 2002-10-31          0.102364865    7.550
## 89          Suggary 02 2002-10-31          0.106404959    7.770
## 90     Waugh sanct. 07 2002-10-31          0.016216216    7.580
## 91          Dempsey 12 2002-10-31          0.082278481    7.690
## 92         Morrison 06 2002-10-31          0.004724409    7.870
## 93 McConnell Six Rd 05 2002-10-31          0.100178891    7.440
## 94          Pollard 10 2002-10-31          0.120411160    7.780
## 95    br. sud amont 01 2002-10-31          0.021343050    7.865
## 96             Malt 11 2002-10-31          0.056897477    7.560
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,pH_units))
##                Station2       Date pctF_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28          0.015616866      7.5
## 98           Dempsey 12 2021-07-28          0.012073491      7.6
## 99  Branche sud aval 03 2021-07-28          0.050993022      7.6
## 100           Sewell 08 2021-07-28          0.140495868      7.7
## 101     Waugh sanct. 07 2021-07-28          0.009266409      7.6
## 102    br. sud amont 01 2021-07-28          0.088120740      7.6
## 103         Morrison 06 2021-07-28          0.007294076      7.4
## 104             Malt 11 2021-07-28          0.116554054      7.2
## 105 McConnell Six Rd 05 2021-07-28          0.000000000      7.6
## 106          Pollard 10 2021-07-28          0.026415094      7.6
## 107        Pok amont 04 2021-07-28          0.098389982      6.8
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590      7.6
## 109             Malt 11 2021-08-31          0.026415094      7.3
## 110          Suggary 02 2021-08-31          0.132158590      7.6
## 111     Waugh sanct. 07 2021-08-31          0.015616866      7.8
## 112          Dempsey 12 2021-08-31          0.012073491      7.6
## 113 Branche sud aval 03 2021-08-31          0.050993022      7.8
## 114           Sewell 08 2021-08-31          0.140495868      7.8
## 115          Pollard 10 2021-08-31          0.009266409      7.8
## 116    br. sud amont 01 2021-08-31          0.088120740      7.5
## 117         Morrison 06 2021-08-31          0.007294076      7.8
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054      7.8
## 119 McConnell Six Rd 05 2021-08-31          0.000000000      7.7
## 120        Pok amont 04 2021-08-31          0.098389982      7.1
## 121          Suggary 02 2021-10-05          0.000000000      7.6
## 122         Morrison 06 2021-10-05          0.026415094      7.1
## 123             Malt 11 2021-10-05          0.098389982      7.1
## 124           Sewell 08 2021-10-05          0.132158590      7.5
## 125     Waugh sanct. 07 2021-10-05          0.015616866      7.2
## 126          Dempsey 12 2021-10-05          0.012073491      7.3
## 127 Branche sud aval 03 2021-10-05          0.050993022      7.6
## 128 McConnell Six Rd 05 2021-10-05          0.140495868      7.4
## 129          Pollard 10 2021-10-05          0.009266409      7.5
## 130    br. sud amont 01 2021-10-05          0.088120740      7.2
## 131        Pok amont 04 2021-10-05          0.007294076      6.8
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054      7.2
## 133             Malt 11 2021-10-28          0.116554054      7.0
## 134          Suggary 02 2021-10-28          0.000000000      7.6
## 135    br. sud amont 01 2021-10-28          0.026415094      7.5
## 136         Morrison 06 2021-10-28          0.012073491      7.6
## 137 Branche sud aval 03 2021-10-28          0.098389982      7.6
## 138           Sewell 08 2021-10-28          0.132158590      7.5
## 139     Waugh sanct. 07 2021-10-28          0.015616866      7.5
## 140          Dempsey 12 2021-10-28          0.088120740      7.6
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022      7.5
## 142 McConnell Six Rd 05 2021-10-28          0.140495868      7.5
## 143          Pollard 10 2021-10-28          0.009266409      7.7
## 144        Pok amont 04 2021-10-28          0.007294076      7.5
## 145          Pollard 10 2022-07-28          0.026415094      7.7
## 146         Morrison 06 2022-07-28          0.007294076      7.8
## 147             Malt 11 2022-07-28          0.116554054      7.6
## 148          Suggary 02 2022-07-28          0.000000000      7.7
## 149    br. sud amont 01 2022-07-28          0.015616866      7.9
## 150          Dempsey 12 2022-07-28          0.012073491      7.8
## 151 Branche sud aval 03 2022-07-28          0.098389982      7.8
## 152           Sewell 08 2022-07-28          0.132158590      7.7
## 153     Waugh sanct. 07 2022-07-28          0.009266409      7.8
## 154        Pok amont 04 2022-07-28          0.088120740      7.5
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022      7.8
## 156 McConnell Six Rd 05 2022-07-28          0.140495868      7.7
## 157 McConnell Six Rd 05 2022-09-01          0.000000000      7.8
## 158          Pollard 10 2022-09-01          0.026415094      7.8
## 159    br. sud amont 01 2022-09-01          0.088120740      8.0
## 160         Morrison 06 2022-09-01          0.007294076      8.0
## 161             Malt 11 2022-09-01          0.116554054      7.7
## 162          Suggary 02 2022-09-01          0.132158590      7.8
## 163     Waugh sanct. 07 2022-09-01          0.015616866      7.9
## 164          Dempsey 12 2022-09-01          0.012073491      7.9
## 165 Branche sud aval 03 2022-09-01          0.098389982      7.9
## 166           Sewell 08 2022-09-01          0.140495868      7.9
## 167        Pok amont 04 2022-09-01          0.009266409      7.2
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022      7.8
## 169           Sewell 08 2022-10-03          0.026415094      7.7
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054      7.8
## 171 McConnell Six Rd 05 2022-10-03          0.000000000      7.5
## 172          Pollard 10 2022-10-03          0.009266409      7.8
## 173    br. sud amont 01 2022-10-03          0.088120740      7.9
## 174         Morrison 06 2022-10-03          0.007294076      7.9
## 175             Malt 11 2022-10-03          0.098389982      7.5
## 176          Suggary 02 2022-10-03          0.132158590      7.7
## 177     Waugh sanct. 07 2022-10-03          0.015616866      7.6
## 178          Dempsey 12 2022-10-03          0.012073491      7.7
## 179 Branche sud aval 03 2022-10-03          0.050993022      7.8
## 180        Pok amont 04 2022-10-03          0.140495868      7.1
## 181 Branche sud aval 03 2022-11-01          0.000000000      7.6
## 182           Sewell 08 2022-11-01          0.026415094      7.5
## 183        Pok amont 04 2022-11-01          0.007294076      7.0
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054      7.5
## 185 McConnell Six Rd 05 2022-11-01          0.140495868      7.3
## 186          Pollard 10 2022-11-01          0.009266409      7.6
## 187    br. sud amont 01 2022-11-01          0.088120740      7.5
## 188         Morrison 06 2022-11-01          0.012073491      7.8
## 189             Malt 11 2022-11-01          0.098389982      7.0
## 190          Suggary 02 2022-11-01          0.132158590      7.5
## 191     Waugh sanct. 07 2022-11-01          0.015616866      7.2
## 192          Dempsey 12 2022-11-01          0.050993022      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_champs_vs_Turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctF_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01          0.021343050         6.400
## 2          Morrison 06 2001-08-01          0.004724409         0.600
## 3              Malt 11 2001-08-01          0.056897477         1.600
## 4           Suggary 02 2001-08-01          0.106404959         0.700
## 5      Waugh sanct. 07 2001-08-01          0.016216216         1.200
## 6           Dempsey 12 2001-08-01          0.082278481         1.300
## 7  Branche sud aval 03 2001-08-01          0.007827789         0.500
## 8            Sewell 08 2001-08-01          0.102364865         1.500
## 9         Pok amont 04 2001-08-01          0.000000000         0.000
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226         0.700
## 11 McConnell Six Rd 05 2001-08-01          0.100178891         0.100
## 12          Pollard 10 2001-08-01          0.120411160         0.500
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226         1.200
## 14          Pollard 10 2001-08-28          0.120411160         0.800
## 15    br. sud amont 01 2001-08-28          0.021343050         6.100
## 16         Morrison 06 2001-08-28          0.004724409         0.700
## 17             Malt 11 2001-08-28          0.056897477         0.500
## 18          Suggary 02 2001-08-28          0.106404959         3.500
## 19     Waugh sanct. 07 2001-08-28          0.016216216         1.000
## 20          Dempsey 12 2001-08-28          0.082278481         1.700
## 21 Branche sud aval 03 2001-08-28          0.007827789         0.900
## 22           Sewell 08 2001-08-28          0.102364865         6.500
## 23        Pok amont 04 2001-08-28          0.000000000         0.000
## 24 McConnell Six Rd 05 2001-08-28          0.100178891         1.000
## 25        Pok amont 04 2001-09-26          0.000000000         0.800
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226         9.500
## 27 McConnell Six Rd 05 2001-09-26          0.100178891         1.200
## 28          Pollard 10 2001-09-26          0.120411160         1.150
## 29    br. sud amont 01 2001-09-26          0.021343050        44.800
## 30         Morrison 06 2001-09-26          0.004724409         0.900
## 31             Malt 11 2001-09-26          0.056897477         7.800
## 32          Suggary 02 2001-09-26          0.106404959         1.700
## 33     Waugh sanct. 07 2001-09-26          0.016216216         1.200
## 34          Dempsey 12 2001-09-26          0.082278481         1.500
## 35 Branche sud aval 03 2001-09-26          0.007827789         2.400
## 36           Sewell 08 2001-09-26          0.102364865         3.000
## 37           Sewell 08 2001-10-31          0.102364865         5.500
## 38        Pok amont 04 2001-10-31          0.000000000         0.200
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226         1.000
## 40         Morrison 06 2001-10-31          0.004724409         0.500
## 41 McConnell Six Rd 05 2001-10-31          0.100178891         1.400
## 42          Pollard 10 2001-10-31          0.120411160         0.600
## 43    br. sud amont 01 2001-10-31          0.021343050         1.100
## 44          Dempsey 12 2001-10-31          0.082278481         1.700
## 45             Malt 11 2001-10-31          0.056897477         0.800
## 46          Suggary 02 2001-10-31          0.106404959         2.050
## 47     Waugh sanct. 07 2001-10-31          0.016216216         1.200
## 48 Branche sud aval 03 2001-10-31          0.007827789         0.800
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226         0.780
## 50 Branche sud aval 03 2002-07-29          0.007827789         1.170
## 51           Sewell 08 2002-07-29          0.102364865         4.960
## 52        Pok amont 04 2002-07-29          0.000000000         0.190
## 53    br. sud amont 01 2002-07-29          0.021343050         0.900
## 54         Morrison 06 2002-07-29          0.004724409         0.690
## 55 McConnell Six Rd 05 2002-07-29          0.100178891         1.520
## 56          Pollard 10 2002-07-29          0.120411160         1.630
## 57     Waugh sanct. 07 2002-07-29          0.016216216         1.110
## 58          Dempsey 12 2002-07-29          0.082278481         1.970
## 59             Malt 11 2002-07-29          0.056897477         0.400
## 60          Suggary 02 2002-07-29          0.106404959         0.430
## 61        Pok amont 04 2002-08-28          0.000000000         0.390
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226         1.320
## 63          Dempsey 12 2002-08-28          0.082278481         4.440
## 64 Branche sud aval 03 2002-08-28          0.007827789         1.150
## 65           Sewell 08 2002-08-28          0.102364865         2.960
## 66          Pollard 10 2002-08-28          0.120411160         0.950
## 67    br. sud amont 01 2002-08-28          0.021343050         0.570
## 68         Morrison 06 2002-08-28          0.004724409         0.940
## 69 McConnell Six Rd 05 2002-08-28          0.100178891         1.340
## 70          Suggary 02 2002-08-28          0.106404959         0.820
## 71     Waugh sanct. 07 2002-08-28          0.016216216         1.510
## 72             Malt 11 2002-08-28          0.056897477         0.480
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226         0.940
## 74           Sewell 08 2002-10-02          0.102364865         5.255
## 75        Pok amont 04 2002-10-02          0.000000000         0.280
## 76     Waugh sanct. 07 2002-10-02          0.016216216         1.280
## 77          Dempsey 12 2002-10-02          0.082278481         3.770
## 78 Branche sud aval 03 2002-10-02          0.007827789         1.070
## 79 McConnell Six Rd 05 2002-10-02          0.100178891         2.110
## 80          Pollard 10 2002-10-02          0.120411160         0.690
## 81    br. sud amont 01 2002-10-02          0.021343050         0.740
## 82         Morrison 06 2002-10-02          0.004724409         0.770
## 83             Malt 11 2002-10-02          0.056897477         0.600
## 84          Suggary 02 2002-10-02          0.106404959         0.480
## 85        Pok amont 04 2002-10-31          0.000000000         0.580
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226         0.870
## 87 Branche sud aval 03 2002-10-31          0.007827789           NaN
## 88           Sewell 08 2002-10-31          0.102364865         8.740
## 89          Suggary 02 2002-10-31          0.106404959         0.410
## 90     Waugh sanct. 07 2002-10-31          0.016216216         1.440
## 91          Dempsey 12 2002-10-31          0.082278481         2.880
## 92         Morrison 06 2002-10-31          0.004724409         0.620
## 93 McConnell Six Rd 05 2002-10-31          0.100178891         1.500
## 94          Pollard 10 2002-10-31          0.120411160         1.060
## 95    br. sud amont 01 2002-10-31          0.021343050         1.220
## 96             Malt 11 2002-10-31          0.056897477         0.900
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctF_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28          0.015616866           1.2
## 98           Dempsey 12 2021-07-28          0.012073491           1.6
## 99  Branche sud aval 03 2021-07-28          0.050993022           1.8
## 100           Sewell 08 2021-07-28          0.140495868           3.5
## 101     Waugh sanct. 07 2021-07-28          0.009266409           1.1
## 102    br. sud amont 01 2021-07-28          0.088120740           2.3
## 103         Morrison 06 2021-07-28          0.007294076           1.4
## 104             Malt 11 2021-07-28          0.116554054           0.7
## 105 McConnell Six Rd 05 2021-07-28          0.000000000           1.9
## 106          Pollard 10 2021-07-28          0.026415094           1.2
## 107        Pok amont 04 2021-07-28          0.098389982           0.9
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590           1.7
## 109             Malt 11 2021-08-31          0.026415094           0.5
## 110          Suggary 02 2021-08-31          0.132158590           0.7
## 111     Waugh sanct. 07 2021-08-31          0.015616866           1.1
## 112          Dempsey 12 2021-08-31          0.012073491           1.7
## 113 Branche sud aval 03 2021-08-31          0.050993022           1.7
## 114           Sewell 08 2021-08-31          0.140495868           3.0
## 115          Pollard 10 2021-08-31          0.009266409           1.7
## 116    br. sud amont 01 2021-08-31          0.088120740           5.6
## 117         Morrison 06 2021-08-31          0.007294076           2.6
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054           2.0
## 119 McConnell Six Rd 05 2021-08-31          0.000000000           3.2
## 120        Pok amont 04 2021-08-31          0.098389982           1.5
## 121          Suggary 02 2021-10-05          0.000000000           0.7
## 122         Morrison 06 2021-10-05          0.026415094           1.4
## 123             Malt 11 2021-10-05          0.098389982           0.9
## 124           Sewell 08 2021-10-05          0.132158590           4.2
## 125     Waugh sanct. 07 2021-10-05          0.015616866           1.2
## 126          Dempsey 12 2021-10-05          0.012073491           1.8
## 127 Branche sud aval 03 2021-10-05          0.050993022           1.7
## 128 McConnell Six Rd 05 2021-10-05          0.140495868           1.8
## 129          Pollard 10 2021-10-05          0.009266409           1.8
## 130    br. sud amont 01 2021-10-05          0.088120740           3.7
## 131        Pok amont 04 2021-10-05          0.007294076           1.0
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054           1.4
## 133             Malt 11 2021-10-28          0.116554054           0.5
## 134          Suggary 02 2021-10-28          0.000000000           0.2
## 135    br. sud amont 01 2021-10-28          0.026415094           1.9
## 136         Morrison 06 2021-10-28          0.012073491           0.6
## 137 Branche sud aval 03 2021-10-28          0.098389982           1.3
## 138           Sewell 08 2021-10-28          0.132158590           2.8
## 139     Waugh sanct. 07 2021-10-28          0.015616866           1.0
## 140          Dempsey 12 2021-10-28          0.088120740           1.3
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022           0.7
## 142 McConnell Six Rd 05 2021-10-28          0.140495868           1.4
## 143          Pollard 10 2021-10-28          0.009266409           0.8
## 144        Pok amont 04 2021-10-28          0.007294076           0.6
## 145          Pollard 10 2022-07-28          0.026415094           0.4
## 146         Morrison 06 2022-07-28          0.007294076           0.7
## 147             Malt 11 2022-07-28          0.116554054           0.4
## 148          Suggary 02 2022-07-28          0.000000000           0.5
## 149    br. sud amont 01 2022-07-28          0.015616866           2.7
## 150          Dempsey 12 2022-07-28          0.012073491           1.2
## 151 Branche sud aval 03 2022-07-28          0.098389982           2.1
## 152           Sewell 08 2022-07-28          0.132158590           1.8
## 153     Waugh sanct. 07 2022-07-28          0.009266409           1.0
## 154        Pok amont 04 2022-07-28          0.088120740           0.7
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022           0.7
## 156 McConnell Six Rd 05 2022-07-28          0.140495868           0.8
## 157 McConnell Six Rd 05 2022-09-01          0.000000000           1.9
## 158          Pollard 10 2022-09-01          0.026415094           1.3
## 159    br. sud amont 01 2022-09-01          0.088120740           3.0
## 160         Morrison 06 2022-09-01          0.007294076           2.4
## 161             Malt 11 2022-09-01          0.116554054           0.5
## 162          Suggary 02 2022-09-01          0.132158590           0.7
## 163     Waugh sanct. 07 2022-09-01          0.015616866           1.8
## 164          Dempsey 12 2022-09-01          0.012073491           2.2
## 165 Branche sud aval 03 2022-09-01          0.098389982           1.9
## 166           Sewell 08 2022-09-01          0.140495868           2.6
## 167        Pok amont 04 2022-09-01          0.009266409           1.5
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022           1.4
## 169           Sewell 08 2022-10-03          0.026415094           3.6
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054           1.2
## 171 McConnell Six Rd 05 2022-10-03          0.000000000           1.9
## 172          Pollard 10 2022-10-03          0.009266409           0.4
## 173    br. sud amont 01 2022-10-03          0.088120740           2.8
## 174         Morrison 06 2022-10-03          0.007294076           1.0
## 175             Malt 11 2022-10-03          0.098389982           0.4
## 176          Suggary 02 2022-10-03          0.132158590           0.3
## 177     Waugh sanct. 07 2022-10-03          0.015616866           1.3
## 178          Dempsey 12 2022-10-03          0.012073491           1.3
## 179 Branche sud aval 03 2022-10-03          0.050993022           1.6
## 180        Pok amont 04 2022-10-03          0.140495868           1.5
## 181 Branche sud aval 03 2022-11-01          0.000000000           2.6
## 182           Sewell 08 2022-11-01          0.026415094           5.4
## 183        Pok amont 04 2022-11-01          0.007294076           0.8
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054           2.6
## 185 McConnell Six Rd 05 2022-11-01          0.140495868           2.0
## 186          Pollard 10 2022-11-01          0.009266409           0.7
## 187    br. sud amont 01 2022-11-01          0.088120740           4.8
## 188         Morrison 06 2022-11-01          0.012073491           2.8
## 189             Malt 11 2022-11-01          0.098389982           1.5
## 190          Suggary 02 2022-11-01          0.132158590           0.7
## 191     Waugh sanct. 07 2022-11-01          0.015616866           1.6
## 192          Dempsey 12 2022-11-01          0.050993022           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_champs_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Colour_TCU))
##               Station2       Date pctF_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01          0.021343050        5.0
## 2          Morrison 06 2001-08-01          0.004724409       10.0
## 3              Malt 11 2001-08-01          0.056897477       10.0
## 4           Suggary 02 2001-08-01          0.106404959        5.0
## 5      Waugh sanct. 07 2001-08-01          0.016216216       20.0
## 6           Dempsey 12 2001-08-01          0.082278481       15.0
## 7  Branche sud aval 03 2001-08-01          0.007827789        5.0
## 8            Sewell 08 2001-08-01          0.102364865        5.0
## 9         Pok amont 04 2001-08-01          0.000000000        0.0
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226        0.0
## 11 McConnell Six Rd 05 2001-08-01          0.100178891        5.0
## 12          Pollard 10 2001-08-01          0.120411160        5.0
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226        5.0
## 14          Pollard 10 2001-08-28          0.120411160        5.0
## 15    br. sud amont 01 2001-08-28          0.021343050        5.0
## 16         Morrison 06 2001-08-28          0.004724409        5.0
## 17             Malt 11 2001-08-28          0.056897477        5.0
## 18          Suggary 02 2001-08-28          0.106404959       10.0
## 19     Waugh sanct. 07 2001-08-28          0.016216216       10.0
## 20          Dempsey 12 2001-08-28          0.082278481       15.0
## 21 Branche sud aval 03 2001-08-28          0.007827789        5.0
## 22           Sewell 08 2001-08-28          0.102364865       30.0
## 23        Pok amont 04 2001-08-28          0.000000000        5.0
## 24 McConnell Six Rd 05 2001-08-28          0.100178891        5.0
## 25        Pok amont 04 2001-09-26          0.000000000       10.0
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226       30.0
## 27 McConnell Six Rd 05 2001-09-26          0.100178891       15.0
## 28          Pollard 10 2001-09-26          0.120411160       20.0
## 29    br. sud amont 01 2001-09-26          0.021343050      200.0
## 30         Morrison 06 2001-09-26          0.004724409        5.0
## 31             Malt 11 2001-09-26          0.056897477       20.0
## 32          Suggary 02 2001-09-26          0.106404959        5.0
## 33     Waugh sanct. 07 2001-09-26          0.016216216       10.0
## 34          Dempsey 12 2001-09-26          0.082278481       20.0
## 35 Branche sud aval 03 2001-09-26          0.007827789       10.0
## 36           Sewell 08 2001-09-26          0.102364865       30.0
## 37           Sewell 08 2001-10-31          0.102364865       80.0
## 38        Pok amont 04 2001-10-31          0.000000000        5.0
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226       20.0
## 40         Morrison 06 2001-10-31          0.004724409       15.0
## 41 McConnell Six Rd 05 2001-10-31          0.100178891      120.0
## 42          Pollard 10 2001-10-31          0.120411160       10.0
## 43    br. sud amont 01 2001-10-31          0.021343050       30.0
## 44          Dempsey 12 2001-10-31          0.082278481       30.0
## 45             Malt 11 2001-10-31          0.056897477       10.0
## 46          Suggary 02 2001-10-31          0.106404959       30.0
## 47     Waugh sanct. 07 2001-10-31          0.016216216      100.0
## 48 Branche sud aval 03 2001-10-31          0.007827789       20.0
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226       10.0
## 50 Branche sud aval 03 2002-07-29          0.007827789       15.0
## 51           Sewell 08 2002-07-29          0.102364865       40.0
## 52        Pok amont 04 2002-07-29          0.000000000        5.0
## 53    br. sud amont 01 2002-07-29          0.021343050       15.0
## 54         Morrison 06 2002-07-29          0.004724409       10.0
## 55 McConnell Six Rd 05 2002-07-29          0.100178891       80.0
## 56          Pollard 10 2002-07-29          0.120411160       10.0
## 57     Waugh sanct. 07 2002-07-29          0.016216216       40.0
## 58          Dempsey 12 2002-07-29          0.082278481       20.0
## 59             Malt 11 2002-07-29          0.056897477        5.0
## 60          Suggary 02 2002-07-29          0.106404959        5.0
## 61        Pok amont 04 2002-08-28          0.000000000        5.0
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226       20.0
## 63          Dempsey 12 2002-08-28          0.082278481       40.0
## 64 Branche sud aval 03 2002-08-28          0.007827789       15.0
## 65           Sewell 08 2002-08-28          0.102364865       40.0
## 66          Pollard 10 2002-08-28          0.120411160       10.0
## 67    br. sud amont 01 2002-08-28          0.021343050       10.0
## 68         Morrison 06 2002-08-28          0.004724409       10.0
## 69 McConnell Six Rd 05 2002-08-28          0.100178891       20.0
## 70          Suggary 02 2002-08-28          0.106404959        7.5
## 71     Waugh sanct. 07 2002-08-28          0.016216216       30.0
## 72             Malt 11 2002-08-28          0.056897477       10.0
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226        5.0
## 74           Sewell 08 2002-10-02          0.102364865       60.0
## 75        Pok amont 04 2002-10-02          0.000000000        5.0
## 76     Waugh sanct. 07 2002-10-02          0.016216216       20.0
## 77          Dempsey 12 2002-10-02          0.082278481       20.0
## 78 Branche sud aval 03 2002-10-02          0.007827789       15.0
## 79 McConnell Six Rd 05 2002-10-02          0.100178891       60.0
## 80          Pollard 10 2002-10-02          0.120411160       10.0
## 81    br. sud amont 01 2002-10-02          0.021343050       10.0
## 82         Morrison 06 2002-10-02          0.004724409       10.0
## 83             Malt 11 2002-10-02          0.056897477        5.0
## 84          Suggary 02 2002-10-02          0.106404959        5.0
## 85        Pok amont 04 2002-10-31          0.000000000        5.0
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226       20.0
## 87 Branche sud aval 03 2002-10-31          0.007827789        NaN
## 88           Sewell 08 2002-10-31          0.102364865       60.0
## 89          Suggary 02 2002-10-31          0.106404959        5.0
## 90     Waugh sanct. 07 2002-10-31          0.016216216       60.0
## 91          Dempsey 12 2002-10-31          0.082278481       30.0
## 92         Morrison 06 2002-10-31          0.004724409        5.0
## 93 McConnell Six Rd 05 2002-10-31          0.100178891       75.0
## 94          Pollard 10 2002-10-31          0.120411160        5.0
## 95    br. sud amont 01 2002-10-31          0.021343050       30.0
## 96             Malt 11 2002-10-31          0.056897477       15.0
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Colour_TCU))
##                Station2       Date pctF_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28          0.015616866          8
## 98           Dempsey 12 2021-07-28          0.012073491         22
## 99  Branche sud aval 03 2021-07-28          0.050993022         19
## 100           Sewell 08 2021-07-28          0.140495868         34
## 101     Waugh sanct. 07 2021-07-28          0.009266409         27
## 102    br. sud amont 01 2021-07-28          0.088120740         15
## 103         Morrison 06 2021-07-28          0.007294076         14
## 104             Malt 11 2021-07-28          0.116554054          7
## 105 McConnell Six Rd 05 2021-07-28          0.000000000         29
## 106          Pollard 10 2021-07-28          0.026415094          8
## 107        Pok amont 04 2021-07-28          0.098389982         11
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590          9
## 109             Malt 11 2021-08-31          0.026415094          5
## 110          Suggary 02 2021-08-31          0.132158590          5
## 111     Waugh sanct. 07 2021-08-31          0.015616866         14
## 112          Dempsey 12 2021-08-31          0.012073491         14
## 113 Branche sud aval 03 2021-08-31          0.050993022         20
## 114           Sewell 08 2021-08-31          0.140495868         24
## 115          Pollard 10 2021-08-31          0.009266409          8
## 116    br. sud amont 01 2021-08-31          0.088120740         12
## 117         Morrison 06 2021-08-31          0.007294076         18
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054          8
## 119 McConnell Six Rd 05 2021-08-31          0.000000000         37
## 120        Pok amont 04 2021-08-31          0.098389982         10
## 121          Suggary 02 2021-10-05          0.000000000          8
## 122         Morrison 06 2021-10-05          0.026415094         22
## 123             Malt 11 2021-10-05          0.098389982         66
## 124           Sewell 08 2021-10-05          0.132158590         47
## 125     Waugh sanct. 07 2021-10-05          0.015616866        190
## 126          Dempsey 12 2021-10-05          0.012073491         55
## 127 Branche sud aval 03 2021-10-05          0.050993022         38
## 128 McConnell Six Rd 05 2021-10-05          0.140495868        141
## 129          Pollard 10 2021-10-05          0.009266409         19
## 130    br. sud amont 01 2021-10-05          0.088120740         44
## 131        Pok amont 04 2021-10-05          0.007294076         21
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054         33
## 133             Malt 11 2021-10-28          0.116554054         47
## 134          Suggary 02 2021-10-28          0.000000000          5
## 135    br. sud amont 01 2021-10-28          0.026415094         32
## 136         Morrison 06 2021-10-28          0.012073491         13
## 137 Branche sud aval 03 2021-10-28          0.098389982         22
## 138           Sewell 08 2021-10-28          0.132158590         43
## 139     Waugh sanct. 07 2021-10-28          0.015616866        130
## 140          Dempsey 12 2021-10-28          0.088120740         33
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022         15
## 142 McConnell Six Rd 05 2021-10-28          0.140495868        107
## 143          Pollard 10 2021-10-28          0.009266409         12
## 144        Pok amont 04 2021-10-28          0.007294076         13
## 145          Pollard 10 2022-07-28          0.026415094          5
## 146         Morrison 06 2022-07-28          0.007294076          7
## 147             Malt 11 2022-07-28          0.116554054          6
## 148          Suggary 02 2022-07-28          0.000000000          5
## 149    br. sud amont 01 2022-07-28          0.015616866         26
## 150          Dempsey 12 2022-07-28          0.012073491         16
## 151 Branche sud aval 03 2022-07-28          0.098389982         18
## 152           Sewell 08 2022-07-28          0.132158590         33
## 153     Waugh sanct. 07 2022-07-28          0.009266409         27
## 154        Pok amont 04 2022-07-28          0.088120740          7
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022          5
## 156 McConnell Six Rd 05 2022-07-28          0.140495868         15
## 157 McConnell Six Rd 05 2022-09-01          0.000000000         48
## 158          Pollard 10 2022-09-01          0.026415094         23
## 159    br. sud amont 01 2022-09-01          0.088120740         23
## 160         Morrison 06 2022-09-01          0.007294076         15
## 161             Malt 11 2022-09-01          0.116554054         10
## 162          Suggary 02 2022-09-01          0.132158590          8
## 163     Waugh sanct. 07 2022-09-01          0.015616866         61
## 164          Dempsey 12 2022-09-01          0.012073491         21
## 165 Branche sud aval 03 2022-09-01          0.098389982         21
## 166           Sewell 08 2022-09-01          0.140495868         43
## 167        Pok amont 04 2022-09-01          0.009266409         14
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022         41
## 169           Sewell 08 2022-10-03          0.026415094         71
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054          8
## 171 McConnell Six Rd 05 2022-10-03          0.000000000        130
## 172          Pollard 10 2022-10-03          0.009266409         10
## 173    br. sud amont 01 2022-10-03          0.088120740         20
## 174         Morrison 06 2022-10-03          0.007294076         10
## 175             Malt 11 2022-10-03          0.098389982          5
## 176          Suggary 02 2022-10-03          0.132158590          5
## 177     Waugh sanct. 07 2022-10-03          0.015616866         53
## 178          Dempsey 12 2022-10-03          0.012073491         16
## 179 Branche sud aval 03 2022-10-03          0.050993022         17
## 180        Pok amont 04 2022-10-03          0.140495868         12
## 181 Branche sud aval 03 2022-11-01          0.000000000         25
## 182           Sewell 08 2022-11-01          0.026415094         60
## 183        Pok amont 04 2022-11-01          0.007294076         11
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054         21
## 185 McConnell Six Rd 05 2022-11-01          0.140495868        148
## 186          Pollard 10 2022-11-01          0.009266409         11
## 187    br. sud amont 01 2022-11-01          0.088120740         42
## 188         Morrison 06 2022-11-01          0.012073491         13
## 189             Malt 11 2022-11-01          0.098389982         22
## 190          Suggary 02 2022-11-01          0.132158590          9
## 191     Waugh sanct. 07 2022-11-01          0.015616866        143
## 192          Dempsey 12 2022-11-01          0.050993022         28
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_champs_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctF_supdrainee_1990
## 1     br. sud amont 01 2001-08-01          0.021343050
## 2          Morrison 06 2001-08-01          0.004724409
## 3              Malt 11 2001-08-01          0.056897477
## 4           Suggary 02 2001-08-01          0.106404959
## 5      Waugh sanct. 07 2001-08-01          0.016216216
## 6           Dempsey 12 2001-08-01          0.082278481
## 7  Branche sud aval 03 2001-08-01          0.007827789
## 8            Sewell 08 2001-08-01          0.102364865
## 9         Pok amont 04 2001-08-01          0.000000000
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226
## 11 McConnell Six Rd 05 2001-08-01          0.100178891
## 12          Pollard 10 2001-08-01          0.120411160
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226
## 14          Pollard 10 2001-08-28          0.120411160
## 15    br. sud amont 01 2001-08-28          0.021343050
## 16         Morrison 06 2001-08-28          0.004724409
## 17             Malt 11 2001-08-28          0.056897477
## 18          Suggary 02 2001-08-28          0.106404959
## 19     Waugh sanct. 07 2001-08-28          0.016216216
## 20          Dempsey 12 2001-08-28          0.082278481
## 21 Branche sud aval 03 2001-08-28          0.007827789
## 22           Sewell 08 2001-08-28          0.102364865
## 23        Pok amont 04 2001-08-28          0.000000000
## 24 McConnell Six Rd 05 2001-08-28          0.100178891
## 25        Pok amont 04 2001-09-26          0.000000000
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226
## 27 McConnell Six Rd 05 2001-09-26          0.100178891
## 28          Pollard 10 2001-09-26          0.120411160
## 29    br. sud amont 01 2001-09-26          0.021343050
## 30         Morrison 06 2001-09-26          0.004724409
## 31             Malt 11 2001-09-26          0.056897477
## 32          Suggary 02 2001-09-26          0.106404959
## 33     Waugh sanct. 07 2001-09-26          0.016216216
## 34          Dempsey 12 2001-09-26          0.082278481
## 35 Branche sud aval 03 2001-09-26          0.007827789
## 36           Sewell 08 2001-09-26          0.102364865
## 37           Sewell 08 2001-10-31          0.102364865
## 38        Pok amont 04 2001-10-31          0.000000000
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226
## 40         Morrison 06 2001-10-31          0.004724409
## 41 McConnell Six Rd 05 2001-10-31          0.100178891
## 42          Pollard 10 2001-10-31          0.120411160
## 43    br. sud amont 01 2001-10-31          0.021343050
## 44          Dempsey 12 2001-10-31          0.082278481
## 45             Malt 11 2001-10-31          0.056897477
## 46          Suggary 02 2001-10-31          0.106404959
## 47     Waugh sanct. 07 2001-10-31          0.016216216
## 48 Branche sud aval 03 2001-10-31          0.007827789
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226
## 50 Branche sud aval 03 2002-07-29          0.007827789
## 51           Sewell 08 2002-07-29          0.102364865
## 52        Pok amont 04 2002-07-29          0.000000000
## 53    br. sud amont 01 2002-07-29          0.021343050
## 54         Morrison 06 2002-07-29          0.004724409
## 55 McConnell Six Rd 05 2002-07-29          0.100178891
## 56          Pollard 10 2002-07-29          0.120411160
## 57     Waugh sanct. 07 2002-07-29          0.016216216
## 58          Dempsey 12 2002-07-29          0.082278481
## 59             Malt 11 2002-07-29          0.056897477
## 60          Suggary 02 2002-07-29          0.106404959
## 61        Pok amont 04 2002-08-28          0.000000000
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226
## 63          Dempsey 12 2002-08-28          0.082278481
## 64 Branche sud aval 03 2002-08-28          0.007827789
## 65           Sewell 08 2002-08-28          0.102364865
## 66          Pollard 10 2002-08-28          0.120411160
## 67    br. sud amont 01 2002-08-28          0.021343050
## 68         Morrison 06 2002-08-28          0.004724409
## 69 McConnell Six Rd 05 2002-08-28          0.100178891
## 70          Suggary 02 2002-08-28          0.106404959
## 71     Waugh sanct. 07 2002-08-28          0.016216216
## 72             Malt 11 2002-08-28          0.056897477
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226
## 74           Sewell 08 2002-10-02          0.102364865
## 75        Pok amont 04 2002-10-02          0.000000000
## 76     Waugh sanct. 07 2002-10-02          0.016216216
## 77          Dempsey 12 2002-10-02          0.082278481
## 78 Branche sud aval 03 2002-10-02          0.007827789
## 79 McConnell Six Rd 05 2002-10-02          0.100178891
## 80          Pollard 10 2002-10-02          0.120411160
## 81    br. sud amont 01 2002-10-02          0.021343050
## 82         Morrison 06 2002-10-02          0.004724409
## 83             Malt 11 2002-10-02          0.056897477
## 84          Suggary 02 2002-10-02          0.106404959
## 85        Pok amont 04 2002-10-31          0.000000000
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226
## 87 Branche sud aval 03 2002-10-31          0.007827789
## 88           Sewell 08 2002-10-31          0.102364865
## 89          Suggary 02 2002-10-31          0.106404959
## 90     Waugh sanct. 07 2002-10-31          0.016216216
## 91          Dempsey 12 2002-10-31          0.082278481
## 92         Morrison 06 2002-10-31          0.004724409
## 93 McConnell Six Rd 05 2002-10-31          0.100178891
## 94          Pollard 10 2002-10-31          0.120411160
## 95    br. sud amont 01 2002-10-31          0.021343050
## 96             Malt 11 2002-10-31          0.056897477
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctF_supdrainee_2020
## 97           Suggary 02 2021-07-28          0.015616866
## 98           Dempsey 12 2021-07-28          0.012073491
## 99  Branche sud aval 03 2021-07-28          0.050993022
## 100           Sewell 08 2021-07-28          0.140495868
## 101     Waugh sanct. 07 2021-07-28          0.009266409
## 102    br. sud amont 01 2021-07-28          0.088120740
## 103         Morrison 06 2021-07-28          0.007294076
## 104             Malt 11 2021-07-28          0.116554054
## 105 McConnell Six Rd 05 2021-07-28          0.000000000
## 106          Pollard 10 2021-07-28          0.026415094
## 107        Pok amont 04 2021-07-28          0.098389982
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590
## 109             Malt 11 2021-08-31          0.026415094
## 110          Suggary 02 2021-08-31          0.132158590
## 111     Waugh sanct. 07 2021-08-31          0.015616866
## 112          Dempsey 12 2021-08-31          0.012073491
## 113 Branche sud aval 03 2021-08-31          0.050993022
## 114           Sewell 08 2021-08-31          0.140495868
## 115          Pollard 10 2021-08-31          0.009266409
## 116    br. sud amont 01 2021-08-31          0.088120740
## 117         Morrison 06 2021-08-31          0.007294076
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054
## 119 McConnell Six Rd 05 2021-08-31          0.000000000
## 120        Pok amont 04 2021-08-31          0.098389982
## 121          Suggary 02 2021-10-05          0.000000000
## 122         Morrison 06 2021-10-05          0.026415094
## 123             Malt 11 2021-10-05          0.098389982
## 124           Sewell 08 2021-10-05          0.132158590
## 125     Waugh sanct. 07 2021-10-05          0.015616866
## 126          Dempsey 12 2021-10-05          0.012073491
## 127 Branche sud aval 03 2021-10-05          0.050993022
## 128 McConnell Six Rd 05 2021-10-05          0.140495868
## 129          Pollard 10 2021-10-05          0.009266409
## 130    br. sud amont 01 2021-10-05          0.088120740
## 131        Pok amont 04 2021-10-05          0.007294076
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054
## 133             Malt 11 2021-10-28          0.116554054
## 134          Suggary 02 2021-10-28          0.000000000
## 135    br. sud amont 01 2021-10-28          0.026415094
## 136         Morrison 06 2021-10-28          0.012073491
## 137 Branche sud aval 03 2021-10-28          0.098389982
## 138           Sewell 08 2021-10-28          0.132158590
## 139     Waugh sanct. 07 2021-10-28          0.015616866
## 140          Dempsey 12 2021-10-28          0.088120740
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022
## 142 McConnell Six Rd 05 2021-10-28          0.140495868
## 143          Pollard 10 2021-10-28          0.009266409
## 144        Pok amont 04 2021-10-28          0.007294076
## 145          Pollard 10 2022-07-28          0.026415094
## 146         Morrison 06 2022-07-28          0.007294076
## 147             Malt 11 2022-07-28          0.116554054
## 148          Suggary 02 2022-07-28          0.000000000
## 149    br. sud amont 01 2022-07-28          0.015616866
## 150          Dempsey 12 2022-07-28          0.012073491
## 151 Branche sud aval 03 2022-07-28          0.098389982
## 152           Sewell 08 2022-07-28          0.132158590
## 153     Waugh sanct. 07 2022-07-28          0.009266409
## 154        Pok amont 04 2022-07-28          0.088120740
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022
## 156 McConnell Six Rd 05 2022-07-28          0.140495868
## 157 McConnell Six Rd 05 2022-09-01          0.000000000
## 158          Pollard 10 2022-09-01          0.026415094
## 159    br. sud amont 01 2022-09-01          0.088120740
## 160         Morrison 06 2022-09-01          0.007294076
## 161             Malt 11 2022-09-01          0.116554054
## 162          Suggary 02 2022-09-01          0.132158590
## 163     Waugh sanct. 07 2022-09-01          0.015616866
## 164          Dempsey 12 2022-09-01          0.012073491
## 165 Branche sud aval 03 2022-09-01          0.098389982
## 166           Sewell 08 2022-09-01          0.140495868
## 167        Pok amont 04 2022-09-01          0.009266409
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022
## 169           Sewell 08 2022-10-03          0.026415094
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054
## 171 McConnell Six Rd 05 2022-10-03          0.000000000
## 172          Pollard 10 2022-10-03          0.009266409
## 173    br. sud amont 01 2022-10-03          0.088120740
## 174         Morrison 06 2022-10-03          0.007294076
## 175             Malt 11 2022-10-03          0.098389982
## 176          Suggary 02 2022-10-03          0.132158590
## 177     Waugh sanct. 07 2022-10-03          0.015616866
## 178          Dempsey 12 2022-10-03          0.012073491
## 179 Branche sud aval 03 2022-10-03          0.050993022
## 180        Pok amont 04 2022-10-03          0.140495868
## 181 Branche sud aval 03 2022-11-01          0.000000000
## 182           Sewell 08 2022-11-01          0.026415094
## 183        Pok amont 04 2022-11-01          0.007294076
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054
## 185 McConnell Six Rd 05 2022-11-01          0.140495868
## 186          Pollard 10 2022-11-01          0.009266409
## 187    br. sud amont 01 2022-11-01          0.088120740
## 188         Morrison 06 2022-11-01          0.012073491
## 189             Malt 11 2022-11-01          0.098389982
## 190          Suggary 02 2022-11-01          0.132158590
## 191     Waugh sanct. 07 2022-11-01          0.015616866
## 192          Dempsey 12 2022-11-01          0.050993022
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L),
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=log10(Carbon_Total_Organic_mg_L)),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L),

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=log10(Carbon_Total_Organic_mg_L)),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la COT et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_champs_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctF_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01          0.021343050                10
## 2          Morrison 06 2001-08-01          0.004724409                80
## 3              Malt 11 2001-08-01          0.056897477                30
## 4           Suggary 02 2001-08-01          0.106404959                10
## 5      Waugh sanct. 07 2001-08-01          0.016216216               270
## 6           Dempsey 12 2001-08-01          0.082278481                50
## 7  Branche sud aval 03 2001-08-01          0.007827789                10
## 8            Sewell 08 2001-08-01          0.102364865                20
## 9         Pok amont 04 2001-08-01          0.000000000                10
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226                10
## 11 McConnell Six Rd 05 2001-08-01          0.100178891                30
## 12          Pollard 10 2001-08-01          0.120411160               110
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226                10
## 14          Pollard 10 2001-08-28          0.120411160                50
## 15    br. sud amont 01 2001-08-28          0.021343050               120
## 16         Morrison 06 2001-08-28          0.004724409                90
## 17             Malt 11 2001-08-28          0.056897477                20
## 18          Suggary 02 2001-08-28          0.106404959                80
## 19     Waugh sanct. 07 2001-08-28          0.016216216               430
## 20          Dempsey 12 2001-08-28          0.082278481                20
## 21 Branche sud aval 03 2001-08-28          0.007827789               110
## 22           Sewell 08 2001-08-28          0.102364865               210
## 23        Pok amont 04 2001-08-28          0.000000000                10
## 24 McConnell Six Rd 05 2001-08-28          0.100178891               250
## 25        Pok amont 04 2001-09-26          0.000000000               530
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226               830
## 27 McConnell Six Rd 05 2001-09-26          0.100178891               120
## 28          Pollard 10 2001-09-26          0.120411160              1240
## 29    br. sud amont 01 2001-09-26          0.021343050              2000
## 30         Morrison 06 2001-09-26          0.004724409               220
## 31             Malt 11 2001-09-26          0.056897477               150
## 32          Suggary 02 2001-09-26          0.106404959               150
## 33     Waugh sanct. 07 2001-09-26          0.016216216               590
## 34          Dempsey 12 2001-09-26          0.082278481               150
## 35 Branche sud aval 03 2001-09-26          0.007827789               660
## 36           Sewell 08 2001-09-26          0.102364865               190
## 37           Sewell 08 2001-10-31          0.102364865               140
## 38        Pok amont 04 2001-10-31          0.000000000                20
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226                10
## 40         Morrison 06 2001-10-31          0.004724409                10
## 41 McConnell Six Rd 05 2001-10-31          0.100178891               310
## 42          Pollard 10 2001-10-31          0.120411160                50
## 43    br. sud amont 01 2001-10-31          0.021343050                20
## 44          Dempsey 12 2001-10-31          0.082278481                10
## 45             Malt 11 2001-10-31          0.056897477               100
## 46          Suggary 02 2001-10-31          0.106404959                30
## 47     Waugh sanct. 07 2001-10-31          0.016216216               480
## 48 Branche sud aval 03 2001-10-31          0.007827789                30
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226                10
## 50 Branche sud aval 03 2002-07-29          0.007827789                30
## 51           Sewell 08 2002-07-29          0.102364865                60
## 52        Pok amont 04 2002-07-29          0.000000000                10
## 53    br. sud amont 01 2002-07-29          0.021343050                20
## 54         Morrison 06 2002-07-29          0.004724409                10
## 55 McConnell Six Rd 05 2002-07-29          0.100178891                10
## 56          Pollard 10 2002-07-29          0.120411160               660
## 57     Waugh sanct. 07 2002-07-29          0.016216216                80
## 58          Dempsey 12 2002-07-29          0.082278481                25
## 59             Malt 11 2002-07-29          0.056897477                10
## 60          Suggary 02 2002-07-29          0.106404959                10
## 61        Pok amont 04 2002-08-28          0.000000000                30
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226                10
## 63          Dempsey 12 2002-08-28          0.082278481                10
## 64 Branche sud aval 03 2002-08-28          0.007827789                20
## 65           Sewell 08 2002-08-28          0.102364865                10
## 66          Pollard 10 2002-08-28          0.120411160               180
## 67    br. sud amont 01 2002-08-28          0.021343050                80
## 68         Morrison 06 2002-08-28          0.004724409                20
## 69 McConnell Six Rd 05 2002-08-28          0.100178891               310
## 70          Suggary 02 2002-08-28          0.106404959                15
## 71     Waugh sanct. 07 2002-08-28          0.016216216               410
## 72             Malt 11 2002-08-28          0.056897477                30
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226                10
## 74           Sewell 08 2002-10-02          0.102364865                25
## 75        Pok amont 04 2002-10-02          0.000000000                10
## 76     Waugh sanct. 07 2002-10-02          0.016216216               700
## 77          Dempsey 12 2002-10-02          0.082278481                30
## 78 Branche sud aval 03 2002-10-02          0.007827789                40
## 79 McConnell Six Rd 05 2002-10-02          0.100178891               150
## 80          Pollard 10 2002-10-02          0.120411160                10
## 81    br. sud amont 01 2002-10-02          0.021343050                20
## 82         Morrison 06 2002-10-02          0.004724409                10
## 83             Malt 11 2002-10-02          0.056897477                90
## 84          Suggary 02 2002-10-02          0.106404959                20
## 85        Pok amont 04 2002-10-31          0.000000000                10
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226                10
## 87 Branche sud aval 03 2002-10-31          0.007827789                10
## 88           Sewell 08 2002-10-31          0.102364865                10
## 89          Suggary 02 2002-10-31          0.106404959                50
## 90     Waugh sanct. 07 2002-10-31          0.016216216                40
## 91          Dempsey 12 2002-10-31          0.082278481                10
## 92         Morrison 06 2002-10-31          0.004724409                10
## 93 McConnell Six Rd 05 2002-10-31          0.100178891                30
## 94          Pollard 10 2002-10-31          0.120411160                10
## 95    br. sud amont 01 2002-10-31          0.021343050                10
## 96             Malt 11 2002-10-31          0.056897477                10
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctF_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28          0.015616866              20.0
## 98           Dempsey 12 2021-07-28          0.012073491              52.0
## 99  Branche sud aval 03 2021-07-28          0.050993022              74.0
## 100           Sewell 08 2021-07-28          0.140495868              98.0
## 101     Waugh sanct. 07 2021-07-28          0.009266409              52.0
## 102    br. sud amont 01 2021-07-28          0.088120740              75.0
## 103         Morrison 06 2021-07-28          0.007294076              30.0
## 104             Malt 11 2021-07-28          0.116554054              10.0
## 105 McConnell Six Rd 05 2021-07-28          0.000000000              75.0
## 106          Pollard 10 2021-07-28          0.026415094              98.0
## 107        Pok amont 04 2021-07-28          0.098389982              10.0
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590              20.0
## 109             Malt 11 2021-08-31          0.026415094              39.3
## 110          Suggary 02 2021-08-31          0.132158590             235.9
## 111     Waugh sanct. 07 2021-08-31          0.015616866              68.3
## 112          Dempsey 12 2021-08-31          0.012073491              49.6
## 113 Branche sud aval 03 2021-08-31          0.050993022              54.5
## 114           Sewell 08 2021-08-31          0.140495868             148.3
## 115          Pollard 10 2021-08-31          0.009266409             117.8
## 116    br. sud amont 01 2021-08-31          0.088120740              72.7
## 117         Morrison 06 2021-08-31          0.007294076              25.6
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054              67.7
## 119 McConnell Six Rd 05 2021-08-31          0.000000000              70.3
## 120        Pok amont 04 2021-08-31          0.098389982              15.6
## 121          Suggary 02 2021-10-05          0.000000000              41.7
## 122         Morrison 06 2021-10-05          0.026415094              24.6
## 123             Malt 11 2021-10-05          0.098389982              47.1
## 124           Sewell 08 2021-10-05          0.132158590             135.4
## 125     Waugh sanct. 07 2021-10-05          0.015616866              29.5
## 126          Dempsey 12 2021-10-05          0.012073491              54.8
## 127 Branche sud aval 03 2021-10-05          0.050993022              37.3
## 128 McConnell Six Rd 05 2021-10-05          0.140495868              95.9
## 129          Pollard 10 2021-10-05          0.009266409              62.7
## 130    br. sud amont 01 2021-10-05          0.088120740              35.5
## 131        Pok amont 04 2021-10-05          0.007294076              10.8
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054              27.5
## 133             Malt 11 2021-10-28          0.116554054              16.0
## 134          Suggary 02 2021-10-28          0.000000000               7.4
## 135    br. sud amont 01 2021-10-28          0.026415094              19.9
## 136         Morrison 06 2021-10-28          0.012073491              12.1
## 137 Branche sud aval 03 2021-10-28          0.098389982              39.9
## 138           Sewell 08 2021-10-28          0.132158590              48.1
## 139     Waugh sanct. 07 2021-10-28          0.015616866              38.4
## 140          Dempsey 12 2021-10-28          0.088120740              52.0
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022              24.3
## 142 McConnell Six Rd 05 2021-10-28          0.140495868              29.5
## 143          Pollard 10 2021-10-28          0.009266409              34.5
## 144        Pok amont 04 2021-10-28          0.007294076              14.6
## 145          Pollard 10 2022-07-28          0.026415094              57.6
## 146         Morrison 06 2022-07-28          0.007294076             133.4
## 147             Malt 11 2022-07-28          0.116554054              70.3
## 148          Suggary 02 2022-07-28          0.000000000              27.5
## 149    br. sud amont 01 2022-07-28          0.015616866              32.7
## 150          Dempsey 12 2022-07-28          0.012073491              41.7
## 151 Branche sud aval 03 2022-07-28          0.098389982              59.8
## 152           Sewell 08 2022-07-28          0.132158590              90.6
## 153     Waugh sanct. 07 2022-07-28          0.009266409              93.3
## 154        Pok amont 04 2022-07-28          0.088120740              77.1
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022              22.8
## 156 McConnell Six Rd 05 2022-07-28          0.140495868             488.4
## 157 McConnell Six Rd 05 2022-09-01          0.000000000              82.0
## 158          Pollard 10 2022-09-01          0.026415094            1046.2
## 159    br. sud amont 01 2022-09-01          0.088120740             114.5
## 160         Morrison 06 2022-09-01          0.007294076             686.7
## 161             Malt 11 2022-09-01          0.116554054              69.1
## 162          Suggary 02 2022-09-01          0.132158590              40.2
## 163     Waugh sanct. 07 2022-09-01          0.015616866              88.0
## 164          Dempsey 12 2022-09-01          0.012073491             248.1
## 165 Branche sud aval 03 2022-09-01          0.098389982              70.3
## 166           Sewell 08 2022-09-01          0.140495868             172.2
## 167        Pok amont 04 2022-09-01          0.009266409               5.2
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022             121.1
## 169           Sewell 08 2022-10-03          0.026415094              48.8
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054              44.1
## 171 McConnell Six Rd 05 2022-10-03          0.000000000              59.1
## 172          Pollard 10 2022-10-03          0.009266409              24.1
## 173    br. sud amont 01 2022-10-03          0.088120740              57.6
## 174         Morrison 06 2022-10-03          0.007294076              47.4
## 175             Malt 11 2022-10-03          0.098389982               5.2
## 176          Suggary 02 2022-10-03          0.132158590               9.7
## 177     Waugh sanct. 07 2022-10-03          0.015616866              65.7
## 178          Dempsey 12 2022-10-03          0.012073491              48.0
## 179 Branche sud aval 03 2022-10-03          0.050993022              13.4
## 180        Pok amont 04 2022-10-03          0.140495868               8.4
## 181 Branche sud aval 03 2022-11-01          0.000000000              24.6
## 182           Sewell 08 2022-11-01          0.026415094             115.3
## 183        Pok amont 04 2022-11-01          0.007294076               5.2
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054               3.1
## 185 McConnell Six Rd 05 2022-11-01          0.140495868              72.3
## 186          Pollard 10 2022-11-01          0.009266409              20.3
## 187    br. sud amont 01 2022-11-01          0.088120740              37.3
## 188         Morrison 06 2022-11-01          0.012073491              39.9
## 189             Malt 11 2022-11-01          0.098389982              45.0
## 190          Suggary 02 2022-11-01          0.132158590               8.5
## 191     Waugh sanct. 07 2022-11-01          0.015616866             249.5
## 192          Dempsey 12 2022-11-01          0.050993022              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=E.coli_MPN_100.mL,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=E.coli_MPN_100.mL),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_champs_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctF_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01          0.021343050                0.0080
## 2          Morrison 06 2001-08-01          0.004724409                0.0080
## 3              Malt 11 2001-08-01          0.056897477                0.0110
## 4           Suggary 02 2001-08-01          0.106404959                0.0090
## 5      Waugh sanct. 07 2001-08-01          0.016216216                0.0150
## 6           Dempsey 12 2001-08-01          0.082278481                0.0140
## 7  Branche sud aval 03 2001-08-01          0.007827789                0.0080
## 8            Sewell 08 2001-08-01          0.102364865                0.0110
## 9         Pok amont 04 2001-08-01          0.000000000                0.0110
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226                0.0090
## 11 McConnell Six Rd 05 2001-08-01          0.100178891                0.0160
## 12          Pollard 10 2001-08-01          0.120411160                0.0150
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226                0.0070
## 14          Pollard 10 2001-08-28          0.120411160                0.0170
## 15    br. sud amont 01 2001-08-28          0.021343050                0.0060
## 16         Morrison 06 2001-08-28          0.004724409                0.0080
## 17             Malt 11 2001-08-28          0.056897477                0.0080
## 18          Suggary 02 2001-08-28          0.106404959                0.0080
## 19     Waugh sanct. 07 2001-08-28          0.016216216                0.0090
## 20          Dempsey 12 2001-08-28          0.082278481                0.0110
## 21 Branche sud aval 03 2001-08-28          0.007827789                0.0070
## 22           Sewell 08 2001-08-28          0.102364865                0.0170
## 23        Pok amont 04 2001-08-28          0.000000000                0.0060
## 24 McConnell Six Rd 05 2001-08-28          0.100178891                0.0130
## 25        Pok amont 04 2001-09-26          0.000000000                0.0130
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226                0.0140
## 27 McConnell Six Rd 05 2001-09-26          0.100178891                0.0130
## 28          Pollard 10 2001-09-26          0.120411160                0.0155
## 29    br. sud amont 01 2001-09-26          0.021343050                0.0130
## 30         Morrison 06 2001-09-26          0.004724409                0.0080
## 31             Malt 11 2001-09-26          0.056897477                0.0120
## 32          Suggary 02 2001-09-26          0.106404959                0.0090
## 33     Waugh sanct. 07 2001-09-26          0.016216216                0.0140
## 34          Dempsey 12 2001-09-26          0.082278481                0.0190
## 35 Branche sud aval 03 2001-09-26          0.007827789                0.0090
## 36           Sewell 08 2001-09-26          0.102364865                0.0120
## 37           Sewell 08 2001-10-31          0.102364865                0.0120
## 38        Pok amont 04 2001-10-31          0.000000000                0.0050
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226                0.0050
## 40         Morrison 06 2001-10-31          0.004724409                0.0060
## 41 McConnell Six Rd 05 2001-10-31          0.100178891                0.0110
## 42          Pollard 10 2001-10-31          0.120411160                0.0080
## 43    br. sud amont 01 2001-10-31          0.021343050                0.0050
## 44          Dempsey 12 2001-10-31          0.082278481                0.0090
## 45             Malt 11 2001-10-31          0.056897477                0.0070
## 46          Suggary 02 2001-10-31          0.106404959                0.0080
## 47     Waugh sanct. 07 2001-10-31          0.016216216                0.0120
## 48 Branche sud aval 03 2001-10-31          0.007827789                0.0050
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226                0.0050
## 50 Branche sud aval 03 2002-07-29          0.007827789                0.0070
## 51           Sewell 08 2002-07-29          0.102364865                0.0200
## 52        Pok amont 04 2002-07-29          0.000000000                0.0060
## 53    br. sud amont 01 2002-07-29          0.021343050                0.0060
## 54         Morrison 06 2002-07-29          0.004724409                0.0080
## 55 McConnell Six Rd 05 2002-07-29          0.100178891                0.0130
## 56          Pollard 10 2002-07-29          0.120411160                0.0230
## 57     Waugh sanct. 07 2002-07-29          0.016216216                0.0120
## 58          Dempsey 12 2002-07-29          0.082278481                0.0100
## 59             Malt 11 2002-07-29          0.056897477                0.0090
## 60          Suggary 02 2002-07-29          0.106404959                0.0070
## 61        Pok amont 04 2002-08-28          0.000000000                0.0100
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226                0.0090
## 63          Dempsey 12 2002-08-28          0.082278481                0.0130
## 64 Branche sud aval 03 2002-08-28          0.007827789                0.0080
## 65           Sewell 08 2002-08-28          0.102364865                0.0100
## 66          Pollard 10 2002-08-28          0.120411160                0.0160
## 67    br. sud amont 01 2002-08-28          0.021343050                0.0070
## 68         Morrison 06 2002-08-28          0.004724409                0.0090
## 69 McConnell Six Rd 05 2002-08-28          0.100178891                0.0140
## 70          Suggary 02 2002-08-28          0.106404959                0.0100
## 71     Waugh sanct. 07 2002-08-28          0.016216216                0.0130
## 72             Malt 11 2002-08-28          0.056897477                0.0110
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226                0.0070
## 74           Sewell 08 2002-10-02          0.102364865                0.0155
## 75        Pok amont 04 2002-10-02          0.000000000                0.0060
## 76     Waugh sanct. 07 2002-10-02          0.016216216                0.0090
## 77          Dempsey 12 2002-10-02          0.082278481                0.0120
## 78 Branche sud aval 03 2002-10-02          0.007827789                0.0080
## 79 McConnell Six Rd 05 2002-10-02          0.100178891                0.0110
## 80          Pollard 10 2002-10-02          0.120411160                0.0110
## 81    br. sud amont 01 2002-10-02          0.021343050                0.0050
## 82         Morrison 06 2002-10-02          0.004724409                0.0050
## 83             Malt 11 2002-10-02          0.056897477                0.0080
## 84          Suggary 02 2002-10-02          0.106404959                0.0070
## 85        Pok amont 04 2002-10-31          0.000000000                0.0060
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226                0.0050
## 87 Branche sud aval 03 2002-10-31          0.007827789                0.0050
## 88           Sewell 08 2002-10-31          0.102364865                0.0130
## 89          Suggary 02 2002-10-31          0.106404959                0.0050
## 90     Waugh sanct. 07 2002-10-31          0.016216216                0.0080
## 91          Dempsey 12 2002-10-31          0.082278481                0.0080
## 92         Morrison 06 2002-10-31          0.004724409                0.0050
## 93 McConnell Six Rd 05 2002-10-31          0.100178891                0.0090
## 94          Pollard 10 2002-10-31          0.120411160                0.0060
## 95    br. sud amont 01 2002-10-31          0.021343050                0.0065
## 96             Malt 11 2002-10-31          0.056897477                0.0050
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctF_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28          0.015616866                 0.018
## 98           Dempsey 12 2021-07-28          0.012073491                 0.024
## 99  Branche sud aval 03 2021-07-28          0.050993022                 0.022
## 100           Sewell 08 2021-07-28          0.140495868                 0.028
## 101     Waugh sanct. 07 2021-07-28          0.009266409                 0.017
## 102    br. sud amont 01 2021-07-28          0.088120740                 0.016
## 103         Morrison 06 2021-07-28          0.007294076                 0.019
## 104             Malt 11 2021-07-28          0.116554054                 0.014
## 105 McConnell Six Rd 05 2021-07-28          0.000000000                 0.026
## 106          Pollard 10 2021-07-28          0.026415094                 0.051
## 107        Pok amont 04 2021-07-28          0.098389982                 0.022
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590                 0.014
## 109             Malt 11 2021-08-31          0.026415094                 0.005
## 110          Suggary 02 2021-08-31          0.132158590                 0.011
## 111     Waugh sanct. 07 2021-08-31          0.015616866                 0.006
## 112          Dempsey 12 2021-08-31          0.012073491                 0.014
## 113 Branche sud aval 03 2021-08-31          0.050993022                 0.009
## 114           Sewell 08 2021-08-31          0.140495868                 0.015
## 115          Pollard 10 2021-08-31          0.009266409                 0.073
## 116    br. sud amont 01 2021-08-31          0.088120740                 0.016
## 117         Morrison 06 2021-08-31          0.007294076                 0.016
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054                 0.012
## 119 McConnell Six Rd 05 2021-08-31          0.000000000                 0.029
## 120        Pok amont 04 2021-08-31          0.098389982                 0.008
## 121          Suggary 02 2021-10-05          0.000000000                 0.007
## 122         Morrison 06 2021-10-05          0.026415094                 0.010
## 123             Malt 11 2021-10-05          0.098389982                 0.012
## 124           Sewell 08 2021-10-05          0.132158590                 0.024
## 125     Waugh sanct. 07 2021-10-05          0.015616866                 0.019
## 126          Dempsey 12 2021-10-05          0.012073491                 0.018
## 127 Branche sud aval 03 2021-10-05          0.050993022                 0.015
## 128 McConnell Six Rd 05 2021-10-05          0.140495868                 0.025
## 129          Pollard 10 2021-10-05          0.009266409                 0.037
## 130    br. sud amont 01 2021-10-05          0.088120740                 0.019
## 131        Pok amont 04 2021-10-05          0.007294076                 0.008
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054                 0.011
## 133             Malt 11 2021-10-28          0.116554054                 0.009
## 134          Suggary 02 2021-10-28          0.000000000                 0.009
## 135    br. sud amont 01 2021-10-28          0.026415094                 0.013
## 136         Morrison 06 2021-10-28          0.012073491                 0.011
## 137 Branche sud aval 03 2021-10-28          0.098389982                 0.022
## 138           Sewell 08 2021-10-28          0.132158590                 0.020
## 139     Waugh sanct. 07 2021-10-28          0.015616866                 0.018
## 140          Dempsey 12 2021-10-28          0.088120740                 0.015
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022                 0.010
## 142 McConnell Six Rd 05 2021-10-28          0.140495868                 0.018
## 143          Pollard 10 2021-10-28          0.009266409                 0.033
## 144        Pok amont 04 2021-10-28          0.007294076                 0.013
## 145          Pollard 10 2022-07-28          0.026415094                 0.034
## 146         Morrison 06 2022-07-28          0.007294076                 0.014
## 147             Malt 11 2022-07-28          0.116554054                 0.008
## 148          Suggary 02 2022-07-28          0.000000000                 0.009
## 149    br. sud amont 01 2022-07-28          0.015616866                 0.016
## 150          Dempsey 12 2022-07-28          0.012073491                 0.017
## 151 Branche sud aval 03 2022-07-28          0.098389982                 0.013
## 152           Sewell 08 2022-07-28          0.132158590                 0.019
## 153     Waugh sanct. 07 2022-07-28          0.009266409                 0.011
## 154        Pok amont 04 2022-07-28          0.088120740                 0.009
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022                 0.009
## 156 McConnell Six Rd 05 2022-07-28          0.140495868                 0.019
## 157 McConnell Six Rd 05 2022-09-01          0.000000000                 0.024
## 158          Pollard 10 2022-09-01          0.026415094                 0.075
## 159    br. sud amont 01 2022-09-01          0.088120740                 0.015
## 160         Morrison 06 2022-09-01          0.007294076                 0.021
## 161             Malt 11 2022-09-01          0.116554054                 0.008
## 162          Suggary 02 2022-09-01          0.132158590                 0.010
## 163     Waugh sanct. 07 2022-09-01          0.015616866                 0.021
## 164          Dempsey 12 2022-09-01          0.012073491                 0.021
## 165 Branche sud aval 03 2022-09-01          0.098389982                 0.016
## 166           Sewell 08 2022-09-01          0.140495868                 0.019
## 167        Pok amont 04 2022-09-01          0.009266409                 0.010
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022                 0.012
## 169           Sewell 08 2022-10-03          0.026415094                 0.016
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054                 0.019
## 171 McConnell Six Rd 05 2022-10-03          0.000000000                 0.022
## 172          Pollard 10 2022-10-03          0.009266409                 0.049
## 173    br. sud amont 01 2022-10-03          0.088120740                 0.016
## 174         Morrison 06 2022-10-03          0.007294076                 0.014
## 175             Malt 11 2022-10-03          0.098389982                 0.007
## 176          Suggary 02 2022-10-03          0.132158590                 0.005
## 177     Waugh sanct. 07 2022-10-03          0.015616866                 0.013
## 178          Dempsey 12 2022-10-03          0.012073491                 0.013
## 179 Branche sud aval 03 2022-10-03          0.050993022                 0.009
## 180        Pok amont 04 2022-10-03          0.140495868                 0.013
## 181 Branche sud aval 03 2022-11-01          0.000000000                 0.013
## 182           Sewell 08 2022-11-01          0.026415094                 0.021
## 183        Pok amont 04 2022-11-01          0.007294076                 0.011
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054                 0.017
## 185 McConnell Six Rd 05 2022-11-01          0.140495868                 0.020
## 186          Pollard 10 2022-11-01          0.009266409                 0.041
## 187    br. sud amont 01 2022-11-01          0.088120740                 0.020
## 188         Morrison 06 2022-11-01          0.012073491                 0.018
## 189             Malt 11 2022-11-01          0.098389982                 0.009
## 190          Suggary 02 2022-11-01          0.132158590                 0.010
## 191     Waugh sanct. 07 2022-11-01          0.015616866                 0.017
## 192          Dempsey 12 2022-11-01          0.050993022                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_champs_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctF_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctF_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01          0.021343050            0.0500
## 2          Morrison 06 2001-08-01          0.004724409            0.0940
## 3              Malt 11 2001-08-01          0.056897477            0.0500
## 4           Suggary 02 2001-08-01          0.106404959            0.0500
## 5      Waugh sanct. 07 2001-08-01          0.016216216            0.0500
## 6           Dempsey 12 2001-08-01          0.082278481            0.0500
## 7  Branche sud aval 03 2001-08-01          0.007827789            0.0500
## 8            Sewell 08 2001-08-01          0.102364865            0.1360
## 9         Pok amont 04 2001-08-01          0.000000000            0.0500
## 10 Trout Val-Doucet 09 2001-08-01          0.018396226            0.0500
## 11 McConnell Six Rd 05 2001-08-01          0.100178891            0.2510
## 12          Pollard 10 2001-08-01          0.120411160            0.2600
## 13 Trout Val-Doucet 09 2001-08-28          0.018396226            0.0500
## 14          Pollard 10 2001-08-28          0.120411160            0.3010
## 15    br. sud amont 01 2001-08-28          0.021343050            0.0500
## 16         Morrison 06 2001-08-28          0.004724409            0.0910
## 17             Malt 11 2001-08-28          0.056897477            0.0500
## 18          Suggary 02 2001-08-28          0.106404959            0.0500
## 19     Waugh sanct. 07 2001-08-28          0.016216216            0.0500
## 20          Dempsey 12 2001-08-28          0.082278481            0.0500
## 21 Branche sud aval 03 2001-08-28          0.007827789            0.0500
## 22           Sewell 08 2001-08-28          0.102364865            0.1330
## 23        Pok amont 04 2001-08-28          0.000000000            0.0500
## 24 McConnell Six Rd 05 2001-08-28          0.100178891            0.2810
## 25        Pok amont 04 2001-09-26          0.000000000            0.0500
## 26 Trout Val-Doucet 09 2001-09-26          0.018396226            0.0500
## 27 McConnell Six Rd 05 2001-09-26          0.100178891            0.2110
## 28          Pollard 10 2001-09-26          0.120411160            0.1845
## 29    br. sud amont 01 2001-09-26          0.021343050            0.0770
## 30         Morrison 06 2001-09-26          0.004724409            0.0500
## 31             Malt 11 2001-09-26          0.056897477            0.0500
## 32          Suggary 02 2001-09-26          0.106404959            0.0500
## 33     Waugh sanct. 07 2001-09-26          0.016216216            0.0500
## 34          Dempsey 12 2001-09-26          0.082278481            0.0500
## 35 Branche sud aval 03 2001-09-26          0.007827789            0.0500
## 36           Sewell 08 2001-09-26          0.102364865            0.0500
## 37           Sewell 08 2001-10-31          0.102364865            0.0500
## 38        Pok amont 04 2001-10-31          0.000000000            0.0500
## 39 Trout Val-Doucet 09 2001-10-31          0.018396226            0.0500
## 40         Morrison 06 2001-10-31          0.004724409            0.0500
## 41 McConnell Six Rd 05 2001-10-31          0.100178891            0.0500
## 42          Pollard 10 2001-10-31          0.120411160            0.2300
## 43    br. sud amont 01 2001-10-31          0.021343050            0.0500
## 44          Dempsey 12 2001-10-31          0.082278481            0.0500
## 45             Malt 11 2001-10-31          0.056897477            0.0500
## 46          Suggary 02 2001-10-31          0.106404959            0.0500
## 47     Waugh sanct. 07 2001-10-31          0.016216216            0.0500
## 48 Branche sud aval 03 2001-10-31          0.007827789            0.0500
## 49 Trout Val-Doucet 09 2002-07-29          0.018396226            0.0500
## 50 Branche sud aval 03 2002-07-29          0.007827789            0.0500
## 51           Sewell 08 2002-07-29          0.102364865            0.2200
## 52        Pok amont 04 2002-07-29          0.000000000            0.0700
## 53    br. sud amont 01 2002-07-29          0.021343050            0.0500
## 54         Morrison 06 2002-07-29          0.004724409            0.0700
## 55 McConnell Six Rd 05 2002-07-29          0.100178891            0.2800
## 56          Pollard 10 2002-07-29          0.120411160            0.3300
## 57     Waugh sanct. 07 2002-07-29          0.016216216            0.0500
## 58          Dempsey 12 2002-07-29          0.082278481            0.0500
## 59             Malt 11 2002-07-29          0.056897477            0.0500
## 60          Suggary 02 2002-07-29          0.106404959            0.1900
## 61        Pok amont 04 2002-08-28          0.000000000            0.0700
## 62 Trout Val-Doucet 09 2002-08-28          0.018396226            0.0500
## 63          Dempsey 12 2002-08-28          0.082278481            0.0500
## 64 Branche sud aval 03 2002-08-28          0.007827789            0.0500
## 65           Sewell 08 2002-08-28          0.102364865            0.0500
## 66          Pollard 10 2002-08-28          0.120411160            0.1800
## 67    br. sud amont 01 2002-08-28          0.021343050            0.0500
## 68         Morrison 06 2002-08-28          0.004724409            0.0700
## 69 McConnell Six Rd 05 2002-08-28          0.100178891            0.3000
## 70          Suggary 02 2002-08-28          0.106404959            0.1750
## 71     Waugh sanct. 07 2002-08-28          0.016216216            0.0500
## 72             Malt 11 2002-08-28          0.056897477            0.0500
## 73 Trout Val-Doucet 09 2002-10-02          0.018396226            0.0500
## 74           Sewell 08 2002-10-02          0.102364865            0.0500
## 75        Pok amont 04 2002-10-02          0.000000000            0.0500
## 76     Waugh sanct. 07 2002-10-02          0.016216216            0.0500
## 77          Dempsey 12 2002-10-02          0.082278481            0.0500
## 78 Branche sud aval 03 2002-10-02          0.007827789            0.0500
## 79 McConnell Six Rd 05 2002-10-02          0.100178891            0.1900
## 80          Pollard 10 2002-10-02          0.120411160            0.1300
## 81    br. sud amont 01 2002-10-02          0.021343050            0.0500
## 82         Morrison 06 2002-10-02          0.004724409            0.0500
## 83             Malt 11 2002-10-02          0.056897477            0.0500
## 84          Suggary 02 2002-10-02          0.106404959            0.1300
## 85        Pok amont 04 2002-10-31          0.000000000            0.0500
## 86 Trout Val-Doucet 09 2002-10-31          0.018396226            0.0500
## 87 Branche sud aval 03 2002-10-31          0.007827789            0.0500
## 88           Sewell 08 2002-10-31          0.102364865            0.2300
## 89          Suggary 02 2002-10-31          0.106404959            0.1500
## 90     Waugh sanct. 07 2002-10-31          0.016216216            0.0800
## 91          Dempsey 12 2002-10-31          0.082278481            0.0500
## 92         Morrison 06 2002-10-31          0.004724409            0.0700
## 93 McConnell Six Rd 05 2002-10-31          0.100178891            0.2200
## 94          Pollard 10 2002-10-31          0.120411160            0.1900
## 95    br. sud amont 01 2002-10-31          0.021343050            0.0500
## 96             Malt 11 2002-10-31          0.056897477            0.1300
subset(Period2, select=c(Station2, Date, pctF_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctF_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28          0.015616866              0.11
## 98           Dempsey 12 2021-07-28          0.012073491              0.08
## 99  Branche sud aval 03 2021-07-28          0.050993022              0.05
## 100           Sewell 08 2021-07-28          0.140495868              0.17
## 101     Waugh sanct. 07 2021-07-28          0.009266409              0.06
## 102    br. sud amont 01 2021-07-28          0.088120740              0.08
## 103         Morrison 06 2021-07-28          0.007294076              0.05
## 104             Malt 11 2021-07-28          0.116554054              0.06
## 105 McConnell Six Rd 05 2021-07-28          0.000000000              0.21
## 106          Pollard 10 2021-07-28          0.026415094              0.40
## 107        Pok amont 04 2021-07-28          0.098389982              0.12
## 108 Trout Val-Doucet 09 2021-07-28          0.132158590              0.18
## 109             Malt 11 2021-08-31          0.026415094              0.06
## 110          Suggary 02 2021-08-31          0.132158590              0.12
## 111     Waugh sanct. 07 2021-08-31          0.015616866              0.05
## 112          Dempsey 12 2021-08-31          0.012073491              0.08
## 113 Branche sud aval 03 2021-08-31          0.050993022              0.06
## 114           Sewell 08 2021-08-31          0.140495868              0.12
## 115          Pollard 10 2021-08-31          0.009266409              0.32
## 116    br. sud amont 01 2021-08-31          0.088120740              0.05
## 117         Morrison 06 2021-08-31          0.007294076              0.05
## 118 Trout Val-Doucet 09 2021-08-31          0.116554054              0.14
## 119 McConnell Six Rd 05 2021-08-31          0.000000000              0.21
## 120        Pok amont 04 2021-08-31          0.098389982              0.10
## 121          Suggary 02 2021-10-05          0.000000000              0.17
## 122         Morrison 06 2021-10-05          0.026415094              0.06
## 123             Malt 11 2021-10-05          0.098389982              0.12
## 124           Sewell 08 2021-10-05          0.132158590              0.13
## 125     Waugh sanct. 07 2021-10-05          0.015616866              0.05
## 126          Dempsey 12 2021-10-05          0.012073491              0.09
## 127 Branche sud aval 03 2021-10-05          0.050993022              0.05
## 128 McConnell Six Rd 05 2021-10-05          0.140495868              0.33
## 129          Pollard 10 2021-10-05          0.009266409              0.38
## 130    br. sud amont 01 2021-10-05          0.088120740              0.05
## 131        Pok amont 04 2021-10-05          0.007294076              0.11
## 132 Trout Val-Doucet 09 2021-10-05          0.116554054              0.22
## 133             Malt 11 2021-10-28          0.116554054              0.07
## 134          Suggary 02 2021-10-28          0.000000000              0.15
## 135    br. sud amont 01 2021-10-28          0.026415094              0.05
## 136         Morrison 06 2021-10-28          0.012073491              0.08
## 137 Branche sud aval 03 2021-10-28          0.098389982              0.07
## 138           Sewell 08 2021-10-28          0.132158590              0.14
## 139     Waugh sanct. 07 2021-10-28          0.015616866              0.05
## 140          Dempsey 12 2021-10-28          0.088120740              0.10
## 141 Trout Val-Doucet 09 2021-10-28          0.050993022              0.27
## 142 McConnell Six Rd 05 2021-10-28          0.140495868              0.36
## 143          Pollard 10 2021-10-28          0.009266409              0.38
## 144        Pok amont 04 2021-10-28          0.007294076              0.13
## 145          Pollard 10 2022-07-28          0.026415094              0.40
## 146         Morrison 06 2022-07-28          0.007294076              0.08
## 147             Malt 11 2022-07-28          0.116554054              0.06
## 148          Suggary 02 2022-07-28          0.000000000              0.11
## 149    br. sud amont 01 2022-07-28          0.015616866              0.05
## 150          Dempsey 12 2022-07-28          0.012073491              0.11
## 151 Branche sud aval 03 2022-07-28          0.098389982              0.07
## 152           Sewell 08 2022-07-28          0.132158590              0.17
## 153     Waugh sanct. 07 2022-07-28          0.009266409              0.05
## 154        Pok amont 04 2022-07-28          0.088120740              0.07
## 155 Trout Val-Doucet 09 2022-07-28          0.050993022              0.15
## 156 McConnell Six Rd 05 2022-07-28          0.140495868              0.36
## 157 McConnell Six Rd 05 2022-09-01          0.000000000              0.26
## 158          Pollard 10 2022-09-01          0.026415094              0.53
## 159    br. sud amont 01 2022-09-01          0.088120740              0.05
## 160         Morrison 06 2022-09-01          0.007294076              0.06
## 161             Malt 11 2022-09-01          0.116554054              0.10
## 162          Suggary 02 2022-09-01          0.132158590              0.13
## 163     Waugh sanct. 07 2022-09-01          0.015616866              0.10
## 164          Dempsey 12 2022-09-01          0.012073491              0.15
## 165 Branche sud aval 03 2022-09-01          0.098389982              0.06
## 166           Sewell 08 2022-09-01          0.140495868              0.17
## 167        Pok amont 04 2022-09-01          0.009266409              0.06
## 168 Trout Val-Doucet 09 2022-09-01          0.050993022              0.12
## 169           Sewell 08 2022-10-03          0.026415094              0.08
## 170 Trout Val-Doucet 09 2022-10-03          0.116554054              0.11
## 171 McConnell Six Rd 05 2022-10-03          0.000000000              0.27
## 172          Pollard 10 2022-10-03          0.009266409              0.50
## 173    br. sud amont 01 2022-10-03          0.088120740              0.06
## 174         Morrison 06 2022-10-03          0.007294076              0.05
## 175             Malt 11 2022-10-03          0.098389982              0.06
## 176          Suggary 02 2022-10-03          0.132158590              0.15
## 177     Waugh sanct. 07 2022-10-03          0.015616866              0.09
## 178          Dempsey 12 2022-10-03          0.012073491              0.09
## 179 Branche sud aval 03 2022-10-03          0.050993022              0.05
## 180        Pok amont 04 2022-10-03          0.140495868              0.05
## 181 Branche sud aval 03 2022-11-01          0.000000000              0.05
## 182           Sewell 08 2022-11-01          0.026415094              0.15
## 183        Pok amont 04 2022-11-01          0.007294076              0.07
## 184 Trout Val-Doucet 09 2022-11-01          0.116554054              0.14
## 185 McConnell Six Rd 05 2022-11-01          0.140495868              0.25
## 186          Pollard 10 2022-11-01          0.009266409              0.54
## 187    br. sud amont 01 2022-11-01          0.088120740              0.07
## 188         Morrison 06 2022-11-01          0.012073491              0.09
## 189             Malt 11 2022-11-01          0.098389982              0.07
## 190          Suggary 02 2022-11-01          0.132158590              0.16
## 191     Waugh sanct. 07 2022-11-01          0.015616866              0.06
## 192          Dempsey 12 2022-11-01          0.050993022              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctF_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctF_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctF_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctF_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les superficies des champs",
x=" Les superficies des champs (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

c: superficie de coupe à blancs

# Crée la variable pourcentage


Period1$pctC_supdrainee_1990 = Period1$C_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctC_supdrainee_2020 = Period1$C_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Coupeablanc_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctC_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01            0.3383654              11.5
## 2          Morrison 06 2001-08-01            0.3916010              10.2
## 3              Malt 11 2001-08-01            0.3939882              25.2
## 4           Suggary 02 2001-08-01            0.3522727              14.4
## 5      Waugh sanct. 07 2001-08-01            0.4073359              10.8
## 6           Dempsey 12 2001-08-01            0.3592989              20.4
## 7  Branche sud aval 03 2001-08-01            0.2777975              13.5
## 8            Sewell 08 2001-08-01            0.3135135              12.8
## 9         Pok amont 04 2001-08-01            0.1466001              11.4
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415              14.5
## 11 McConnell Six Rd 05 2001-08-01            0.2245081               9.0
## 12          Pollard 10 2001-08-01            0.2511013              15.1
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415               9.3
## 14          Pollard 10 2001-08-28            0.2511013              12.0
## 15    br. sud amont 01 2001-08-28            0.3383654              10.0
## 16         Morrison 06 2001-08-28            0.3916010               NaN
## 17             Malt 11 2001-08-28            0.3939882               8.8
## 18          Suggary 02 2001-08-28            0.3522727              13.0
## 19     Waugh sanct. 07 2001-08-28            0.4073359              10.6
## 20          Dempsey 12 2001-08-28            0.3592989              13.5
## 21 Branche sud aval 03 2001-08-28            0.2777975              11.5
## 22           Sewell 08 2001-08-28            0.3135135              13.5
## 23        Pok amont 04 2001-08-28            0.1466001               8.4
## 24 McConnell Six Rd 05 2001-08-28            0.2245081              10.9
## 25        Pok amont 04 2001-09-26            0.1466001               9.8
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415              10.7
## 27 McConnell Six Rd 05 2001-09-26            0.2245081              11.8
## 28          Pollard 10 2001-09-26            0.2511013              12.7
## 29    br. sud amont 01 2001-09-26            0.3383654              11.5
## 30         Morrison 06 2001-09-26            0.3916010              11.2
## 31             Malt 11 2001-09-26            0.3939882               9.3
## 32          Suggary 02 2001-09-26            0.3522727              12.9
## 33     Waugh sanct. 07 2001-09-26            0.4073359              10.4
## 34          Dempsey 12 2001-09-26            0.3592989              13.4
## 35 Branche sud aval 03 2001-09-26            0.2777975              12.0
## 36           Sewell 08 2001-09-26            0.3135135              12.9
## 37           Sewell 08 2001-10-31            0.3135135               1.4
## 38        Pok amont 04 2001-10-31            0.1466001               4.8
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415               3.0
## 40         Morrison 06 2001-10-31            0.3916010               1.8
## 41 McConnell Six Rd 05 2001-10-31            0.2245081               2.1
## 42          Pollard 10 2001-10-31            0.2511013               3.3
## 43    br. sud amont 01 2001-10-31            0.3383654               2.7
## 44          Dempsey 12 2001-10-31            0.3592989               3.9
## 45             Malt 11 2001-10-31            0.3939882               4.8
## 46          Suggary 02 2001-10-31            0.3522727               2.1
## 47     Waugh sanct. 07 2001-10-31            0.4073359               2.7
## 48 Branche sud aval 03 2001-10-31            0.2777975               2.3
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415              17.5
## 50 Branche sud aval 03 2002-07-29            0.2777975              15.7
## 51           Sewell 08 2002-07-29            0.3135135              16.8
## 52        Pok amont 04 2002-07-29            0.1466001              13.3
## 53    br. sud amont 01 2002-07-29            0.3383654              14.7
## 54         Morrison 06 2002-07-29            0.3916010              17.3
## 55 McConnell Six Rd 05 2002-07-29            0.2245081              17.4
## 56          Pollard 10 2002-07-29            0.2511013              17.0
## 57     Waugh sanct. 07 2002-07-29            0.4073359              16.4
## 58          Dempsey 12 2002-07-29            0.3592989              15.6
## 59             Malt 11 2002-07-29            0.3939882              14.9
## 60          Suggary 02 2002-07-29            0.3522727              17.9
## 61        Pok amont 04 2002-08-28            0.1466001               8.0
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415              10.2
## 63          Dempsey 12 2002-08-28            0.3592989              13.2
## 64 Branche sud aval 03 2002-08-28            0.2777975              11.3
## 65           Sewell 08 2002-08-28            0.3135135              13.1
## 66          Pollard 10 2002-08-28            0.2511013              11.1
## 67    br. sud amont 01 2002-08-28            0.3383654              11.1
## 68         Morrison 06 2002-08-28            0.3916010               9.9
## 69 McConnell Six Rd 05 2002-08-28            0.2245081              12.9
## 70          Suggary 02 2002-08-28            0.3522727              10.6
## 71     Waugh sanct. 07 2002-08-28            0.4073359              10.1
## 72             Malt 11 2002-08-28            0.3939882               7.9
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415              10.7
## 74           Sewell 08 2002-10-02            0.3135135              12.7
## 75        Pok amont 04 2002-10-02            0.1466001               7.8
## 76     Waugh sanct. 07 2002-10-02            0.4073359              10.7
## 77          Dempsey 12 2002-10-02            0.3592989              11.1
## 78 Branche sud aval 03 2002-10-02            0.2777975              10.9
## 79 McConnell Six Rd 05 2002-10-02            0.2245081              12.9
## 80          Pollard 10 2002-10-02            0.2511013              10.8
## 81    br. sud amont 01 2002-10-02            0.3383654              11.0
## 82         Morrison 06 2002-10-02            0.3916010              10.5
## 83             Malt 11 2002-10-02            0.3939882               7.8
## 84          Suggary 02 2002-10-02            0.3522727              10.3
## 85        Pok amont 04 2002-10-31            0.1466001               4.6
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415               2.7
## 87 Branche sud aval 03 2002-10-31            0.2777975               NaN
## 88           Sewell 08 2002-10-31            0.3135135               1.6
## 89          Suggary 02 2002-10-31            0.3522727               2.7
## 90     Waugh sanct. 07 2002-10-31            0.4073359               2.7
## 91          Dempsey 12 2002-10-31            0.3592989               3.3
## 92         Morrison 06 2002-10-31            0.3916010               1.7
## 93 McConnell Six Rd 05 2002-10-31            0.2245081               2.3
## 94          Pollard 10 2002-10-31            0.2511013               2.7
## 95    br. sud amont 01 2002-10-31            0.3383654               2.5
## 96             Malt 11 2002-10-31            0.3939882               4.4
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctC_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28          0.057261843              11.5
## 98           Dempsey 12 2021-07-28          0.047244094              16.1
## 99  Branche sud aval 03 2021-07-28          0.027911970              15.5
## 100           Sewell 08 2021-07-28          0.071280992              14.2
## 101     Waugh sanct. 07 2021-07-28          0.039382239              12.1
## 102    br. sud amont 01 2021-07-28          0.037487829              14.0
## 103         Morrison 06 2021-07-28          0.123465576              15.7
## 104             Malt 11 2021-07-28          0.006418919              11.7
## 105 McConnell Six Rd 05 2021-07-28          0.089831566              16.9
## 106          Pollard 10 2021-07-28          0.018867925              14.6
## 107        Pok amont 04 2021-07-28          0.001341682              11.2
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358              11.9
## 109             Malt 11 2021-08-31          0.018867925              12.0
## 110          Suggary 02 2021-08-31          0.008076358              11.0
## 111     Waugh sanct. 07 2021-08-31          0.057261843              12.8
## 112          Dempsey 12 2021-08-31          0.047244094              15.0
## 113 Branche sud aval 03 2021-08-31          0.027911970              15.0
## 114           Sewell 08 2021-08-31          0.071280992              14.6
## 115          Pollard 10 2021-08-31          0.039382239              15.7
## 116    br. sud amont 01 2021-08-31          0.037487829              13.7
## 117         Morrison 06 2021-08-31          0.123465576              14.9
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919              11.7
## 119 McConnell Six Rd 05 2021-08-31          0.089831566              16.4
## 120        Pok amont 04 2021-08-31          0.001341682              10.8
## 121          Suggary 02 2021-10-05          0.089831566               6.3
## 122         Morrison 06 2021-10-05          0.018867925               7.0
## 123             Malt 11 2021-10-05          0.001341682               8.5
## 124           Sewell 08 2021-10-05          0.008076358               8.0
## 125     Waugh sanct. 07 2021-10-05          0.057261843               9.0
## 126          Dempsey 12 2021-10-05          0.047244094               8.7
## 127 Branche sud aval 03 2021-10-05          0.027911970               7.9
## 128 McConnell Six Rd 05 2021-10-05          0.071280992               7.9
## 129          Pollard 10 2021-10-05          0.039382239               8.7
## 130    br. sud amont 01 2021-10-05          0.037487829               7.3
## 131        Pok amont 04 2021-10-05          0.123465576               7.4
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919               6.4
## 133             Malt 11 2021-10-28          0.006418919               7.1
## 134          Suggary 02 2021-10-28          0.089831566               6.7
## 135    br. sud amont 01 2021-10-28          0.018867925               7.0
## 136         Morrison 06 2021-10-28          0.047244094               6.4
## 137 Branche sud aval 03 2021-10-28          0.001341682               6.7
## 138           Sewell 08 2021-10-28          0.008076358               7.4
## 139     Waugh sanct. 07 2021-10-28          0.057261843               7.3
## 140          Dempsey 12 2021-10-28          0.037487829               7.3
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970               6.7
## 142 McConnell Six Rd 05 2021-10-28          0.071280992               7.2
## 143          Pollard 10 2021-10-28          0.039382239               7.5
## 144        Pok amont 04 2021-10-28          0.123465576               7.2
## 145          Pollard 10 2022-07-28          0.018867925              14.2
## 146         Morrison 06 2022-07-28          0.123465576              13.3
## 147             Malt 11 2022-07-28          0.006418919              12.9
## 148          Suggary 02 2022-07-28          0.089831566              11.4
## 149    br. sud amont 01 2022-07-28          0.057261843              14.9
## 150          Dempsey 12 2022-07-28          0.047244094              15.3
## 151 Branche sud aval 03 2022-07-28          0.001341682              15.5
## 152           Sewell 08 2022-07-28          0.008076358              15.1
## 153     Waugh sanct. 07 2022-07-28          0.039382239              13.1
## 154        Pok amont 04 2022-07-28          0.037487829              11.9
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970              11.1
## 156 McConnell Six Rd 05 2022-07-28          0.071280992              13.8
## 157 McConnell Six Rd 05 2022-09-01          0.089831566              16.2
## 158          Pollard 10 2022-09-01          0.018867925              15.1
## 159    br. sud amont 01 2022-09-01          0.037487829              14.8
## 160         Morrison 06 2022-09-01          0.123465576              15.0
## 161             Malt 11 2022-09-01          0.006418919              12.3
## 162          Suggary 02 2022-09-01          0.008076358              11.9
## 163     Waugh sanct. 07 2022-09-01          0.057261843              14.0
## 164          Dempsey 12 2022-09-01          0.047244094              15.0
## 165 Branche sud aval 03 2022-09-01          0.001341682              16.2
## 166           Sewell 08 2022-09-01          0.071280992              15.9
## 167        Pok amont 04 2022-09-01          0.039382239              12.1
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970              12.9
## 169           Sewell 08 2022-10-03          0.018867925               6.2
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919               4.7
## 171 McConnell Six Rd 05 2022-10-03          0.089831566               6.5
## 172          Pollard 10 2022-10-03          0.039382239               6.5
## 173    br. sud amont 01 2022-10-03          0.037487829               5.6
## 174         Morrison 06 2022-10-03          0.123465576               4.7
## 175             Malt 11 2022-10-03          0.001341682               7.9
## 176          Suggary 02 2022-10-03          0.008076358               4.5
## 177     Waugh sanct. 07 2022-10-03          0.057261843               6.3
## 178          Dempsey 12 2022-10-03          0.047244094               6.0
## 179 Branche sud aval 03 2022-10-03          0.027911970               6.2
## 180        Pok amont 04 2022-10-03          0.071280992               6.5
## 181 Branche sud aval 03 2022-11-01          0.089831566               6.5
## 182           Sewell 08 2022-11-01          0.018867925               7.1
## 183        Pok amont 04 2022-11-01          0.123465576               6.3
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919               6.1
## 185 McConnell Six Rd 05 2022-11-01          0.071280992               7.4
## 186          Pollard 10 2022-11-01          0.039382239               8.0
## 187    br. sud amont 01 2022-11-01          0.037487829               7.0
## 188         Morrison 06 2022-11-01          0.047244094               5.9
## 189             Malt 11 2022-11-01          0.001341682               7.6
## 190          Suggary 02 2022-11-01          0.008076358               6.5
## 191     Waugh sanct. 07 2022-11-01          0.057261843               7.3
## 192          Dempsey 12 2022-11-01          0.027911970               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les Coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_Oxyg_dissous

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctC_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01            0.3383654                 11.30
## 2          Morrison 06 2001-08-01            0.3916010                 10.60
## 3              Malt 11 2001-08-01            0.3939882                 11.80
## 4           Suggary 02 2001-08-01            0.3522727                 10.50
## 5      Waugh sanct. 07 2001-08-01            0.4073359                 10.40
## 6           Dempsey 12 2001-08-01            0.3592989                  8.10
## 7  Branche sud aval 03 2001-08-01            0.2777975                 11.00
## 8            Sewell 08 2001-08-01            0.3135135                 11.10
## 9         Pok amont 04 2001-08-01            0.1466001                  9.70
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415                 10.50
## 11 McConnell Six Rd 05 2001-08-01            0.2245081                 12.10
## 12          Pollard 10 2001-08-01            0.2511013                  9.50
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415                 10.60
## 14          Pollard 10 2001-08-28            0.2511013                  9.60
## 15    br. sud amont 01 2001-08-28            0.3383654                 10.12
## 16         Morrison 06 2001-08-28            0.3916010                   NaN
## 17             Malt 11 2001-08-28            0.3939882                 10.60
## 18          Suggary 02 2001-08-28            0.3522727                  9.45
## 19     Waugh sanct. 07 2001-08-28            0.4073359                 10.00
## 20          Dempsey 12 2001-08-28            0.3592989                  8.80
## 21 Branche sud aval 03 2001-08-28            0.2777975                 10.00
## 22           Sewell 08 2001-08-28            0.3135135                  9.40
## 23        Pok amont 04 2001-08-28            0.1466001                 10.50
## 24 McConnell Six Rd 05 2001-08-28            0.2245081                 10.00
## 25        Pok amont 04 2001-09-26            0.1466001                  8.00
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415                  9.00
## 27 McConnell Six Rd 05 2001-09-26            0.2245081                  8.51
## 28          Pollard 10 2001-09-26            0.2511013                  8.40
## 29    br. sud amont 01 2001-09-26            0.3383654                  8.50
## 30         Morrison 06 2001-09-26            0.3916010                  8.60
## 31             Malt 11 2001-09-26            0.3939882                  9.00
## 32          Suggary 02 2001-09-26            0.3522727                  8.44
## 33     Waugh sanct. 07 2001-09-26            0.4073359                  8.62
## 34          Dempsey 12 2001-09-26            0.3592989                  8.30
## 35 Branche sud aval 03 2001-09-26            0.2777975                  9.20
## 36           Sewell 08 2001-09-26            0.3135135                  7.92
## 37           Sewell 08 2001-10-31            0.3135135                  7.70
## 38        Pok amont 04 2001-10-31            0.1466001                  8.40
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415                  9.46
## 40         Morrison 06 2001-10-31            0.3916010                  9.84
## 41 McConnell Six Rd 05 2001-10-31            0.2245081                  8.70
## 42          Pollard 10 2001-10-31            0.2511013                  8.85
## 43    br. sud amont 01 2001-10-31            0.3383654                  7.80
## 44          Dempsey 12 2001-10-31            0.3592989                  8.43
## 45             Malt 11 2001-10-31            0.3939882                  9.20
## 46          Suggary 02 2001-10-31            0.3522727                  7.30
## 47     Waugh sanct. 07 2001-10-31            0.4073359                  8.00
## 48 Branche sud aval 03 2001-10-31            0.2777975                  9.57
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415                  8.01
## 50 Branche sud aval 03 2002-07-29            0.2777975                  8.50
## 51           Sewell 08 2002-07-29            0.3135135                  7.60
## 52        Pok amont 04 2002-07-29            0.1466001                  8.17
## 53    br. sud amont 01 2002-07-29            0.3383654                  8.65
## 54         Morrison 06 2002-07-29            0.3916010                  9.76
## 55 McConnell Six Rd 05 2002-07-29            0.2245081                  7.10
## 56          Pollard 10 2002-07-29            0.2511013                  7.45
## 57     Waugh sanct. 07 2002-07-29            0.4073359                  7.90
## 58          Dempsey 12 2002-07-29            0.3592989                  8.30
## 59             Malt 11 2002-07-29            0.3939882                  8.90
## 60          Suggary 02 2002-07-29            0.3522727                  8.20
## 61        Pok amont 04 2002-08-28            0.1466001                 10.65
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415                  9.46
## 63          Dempsey 12 2002-08-28            0.3592989                  8.20
## 64 Branche sud aval 03 2002-08-28            0.2777975                 10.41
## 65           Sewell 08 2002-08-28            0.3135135                  9.80
## 66          Pollard 10 2002-08-28            0.2511013                  9.02
## 67    br. sud amont 01 2002-08-28            0.3383654                 10.20
## 68         Morrison 06 2002-08-28            0.3916010                 11.17
## 69 McConnell Six Rd 05 2002-08-28            0.2245081                 11.05
## 70          Suggary 02 2002-08-28            0.3522727                 11.24
## 71     Waugh sanct. 07 2002-08-28            0.4073359                 10.00
## 72             Malt 11 2002-08-28            0.3939882                 10.00
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415                  4.42
## 74           Sewell 08 2002-10-02            0.3135135                  6.84
## 75        Pok amont 04 2002-10-02            0.1466001                  7.20
## 76     Waugh sanct. 07 2002-10-02            0.4073359                  6.10
## 77          Dempsey 12 2002-10-02            0.3592989                  5.70
## 78 Branche sud aval 03 2002-10-02            0.2777975                  7.10
## 79 McConnell Six Rd 05 2002-10-02            0.2245081                  7.49
## 80          Pollard 10 2002-10-02            0.2511013                  6.80
## 81    br. sud amont 01 2002-10-02            0.3383654                  7.16
## 82         Morrison 06 2002-10-02            0.3916010                  7.60
## 83             Malt 11 2002-10-02            0.3939882                  6.40
## 84          Suggary 02 2002-10-02            0.3522727                  8.08
## 85        Pok amont 04 2002-10-31            0.1466001                  7.50
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415                  8.50
## 87 Branche sud aval 03 2002-10-31            0.2777975                   NaN
## 88           Sewell 08 2002-10-31            0.3135135                  8.30
## 89          Suggary 02 2002-10-31            0.3522727                  8.60
## 90     Waugh sanct. 07 2002-10-31            0.4073359                  7.00
## 91          Dempsey 12 2002-10-31            0.3592989                  7.40
## 92         Morrison 06 2002-10-31            0.3916010                  8.30
## 93 McConnell Six Rd 05 2002-10-31            0.2245081                  7.60
## 94          Pollard 10 2002-10-31            0.2511013                  7.60
## 95    br. sud amont 01 2002-10-31            0.3383654                  8.20
## 96             Malt 11 2002-10-31            0.3939882                  8.00
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctC_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28          0.057261843                  9.68
## 98           Dempsey 12 2021-07-28          0.047244094                  9.38
## 99  Branche sud aval 03 2021-07-28          0.027911970                  8.51
## 100           Sewell 08 2021-07-28          0.071280992                  9.29
## 101     Waugh sanct. 07 2021-07-28          0.039382239                  9.84
## 102    br. sud amont 01 2021-07-28          0.037487829                  8.43
## 103         Morrison 06 2021-07-28          0.123465576                  9.04
## 104             Malt 11 2021-07-28          0.006418919                  9.73
## 105 McConnell Six Rd 05 2021-07-28          0.089831566                  8.70
## 106          Pollard 10 2021-07-28          0.018867925                  9.81
## 107        Pok amont 04 2021-07-28          0.001341682                  9.22
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358                 10.29
## 109             Malt 11 2021-08-31          0.018867925                 11.07
## 110          Suggary 02 2021-08-31          0.008076358                 10.16
## 111     Waugh sanct. 07 2021-08-31          0.057261843                 10.03
## 112          Dempsey 12 2021-08-31          0.047244094                  9.51
## 113 Branche sud aval 03 2021-08-31          0.027911970                  8.83
## 114           Sewell 08 2021-08-31          0.071280992                  8.18
## 115          Pollard 10 2021-08-31          0.039382239                  8.15
## 116    br. sud amont 01 2021-08-31          0.037487829                  7.94
## 117         Morrison 06 2021-08-31          0.123465576                  9.14
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919                 10.42
## 119 McConnell Six Rd 05 2021-08-31          0.089831566                  8.54
## 120        Pok amont 04 2021-08-31          0.001341682                  8.70
## 121          Suggary 02 2021-10-05          0.089831566                 12.14
## 122         Morrison 06 2021-10-05          0.018867925                 11.19
## 123             Malt 11 2021-10-05          0.001341682                 10.27
## 124           Sewell 08 2021-10-05          0.008076358                 11.17
## 125     Waugh sanct. 07 2021-10-05          0.057261843                 10.42
## 126          Dempsey 12 2021-10-05          0.047244094                 10.86
## 127 Branche sud aval 03 2021-10-05          0.027911970                 10.40
## 128 McConnell Six Rd 05 2021-10-05          0.071280992                 10.87
## 129          Pollard 10 2021-10-05          0.039382239                 11.29
## 130    br. sud amont 01 2021-10-05          0.037487829                 10.74
## 131        Pok amont 04 2021-10-05          0.123465576                 10.75
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919                 11.40
## 133             Malt 11 2021-10-28          0.006418919                 10.50
## 134          Suggary 02 2021-10-28          0.089831566                 11.68
## 135    br. sud amont 01 2021-10-28          0.018867925                 10.93
## 136         Morrison 06 2021-10-28          0.047244094                 11.66
## 137 Branche sud aval 03 2021-10-28          0.001341682                 11.22
## 138           Sewell 08 2021-10-28          0.008076358                 11.44
## 139     Waugh sanct. 07 2021-10-28          0.057261843                 10.96
## 140          Dempsey 12 2021-10-28          0.037487829                  8.77
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970                 11.26
## 142 McConnell Six Rd 05 2021-10-28          0.071280992                 10.41
## 143          Pollard 10 2021-10-28          0.039382239                 10.54
## 144        Pok amont 04 2021-10-28          0.123465576                 10.80
## 145          Pollard 10 2022-07-28          0.018867925                 10.75
## 146         Morrison 06 2022-07-28          0.123465576                 10.00
## 147             Malt 11 2022-07-28          0.006418919                 11.60
## 148          Suggary 02 2022-07-28          0.089831566                 11.40
## 149    br. sud amont 01 2022-07-28          0.057261843                  8.64
## 150          Dempsey 12 2022-07-28          0.047244094                  9.34
## 151 Branche sud aval 03 2022-07-28          0.001341682                  9.55
## 152           Sewell 08 2022-07-28          0.008076358                  9.50
## 153     Waugh sanct. 07 2022-07-28          0.039382239                  9.90
## 154        Pok amont 04 2022-07-28          0.037487829                  9.52
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970                 11.52
## 156 McConnell Six Rd 05 2022-07-28          0.071280992                 10.40
## 157 McConnell Six Rd 05 2022-09-01          0.089831566                  9.19
## 158          Pollard 10 2022-09-01          0.018867925                 10.25
## 159    br. sud amont 01 2022-09-01          0.037487829                  8.28
## 160         Morrison 06 2022-09-01          0.123465576                  9.52
## 161             Malt 11 2022-09-01          0.006418919                 11.08
## 162          Suggary 02 2022-09-01          0.008076358                 10.24
## 163     Waugh sanct. 07 2022-09-01          0.057261843                  9.22
## 164          Dempsey 12 2022-09-01          0.047244094                  9.44
## 165 Branche sud aval 03 2022-09-01          0.001341682                  8.95
## 166           Sewell 08 2022-09-01          0.071280992                  9.02
## 167        Pok amont 04 2022-09-01          0.039382239                  8.82
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970                 10.06
## 169           Sewell 08 2022-10-03          0.018867925                 10.03
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919                 12.38
## 171 McConnell Six Rd 05 2022-10-03          0.089831566                 12.20
## 172          Pollard 10 2022-10-03          0.039382239                 13.04
## 173    br. sud amont 01 2022-10-03          0.037487829                 11.04
## 174         Morrison 06 2022-10-03          0.123465576                 12.92
## 175             Malt 11 2022-10-03          0.001341682                 12.67
## 176          Suggary 02 2022-10-03          0.008076358                 13.13
## 177     Waugh sanct. 07 2022-10-03          0.057261843                 12.07
## 178          Dempsey 12 2022-10-03          0.047244094                 11.87
## 179 Branche sud aval 03 2022-10-03          0.027911970                 12.21
## 180        Pok amont 04 2022-10-03          0.071280992                 10.04
## 181 Branche sud aval 03 2022-11-01          0.089831566                 12.07
## 182           Sewell 08 2022-11-01          0.018867925                 12.13
## 183        Pok amont 04 2022-11-01          0.123465576                 10.55
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919                 12.12
## 185 McConnell Six Rd 05 2022-11-01          0.071280992                 11.17
## 186          Pollard 10 2022-11-01          0.039382239                 10.85
## 187    br. sud amont 01 2022-11-01          0.037487829                 11.78
## 188         Morrison 06 2022-11-01          0.047244094                 12.66
## 189             Malt 11 2022-11-01          0.001341682                 11.63
## 190          Suggary 02 2022-11-01          0.008076358                 12.35
## 191     Waugh sanct. 07 2022-11-01          0.057261843                  9.42
## 192          Dempsey 12 2022-11-01          0.027911970                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_Conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctC_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01            0.3383654                  171.0
## 2          Morrison 06 2001-08-01            0.3916010                  114.0
## 3              Malt 11 2001-08-01            0.3939882                  108.0
## 4           Suggary 02 2001-08-01            0.3522727                  118.0
## 5      Waugh sanct. 07 2001-08-01            0.4073359                  133.0
## 6           Dempsey 12 2001-08-01            0.3592989                  128.0
## 7  Branche sud aval 03 2001-08-01            0.2777975                  115.0
## 8            Sewell 08 2001-08-01            0.3135135                  134.0
## 9         Pok amont 04 2001-08-01            0.1466001                   56.6
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415                  106.0
## 11 McConnell Six Rd 05 2001-08-01            0.2245081                  100.0
## 12          Pollard 10 2001-08-01            0.2511013                  156.0
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415                  105.0
## 14          Pollard 10 2001-08-28            0.2511013                  162.0
## 15    br. sud amont 01 2001-08-28            0.3383654                  177.0
## 16         Morrison 06 2001-08-28            0.3916010                  115.0
## 17             Malt 11 2001-08-28            0.3939882                   90.3
## 18          Suggary 02 2001-08-28            0.3522727                  119.0
## 19     Waugh sanct. 07 2001-08-28            0.4073359                  132.0
## 20          Dempsey 12 2001-08-28            0.3592989                  129.0
## 21 Branche sud aval 03 2001-08-28            0.2777975                  113.0
## 22           Sewell 08 2001-08-28            0.3135135                  150.0
## 23        Pok amont 04 2001-08-28            0.1466001                   60.0
## 24 McConnell Six Rd 05 2001-08-28            0.2245081                  112.0
## 25        Pok amont 04 2001-09-26            0.1466001                   72.1
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415                  115.0
## 27 McConnell Six Rd 05 2001-09-26            0.2245081                  111.0
## 28          Pollard 10 2001-09-26            0.2511013                  153.5
## 29    br. sud amont 01 2001-09-26            0.3383654                  158.0
## 30         Morrison 06 2001-09-26            0.3916010                  117.0
## 31             Malt 11 2001-09-26            0.3939882                   97.7
## 32          Suggary 02 2001-09-26            0.3522727                  139.0
## 33     Waugh sanct. 07 2001-09-26            0.4073359                  136.0
## 34          Dempsey 12 2001-09-26            0.3592989                  137.0
## 35 Branche sud aval 03 2001-09-26            0.2777975                  123.0
## 36           Sewell 08 2001-09-26            0.3135135                  173.0
## 37           Sewell 08 2001-10-31            0.3135135                  111.0
## 38        Pok amont 04 2001-10-31            0.1466001                   68.3
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415                  112.0
## 40         Morrison 06 2001-10-31            0.3916010                  123.0
## 41 McConnell Six Rd 05 2001-10-31            0.2245081                   87.2
## 42          Pollard 10 2001-10-31            0.2511013                  164.0
## 43    br. sud amont 01 2001-10-31            0.3383654                  162.0
## 44          Dempsey 12 2001-10-31            0.3592989                  128.0
## 45             Malt 11 2001-10-31            0.3939882                   98.8
## 46          Suggary 02 2001-10-31            0.3522727                  120.0
## 47     Waugh sanct. 07 2001-10-31            0.4073359                  102.0
## 48 Branche sud aval 03 2001-10-31            0.2777975                  115.0
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415                  112.0
## 50 Branche sud aval 03 2002-07-29            0.2777975                  116.0
## 51           Sewell 08 2002-07-29            0.3135135                  139.0
## 52        Pok amont 04 2002-07-29            0.1466001                   57.1
## 53    br. sud amont 01 2002-07-29            0.3383654                  148.0
## 54         Morrison 06 2002-07-29            0.3916010                  123.0
## 55 McConnell Six Rd 05 2002-07-29            0.2245081                  105.0
## 56          Pollard 10 2002-07-29            0.2511013                  162.0
## 57     Waugh sanct. 07 2002-07-29            0.4073359                  133.0
## 58          Dempsey 12 2002-07-29            0.3592989                  143.0
## 59             Malt 11 2002-07-29            0.3939882                   96.6
## 60          Suggary 02 2002-07-29            0.3522727                  110.0
## 61        Pok amont 04 2002-08-28            0.1466001                   60.3
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415                  115.0
## 63          Dempsey 12 2002-08-28            0.3592989                  144.0
## 64 Branche sud aval 03 2002-08-28            0.2777975                  121.0
## 65           Sewell 08 2002-08-28            0.3135135                  168.0
## 66          Pollard 10 2002-08-28            0.2511013                  164.0
## 67    br. sud amont 01 2002-08-28            0.3383654                  185.0
## 68         Morrison 06 2002-08-28            0.3916010                  125.0
## 69 McConnell Six Rd 05 2002-08-28            0.2245081                  111.0
## 70          Suggary 02 2002-08-28            0.3522727                  110.5
## 71     Waugh sanct. 07 2002-08-28            0.4073359                  135.0
## 72             Malt 11 2002-08-28            0.3939882                  101.0
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415                  120.0
## 74           Sewell 08 2002-10-02            0.3135135                  158.0
## 75        Pok amont 04 2002-10-02            0.1466001                   69.4
## 76     Waugh sanct. 07 2002-10-02            0.4073359                  148.0
## 77          Dempsey 12 2002-10-02            0.3592989                  145.0
## 78 Branche sud aval 03 2002-10-02            0.2777975                  126.0
## 79 McConnell Six Rd 05 2002-10-02            0.2245081                  108.0
## 80          Pollard 10 2002-10-02            0.2511013                  176.0
## 81    br. sud amont 01 2002-10-02            0.3383654                  194.0
## 82         Morrison 06 2002-10-02            0.3916010                  128.0
## 83             Malt 11 2002-10-02            0.3939882                  106.0
## 84          Suggary 02 2002-10-02            0.3522727                  114.0
## 85        Pok amont 04 2002-10-31            0.1466001                   70.9
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415                  122.0
## 87 Branche sud aval 03 2002-10-31            0.2777975                  126.0
## 88           Sewell 08 2002-10-31            0.3135135                  120.0
## 89          Suggary 02 2002-10-31            0.3522727                  118.0
## 90     Waugh sanct. 07 2002-10-31            0.4073359                  129.0
## 91          Dempsey 12 2002-10-31            0.3592989                  141.0
## 92         Morrison 06 2002-10-31            0.3916010                  130.0
## 93 McConnell Six Rd 05 2002-10-31            0.2245081                  103.0
## 94          Pollard 10 2002-10-31            0.2511013                  176.0
## 95    br. sud amont 01 2002-10-31            0.3383654                  175.5
## 96             Malt 11 2002-10-31            0.3939882                  107.0
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctC_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28          0.057261843                    109
## 98           Dempsey 12 2021-07-28          0.047244094                    139
## 99  Branche sud aval 03 2021-07-28          0.027911970                    119
## 100           Sewell 08 2021-07-28          0.071280992                    131
## 101     Waugh sanct. 07 2021-07-28          0.039382239                    128
## 102    br. sud amont 01 2021-07-28          0.037487829                    177
## 103         Morrison 06 2021-07-28          0.123465576                    122
## 104             Malt 11 2021-07-28          0.006418919                     90
## 105 McConnell Six Rd 05 2021-07-28          0.089831566                    115
## 106          Pollard 10 2021-07-28          0.018867925                    166
## 107        Pok amont 04 2021-07-28          0.001341682                     60
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358                    109
## 109             Malt 11 2021-08-31          0.018867925                     96
## 110          Suggary 02 2021-08-31          0.008076358                    116
## 111     Waugh sanct. 07 2021-08-31          0.057261843                    138
## 112          Dempsey 12 2021-08-31          0.047244094                    152
## 113 Branche sud aval 03 2021-08-31          0.027911970                    125
## 114           Sewell 08 2021-08-31          0.071280992                    161
## 115          Pollard 10 2021-08-31          0.039382239                    196
## 116    br. sud amont 01 2021-08-31          0.037487829                    199
## 117         Morrison 06 2021-08-31          0.123465576                    129
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919                    118
## 119 McConnell Six Rd 05 2021-08-31          0.089831566                    114
## 120        Pok amont 04 2021-08-31          0.001341682                     70
## 121          Suggary 02 2021-10-05          0.089831566                     98
## 122         Morrison 06 2021-10-05          0.018867925                    114
## 123             Malt 11 2021-10-05          0.001341682                     74
## 124           Sewell 08 2021-10-05          0.008076358                     72
## 125     Waugh sanct. 07 2021-10-05          0.057261843                     70
## 126          Dempsey 12 2021-10-05          0.047244094                     96
## 127 Branche sud aval 03 2021-10-05          0.027911970                     86
## 128 McConnell Six Rd 05 2021-10-05          0.071280992                     90
## 129          Pollard 10 2021-10-05          0.039382239                    128
## 130    br. sud amont 01 2021-10-05          0.037487829                     91
## 131        Pok amont 04 2021-10-05          0.123465576                     52
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919                     95
## 133             Malt 11 2021-10-28          0.006418919                     80
## 134          Suggary 02 2021-10-28          0.089831566                    100
## 135    br. sud amont 01 2021-10-28          0.018867925                    114
## 136         Morrison 06 2021-10-28          0.047244094                    118
## 137 Branche sud aval 03 2021-10-28          0.001341682                     97
## 138           Sewell 08 2021-10-28          0.008076358                     81
## 139     Waugh sanct. 07 2021-10-28          0.057261843                     88
## 140          Dempsey 12 2021-10-28          0.037487829                    113
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970                    102
## 142 McConnell Six Rd 05 2021-10-28          0.071280992                     97
## 143          Pollard 10 2021-10-28          0.039382239                    139
## 144        Pok amont 04 2021-10-28          0.123465576                     54
## 145          Pollard 10 2022-07-28          0.018867925                    163
## 146         Morrison 06 2022-07-28          0.123465576                    119
## 147             Malt 11 2022-07-28          0.006418919                     88
## 148          Suggary 02 2022-07-28          0.089831566                    107
## 149    br. sud amont 01 2022-07-28          0.057261843                    161
## 150          Dempsey 12 2022-07-28          0.047244094                    134
## 151 Branche sud aval 03 2022-07-28          0.001341682                    113
## 152           Sewell 08 2022-07-28          0.008076358                    113
## 153     Waugh sanct. 07 2022-07-28          0.039382239                    126
## 154        Pok amont 04 2022-07-28          0.037487829                     59
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970                    108
## 156 McConnell Six Rd 05 2022-07-28          0.071280992                    113
## 157 McConnell Six Rd 05 2022-09-01          0.089831566                    107
## 158          Pollard 10 2022-09-01          0.018867925                    178
## 159    br. sud amont 01 2022-09-01          0.037487829                    180
## 160         Morrison 06 2022-09-01          0.123465576                    117
## 161             Malt 11 2022-09-01          0.006418919                     88
## 162          Suggary 02 2022-09-01          0.008076358                    104
## 163     Waugh sanct. 07 2022-09-01          0.057261843                    114
## 164          Dempsey 12 2022-09-01          0.047244094                    137
## 165 Branche sud aval 03 2022-09-01          0.001341682                    117
## 166           Sewell 08 2022-09-01          0.071280992                    116
## 167        Pok amont 04 2022-09-01          0.039382239                     63
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970                    108
## 169           Sewell 08 2022-10-03          0.018867925                    114
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919                    113
## 171 McConnell Six Rd 05 2022-10-03          0.089831566                     94
## 172          Pollard 10 2022-10-03          0.039382239                    179
## 173    br. sud amont 01 2022-10-03          0.037487829                    182
## 174         Morrison 06 2022-10-03          0.123465576                    120
## 175             Malt 11 2022-10-03          0.001341682                     95
## 176          Suggary 02 2022-10-03          0.008076358                    107
## 177     Waugh sanct. 07 2022-10-03          0.057261843                    114
## 178          Dempsey 12 2022-10-03          0.047244094                    143
## 179 Branche sud aval 03 2022-10-03          0.027911970                    118
## 180        Pok amont 04 2022-10-03          0.071280992                     64
## 181 Branche sud aval 03 2022-11-01          0.089831566                    112
## 182           Sewell 08 2022-11-01          0.018867925                     92
## 183        Pok amont 04 2022-11-01          0.123465576                     69
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919                    112
## 185 McConnell Six Rd 05 2022-11-01          0.071280992                     92
## 186          Pollard 10 2022-11-01          0.039382239                    177
## 187    br. sud amont 01 2022-11-01          0.037487829                    144
## 188         Morrison 06 2022-11-01          0.047244094                    125
## 189             Malt 11 2022-11-01          0.001341682                     91
## 190          Suggary 02 2022-11-01          0.008076358                    108
## 191     Waugh sanct. 07 2022-11-01          0.057261843                     92
## 192          Dempsey 12 2022-11-01          0.027911970                    136
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la Conductivité et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coupeablanc_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,pH_units))
##               Station2       Date pctC_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01            0.3383654    8.200
## 2          Morrison 06 2001-08-01            0.3916010    7.950
## 3              Malt 11 2001-08-01            0.3939882    7.860
## 4           Suggary 02 2001-08-01            0.3522727    8.020
## 5      Waugh sanct. 07 2001-08-01            0.4073359    7.970
## 6           Dempsey 12 2001-08-01            0.3592989    7.960
## 7  Branche sud aval 03 2001-08-01            0.2777975    8.030
## 8            Sewell 08 2001-08-01            0.3135135    8.020
## 9         Pok amont 04 2001-08-01            0.1466001    7.590
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415    8.010
## 11 McConnell Six Rd 05 2001-08-01            0.2245081    7.860
## 12          Pollard 10 2001-08-01            0.2511013    7.890
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415    7.910
## 14          Pollard 10 2001-08-28            0.2511013    7.860
## 15    br. sud amont 01 2001-08-28            0.3383654    7.980
## 16         Morrison 06 2001-08-28            0.3916010    7.940
## 17             Malt 11 2001-08-28            0.3939882    7.460
## 18          Suggary 02 2001-08-28            0.3522727    7.880
## 19     Waugh sanct. 07 2001-08-28            0.4073359    7.890
## 20          Dempsey 12 2001-08-28            0.3592989    7.760
## 21 Branche sud aval 03 2001-08-28            0.2777975    7.890
## 22           Sewell 08 2001-08-28            0.3135135    7.900
## 23        Pok amont 04 2001-08-28            0.1466001    7.490
## 24 McConnell Six Rd 05 2001-08-28            0.2245081    7.770
## 25        Pok amont 04 2001-09-26            0.1466001    7.640
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415    7.960
## 27 McConnell Six Rd 05 2001-09-26            0.2245081    7.870
## 28          Pollard 10 2001-09-26            0.2511013    7.850
## 29    br. sud amont 01 2001-09-26            0.3383654    8.050
## 30         Morrison 06 2001-09-26            0.3916010    8.020
## 31             Malt 11 2001-09-26            0.3939882    7.710
## 32          Suggary 02 2001-09-26            0.3522727    8.080
## 33     Waugh sanct. 07 2001-09-26            0.4073359    8.020
## 34          Dempsey 12 2001-09-26            0.3592989    7.950
## 35 Branche sud aval 03 2001-09-26            0.2777975    8.040
## 36           Sewell 08 2001-09-26            0.3135135    8.060
## 37           Sewell 08 2001-10-31            0.3135135    7.740
## 38        Pok amont 04 2001-10-31            0.1466001    7.420
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415    7.950
## 40         Morrison 06 2001-10-31            0.3916010    8.010
## 41 McConnell Six Rd 05 2001-10-31            0.2245081    7.500
## 42          Pollard 10 2001-10-31            0.2511013    7.870
## 43    br. sud amont 01 2001-10-31            0.3383654    7.960
## 44          Dempsey 12 2001-10-31            0.3592989    7.820
## 45             Malt 11 2001-10-31            0.3939882    7.530
## 46          Suggary 02 2001-10-31            0.3522727    7.650
## 47     Waugh sanct. 07 2001-10-31            0.4073359    7.410
## 48 Branche sud aval 03 2001-10-31            0.2777975    7.890
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415    7.840
## 50 Branche sud aval 03 2002-07-29            0.2777975    7.870
## 51           Sewell 08 2002-07-29            0.3135135    7.840
## 52        Pok amont 04 2002-07-29            0.1466001    7.180
## 53    br. sud amont 01 2002-07-29            0.3383654    7.840
## 54         Morrison 06 2002-07-29            0.3916010    7.920
## 55 McConnell Six Rd 05 2002-07-29            0.2245081    7.580
## 56          Pollard 10 2002-07-29            0.2511013    7.730
## 57     Waugh sanct. 07 2002-07-29            0.4073359    7.700
## 58          Dempsey 12 2002-07-29            0.3592989    7.755
## 59             Malt 11 2002-07-29            0.3939882    7.420
## 60          Suggary 02 2002-07-29            0.3522727    7.740
## 61        Pok amont 04 2002-08-28            0.1466001    7.250
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415    7.800
## 63          Dempsey 12 2002-08-28            0.3592989    7.690
## 64 Branche sud aval 03 2002-08-28            0.2777975    7.850
## 65           Sewell 08 2002-08-28            0.3135135    7.920
## 66          Pollard 10 2002-08-28            0.2511013    7.730
## 67    br. sud amont 01 2002-08-28            0.3383654    8.070
## 68         Morrison 06 2002-08-28            0.3916010    7.900
## 69 McConnell Six Rd 05 2002-08-28            0.2245081    7.790
## 70          Suggary 02 2002-08-28            0.3522727    7.815
## 71     Waugh sanct. 07 2002-08-28            0.4073359    7.750
## 72             Malt 11 2002-08-28            0.3939882    7.380
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415    7.830
## 74           Sewell 08 2002-10-02            0.3135135    7.820
## 75        Pok amont 04 2002-10-02            0.1466001    7.270
## 76     Waugh sanct. 07 2002-10-02            0.4073359    7.760
## 77          Dempsey 12 2002-10-02            0.3592989    7.640
## 78 Branche sud aval 03 2002-10-02            0.2777975    7.820
## 79 McConnell Six Rd 05 2002-10-02            0.2245081    7.650
## 80          Pollard 10 2002-10-02            0.2511013    7.720
## 81    br. sud amont 01 2002-10-02            0.3383654    7.970
## 82         Morrison 06 2002-10-02            0.3916010    7.890
## 83             Malt 11 2002-10-02            0.3939882    7.380
## 84          Suggary 02 2002-10-02            0.3522727    7.830
## 85        Pok amont 04 2002-10-31            0.1466001    7.360
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415    7.820
## 87 Branche sud aval 03 2002-10-31            0.2777975      NaN
## 88           Sewell 08 2002-10-31            0.3135135    7.550
## 89          Suggary 02 2002-10-31            0.3522727    7.770
## 90     Waugh sanct. 07 2002-10-31            0.4073359    7.580
## 91          Dempsey 12 2002-10-31            0.3592989    7.690
## 92         Morrison 06 2002-10-31            0.3916010    7.870
## 93 McConnell Six Rd 05 2002-10-31            0.2245081    7.440
## 94          Pollard 10 2002-10-31            0.2511013    7.780
## 95    br. sud amont 01 2002-10-31            0.3383654    7.865
## 96             Malt 11 2002-10-31            0.3939882    7.560
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,pH_units))
##                Station2       Date pctC_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28          0.057261843      7.5
## 98           Dempsey 12 2021-07-28          0.047244094      7.6
## 99  Branche sud aval 03 2021-07-28          0.027911970      7.6
## 100           Sewell 08 2021-07-28          0.071280992      7.7
## 101     Waugh sanct. 07 2021-07-28          0.039382239      7.6
## 102    br. sud amont 01 2021-07-28          0.037487829      7.6
## 103         Morrison 06 2021-07-28          0.123465576      7.4
## 104             Malt 11 2021-07-28          0.006418919      7.2
## 105 McConnell Six Rd 05 2021-07-28          0.089831566      7.6
## 106          Pollard 10 2021-07-28          0.018867925      7.6
## 107        Pok amont 04 2021-07-28          0.001341682      6.8
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358      7.6
## 109             Malt 11 2021-08-31          0.018867925      7.3
## 110          Suggary 02 2021-08-31          0.008076358      7.6
## 111     Waugh sanct. 07 2021-08-31          0.057261843      7.8
## 112          Dempsey 12 2021-08-31          0.047244094      7.6
## 113 Branche sud aval 03 2021-08-31          0.027911970      7.8
## 114           Sewell 08 2021-08-31          0.071280992      7.8
## 115          Pollard 10 2021-08-31          0.039382239      7.8
## 116    br. sud amont 01 2021-08-31          0.037487829      7.5
## 117         Morrison 06 2021-08-31          0.123465576      7.8
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919      7.8
## 119 McConnell Six Rd 05 2021-08-31          0.089831566      7.7
## 120        Pok amont 04 2021-08-31          0.001341682      7.1
## 121          Suggary 02 2021-10-05          0.089831566      7.6
## 122         Morrison 06 2021-10-05          0.018867925      7.1
## 123             Malt 11 2021-10-05          0.001341682      7.1
## 124           Sewell 08 2021-10-05          0.008076358      7.5
## 125     Waugh sanct. 07 2021-10-05          0.057261843      7.2
## 126          Dempsey 12 2021-10-05          0.047244094      7.3
## 127 Branche sud aval 03 2021-10-05          0.027911970      7.6
## 128 McConnell Six Rd 05 2021-10-05          0.071280992      7.4
## 129          Pollard 10 2021-10-05          0.039382239      7.5
## 130    br. sud amont 01 2021-10-05          0.037487829      7.2
## 131        Pok amont 04 2021-10-05          0.123465576      6.8
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919      7.2
## 133             Malt 11 2021-10-28          0.006418919      7.0
## 134          Suggary 02 2021-10-28          0.089831566      7.6
## 135    br. sud amont 01 2021-10-28          0.018867925      7.5
## 136         Morrison 06 2021-10-28          0.047244094      7.6
## 137 Branche sud aval 03 2021-10-28          0.001341682      7.6
## 138           Sewell 08 2021-10-28          0.008076358      7.5
## 139     Waugh sanct. 07 2021-10-28          0.057261843      7.5
## 140          Dempsey 12 2021-10-28          0.037487829      7.6
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970      7.5
## 142 McConnell Six Rd 05 2021-10-28          0.071280992      7.5
## 143          Pollard 10 2021-10-28          0.039382239      7.7
## 144        Pok amont 04 2021-10-28          0.123465576      7.5
## 145          Pollard 10 2022-07-28          0.018867925      7.7
## 146         Morrison 06 2022-07-28          0.123465576      7.8
## 147             Malt 11 2022-07-28          0.006418919      7.6
## 148          Suggary 02 2022-07-28          0.089831566      7.7
## 149    br. sud amont 01 2022-07-28          0.057261843      7.9
## 150          Dempsey 12 2022-07-28          0.047244094      7.8
## 151 Branche sud aval 03 2022-07-28          0.001341682      7.8
## 152           Sewell 08 2022-07-28          0.008076358      7.7
## 153     Waugh sanct. 07 2022-07-28          0.039382239      7.8
## 154        Pok amont 04 2022-07-28          0.037487829      7.5
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970      7.8
## 156 McConnell Six Rd 05 2022-07-28          0.071280992      7.7
## 157 McConnell Six Rd 05 2022-09-01          0.089831566      7.8
## 158          Pollard 10 2022-09-01          0.018867925      7.8
## 159    br. sud amont 01 2022-09-01          0.037487829      8.0
## 160         Morrison 06 2022-09-01          0.123465576      8.0
## 161             Malt 11 2022-09-01          0.006418919      7.7
## 162          Suggary 02 2022-09-01          0.008076358      7.8
## 163     Waugh sanct. 07 2022-09-01          0.057261843      7.9
## 164          Dempsey 12 2022-09-01          0.047244094      7.9
## 165 Branche sud aval 03 2022-09-01          0.001341682      7.9
## 166           Sewell 08 2022-09-01          0.071280992      7.9
## 167        Pok amont 04 2022-09-01          0.039382239      7.2
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970      7.8
## 169           Sewell 08 2022-10-03          0.018867925      7.7
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919      7.8
## 171 McConnell Six Rd 05 2022-10-03          0.089831566      7.5
## 172          Pollard 10 2022-10-03          0.039382239      7.8
## 173    br. sud amont 01 2022-10-03          0.037487829      7.9
## 174         Morrison 06 2022-10-03          0.123465576      7.9
## 175             Malt 11 2022-10-03          0.001341682      7.5
## 176          Suggary 02 2022-10-03          0.008076358      7.7
## 177     Waugh sanct. 07 2022-10-03          0.057261843      7.6
## 178          Dempsey 12 2022-10-03          0.047244094      7.7
## 179 Branche sud aval 03 2022-10-03          0.027911970      7.8
## 180        Pok amont 04 2022-10-03          0.071280992      7.1
## 181 Branche sud aval 03 2022-11-01          0.089831566      7.6
## 182           Sewell 08 2022-11-01          0.018867925      7.5
## 183        Pok amont 04 2022-11-01          0.123465576      7.0
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919      7.5
## 185 McConnell Six Rd 05 2022-11-01          0.071280992      7.3
## 186          Pollard 10 2022-11-01          0.039382239      7.6
## 187    br. sud amont 01 2022-11-01          0.037487829      7.5
## 188         Morrison 06 2022-11-01          0.047244094      7.8
## 189             Malt 11 2022-11-01          0.001341682      7.0
## 190          Suggary 02 2022-11-01          0.008076358      7.5
## 191     Waugh sanct. 07 2022-11-01          0.057261843      7.2
## 192          Dempsey 12 2022-11-01          0.027911970      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la pH et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_Turbidité_1

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctC_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.3383654         6.400
## 2          Morrison 06 2001-08-01            0.3916010         0.600
## 3              Malt 11 2001-08-01            0.3939882         1.600
## 4           Suggary 02 2001-08-01            0.3522727         0.700
## 5      Waugh sanct. 07 2001-08-01            0.4073359         1.200
## 6           Dempsey 12 2001-08-01            0.3592989         1.300
## 7  Branche sud aval 03 2001-08-01            0.2777975         0.500
## 8            Sewell 08 2001-08-01            0.3135135         1.500
## 9         Pok amont 04 2001-08-01            0.1466001         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.2245081         0.100
## 12          Pollard 10 2001-08-01            0.2511013         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415         1.200
## 14          Pollard 10 2001-08-28            0.2511013         0.800
## 15    br. sud amont 01 2001-08-28            0.3383654         6.100
## 16         Morrison 06 2001-08-28            0.3916010         0.700
## 17             Malt 11 2001-08-28            0.3939882         0.500
## 18          Suggary 02 2001-08-28            0.3522727         3.500
## 19     Waugh sanct. 07 2001-08-28            0.4073359         1.000
## 20          Dempsey 12 2001-08-28            0.3592989         1.700
## 21 Branche sud aval 03 2001-08-28            0.2777975         0.900
## 22           Sewell 08 2001-08-28            0.3135135         6.500
## 23        Pok amont 04 2001-08-28            0.1466001         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.2245081         1.000
## 25        Pok amont 04 2001-09-26            0.1466001         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.2245081         1.200
## 28          Pollard 10 2001-09-26            0.2511013         1.150
## 29    br. sud amont 01 2001-09-26            0.3383654        44.800
## 30         Morrison 06 2001-09-26            0.3916010         0.900
## 31             Malt 11 2001-09-26            0.3939882         7.800
## 32          Suggary 02 2001-09-26            0.3522727         1.700
## 33     Waugh sanct. 07 2001-09-26            0.4073359         1.200
## 34          Dempsey 12 2001-09-26            0.3592989         1.500
## 35 Branche sud aval 03 2001-09-26            0.2777975         2.400
## 36           Sewell 08 2001-09-26            0.3135135         3.000
## 37           Sewell 08 2001-10-31            0.3135135         5.500
## 38        Pok amont 04 2001-10-31            0.1466001         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415         1.000
## 40         Morrison 06 2001-10-31            0.3916010         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.2245081         1.400
## 42          Pollard 10 2001-10-31            0.2511013         0.600
## 43    br. sud amont 01 2001-10-31            0.3383654         1.100
## 44          Dempsey 12 2001-10-31            0.3592989         1.700
## 45             Malt 11 2001-10-31            0.3939882         0.800
## 46          Suggary 02 2001-10-31            0.3522727         2.050
## 47     Waugh sanct. 07 2001-10-31            0.4073359         1.200
## 48 Branche sud aval 03 2001-10-31            0.2777975         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415         0.780
## 50 Branche sud aval 03 2002-07-29            0.2777975         1.170
## 51           Sewell 08 2002-07-29            0.3135135         4.960
## 52        Pok amont 04 2002-07-29            0.1466001         0.190
## 53    br. sud amont 01 2002-07-29            0.3383654         0.900
## 54         Morrison 06 2002-07-29            0.3916010         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.2245081         1.520
## 56          Pollard 10 2002-07-29            0.2511013         1.630
## 57     Waugh sanct. 07 2002-07-29            0.4073359         1.110
## 58          Dempsey 12 2002-07-29            0.3592989         1.970
## 59             Malt 11 2002-07-29            0.3939882         0.400
## 60          Suggary 02 2002-07-29            0.3522727         0.430
## 61        Pok amont 04 2002-08-28            0.1466001         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415         1.320
## 63          Dempsey 12 2002-08-28            0.3592989         4.440
## 64 Branche sud aval 03 2002-08-28            0.2777975         1.150
## 65           Sewell 08 2002-08-28            0.3135135         2.960
## 66          Pollard 10 2002-08-28            0.2511013         0.950
## 67    br. sud amont 01 2002-08-28            0.3383654         0.570
## 68         Morrison 06 2002-08-28            0.3916010         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.2245081         1.340
## 70          Suggary 02 2002-08-28            0.3522727         0.820
## 71     Waugh sanct. 07 2002-08-28            0.4073359         1.510
## 72             Malt 11 2002-08-28            0.3939882         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415         0.940
## 74           Sewell 08 2002-10-02            0.3135135         5.255
## 75        Pok amont 04 2002-10-02            0.1466001         0.280
## 76     Waugh sanct. 07 2002-10-02            0.4073359         1.280
## 77          Dempsey 12 2002-10-02            0.3592989         3.770
## 78 Branche sud aval 03 2002-10-02            0.2777975         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.2245081         2.110
## 80          Pollard 10 2002-10-02            0.2511013         0.690
## 81    br. sud amont 01 2002-10-02            0.3383654         0.740
## 82         Morrison 06 2002-10-02            0.3916010         0.770
## 83             Malt 11 2002-10-02            0.3939882         0.600
## 84          Suggary 02 2002-10-02            0.3522727         0.480
## 85        Pok amont 04 2002-10-31            0.1466001         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415         0.870
## 87 Branche sud aval 03 2002-10-31            0.2777975           NaN
## 88           Sewell 08 2002-10-31            0.3135135         8.740
## 89          Suggary 02 2002-10-31            0.3522727         0.410
## 90     Waugh sanct. 07 2002-10-31            0.4073359         1.440
## 91          Dempsey 12 2002-10-31            0.3592989         2.880
## 92         Morrison 06 2002-10-31            0.3916010         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.2245081         1.500
## 94          Pollard 10 2002-10-31            0.2511013         1.060
## 95    br. sud amont 01 2002-10-31            0.3383654         1.220
## 96             Malt 11 2002-10-31            0.3939882         0.900
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctC_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28          0.057261843           1.2
## 98           Dempsey 12 2021-07-28          0.047244094           1.6
## 99  Branche sud aval 03 2021-07-28          0.027911970           1.8
## 100           Sewell 08 2021-07-28          0.071280992           3.5
## 101     Waugh sanct. 07 2021-07-28          0.039382239           1.1
## 102    br. sud amont 01 2021-07-28          0.037487829           2.3
## 103         Morrison 06 2021-07-28          0.123465576           1.4
## 104             Malt 11 2021-07-28          0.006418919           0.7
## 105 McConnell Six Rd 05 2021-07-28          0.089831566           1.9
## 106          Pollard 10 2021-07-28          0.018867925           1.2
## 107        Pok amont 04 2021-07-28          0.001341682           0.9
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358           1.7
## 109             Malt 11 2021-08-31          0.018867925           0.5
## 110          Suggary 02 2021-08-31          0.008076358           0.7
## 111     Waugh sanct. 07 2021-08-31          0.057261843           1.1
## 112          Dempsey 12 2021-08-31          0.047244094           1.7
## 113 Branche sud aval 03 2021-08-31          0.027911970           1.7
## 114           Sewell 08 2021-08-31          0.071280992           3.0
## 115          Pollard 10 2021-08-31          0.039382239           1.7
## 116    br. sud amont 01 2021-08-31          0.037487829           5.6
## 117         Morrison 06 2021-08-31          0.123465576           2.6
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919           2.0
## 119 McConnell Six Rd 05 2021-08-31          0.089831566           3.2
## 120        Pok amont 04 2021-08-31          0.001341682           1.5
## 121          Suggary 02 2021-10-05          0.089831566           0.7
## 122         Morrison 06 2021-10-05          0.018867925           1.4
## 123             Malt 11 2021-10-05          0.001341682           0.9
## 124           Sewell 08 2021-10-05          0.008076358           4.2
## 125     Waugh sanct. 07 2021-10-05          0.057261843           1.2
## 126          Dempsey 12 2021-10-05          0.047244094           1.8
## 127 Branche sud aval 03 2021-10-05          0.027911970           1.7
## 128 McConnell Six Rd 05 2021-10-05          0.071280992           1.8
## 129          Pollard 10 2021-10-05          0.039382239           1.8
## 130    br. sud amont 01 2021-10-05          0.037487829           3.7
## 131        Pok amont 04 2021-10-05          0.123465576           1.0
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919           1.4
## 133             Malt 11 2021-10-28          0.006418919           0.5
## 134          Suggary 02 2021-10-28          0.089831566           0.2
## 135    br. sud amont 01 2021-10-28          0.018867925           1.9
## 136         Morrison 06 2021-10-28          0.047244094           0.6
## 137 Branche sud aval 03 2021-10-28          0.001341682           1.3
## 138           Sewell 08 2021-10-28          0.008076358           2.8
## 139     Waugh sanct. 07 2021-10-28          0.057261843           1.0
## 140          Dempsey 12 2021-10-28          0.037487829           1.3
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970           0.7
## 142 McConnell Six Rd 05 2021-10-28          0.071280992           1.4
## 143          Pollard 10 2021-10-28          0.039382239           0.8
## 144        Pok amont 04 2021-10-28          0.123465576           0.6
## 145          Pollard 10 2022-07-28          0.018867925           0.4
## 146         Morrison 06 2022-07-28          0.123465576           0.7
## 147             Malt 11 2022-07-28          0.006418919           0.4
## 148          Suggary 02 2022-07-28          0.089831566           0.5
## 149    br. sud amont 01 2022-07-28          0.057261843           2.7
## 150          Dempsey 12 2022-07-28          0.047244094           1.2
## 151 Branche sud aval 03 2022-07-28          0.001341682           2.1
## 152           Sewell 08 2022-07-28          0.008076358           1.8
## 153     Waugh sanct. 07 2022-07-28          0.039382239           1.0
## 154        Pok amont 04 2022-07-28          0.037487829           0.7
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970           0.7
## 156 McConnell Six Rd 05 2022-07-28          0.071280992           0.8
## 157 McConnell Six Rd 05 2022-09-01          0.089831566           1.9
## 158          Pollard 10 2022-09-01          0.018867925           1.3
## 159    br. sud amont 01 2022-09-01          0.037487829           3.0
## 160         Morrison 06 2022-09-01          0.123465576           2.4
## 161             Malt 11 2022-09-01          0.006418919           0.5
## 162          Suggary 02 2022-09-01          0.008076358           0.7
## 163     Waugh sanct. 07 2022-09-01          0.057261843           1.8
## 164          Dempsey 12 2022-09-01          0.047244094           2.2
## 165 Branche sud aval 03 2022-09-01          0.001341682           1.9
## 166           Sewell 08 2022-09-01          0.071280992           2.6
## 167        Pok amont 04 2022-09-01          0.039382239           1.5
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970           1.4
## 169           Sewell 08 2022-10-03          0.018867925           3.6
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919           1.2
## 171 McConnell Six Rd 05 2022-10-03          0.089831566           1.9
## 172          Pollard 10 2022-10-03          0.039382239           0.4
## 173    br. sud amont 01 2022-10-03          0.037487829           2.8
## 174         Morrison 06 2022-10-03          0.123465576           1.0
## 175             Malt 11 2022-10-03          0.001341682           0.4
## 176          Suggary 02 2022-10-03          0.008076358           0.3
## 177     Waugh sanct. 07 2022-10-03          0.057261843           1.3
## 178          Dempsey 12 2022-10-03          0.047244094           1.3
## 179 Branche sud aval 03 2022-10-03          0.027911970           1.6
## 180        Pok amont 04 2022-10-03          0.071280992           1.5
## 181 Branche sud aval 03 2022-11-01          0.089831566           2.6
## 182           Sewell 08 2022-11-01          0.018867925           5.4
## 183        Pok amont 04 2022-11-01          0.123465576           0.8
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919           2.6
## 185 McConnell Six Rd 05 2022-11-01          0.071280992           2.0
## 186          Pollard 10 2022-11-01          0.039382239           0.7
## 187    br. sud amont 01 2022-11-01          0.037487829           4.8
## 188         Morrison 06 2022-11-01          0.047244094           2.8
## 189             Malt 11 2022-11-01          0.001341682           1.5
## 190          Suggary 02 2022-11-01          0.008076358           0.7
## 191     Waugh sanct. 07 2022-11-01          0.057261843           1.6
## 192          Dempsey 12 2022-11-01          0.027911970           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la Turbidité et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_Turbidité_2

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctC_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01            0.3383654         6.400
## 2          Morrison 06 2001-08-01            0.3916010         0.600
## 3              Malt 11 2001-08-01            0.3939882         1.600
## 4           Suggary 02 2001-08-01            0.3522727         0.700
## 5      Waugh sanct. 07 2001-08-01            0.4073359         1.200
## 6           Dempsey 12 2001-08-01            0.3592989         1.300
## 7  Branche sud aval 03 2001-08-01            0.2777975         0.500
## 8            Sewell 08 2001-08-01            0.3135135         1.500
## 9         Pok amont 04 2001-08-01            0.1466001         0.000
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415         0.700
## 11 McConnell Six Rd 05 2001-08-01            0.2245081         0.100
## 12          Pollard 10 2001-08-01            0.2511013         0.500
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415         1.200
## 14          Pollard 10 2001-08-28            0.2511013         0.800
## 15    br. sud amont 01 2001-08-28            0.3383654         6.100
## 16         Morrison 06 2001-08-28            0.3916010         0.700
## 17             Malt 11 2001-08-28            0.3939882         0.500
## 18          Suggary 02 2001-08-28            0.3522727         3.500
## 19     Waugh sanct. 07 2001-08-28            0.4073359         1.000
## 20          Dempsey 12 2001-08-28            0.3592989         1.700
## 21 Branche sud aval 03 2001-08-28            0.2777975         0.900
## 22           Sewell 08 2001-08-28            0.3135135         6.500
## 23        Pok amont 04 2001-08-28            0.1466001         0.000
## 24 McConnell Six Rd 05 2001-08-28            0.2245081         1.000
## 25        Pok amont 04 2001-09-26            0.1466001         0.800
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415         9.500
## 27 McConnell Six Rd 05 2001-09-26            0.2245081         1.200
## 28          Pollard 10 2001-09-26            0.2511013         1.150
## 29    br. sud amont 01 2001-09-26            0.3383654        44.800
## 30         Morrison 06 2001-09-26            0.3916010         0.900
## 31             Malt 11 2001-09-26            0.3939882         7.800
## 32          Suggary 02 2001-09-26            0.3522727         1.700
## 33     Waugh sanct. 07 2001-09-26            0.4073359         1.200
## 34          Dempsey 12 2001-09-26            0.3592989         1.500
## 35 Branche sud aval 03 2001-09-26            0.2777975         2.400
## 36           Sewell 08 2001-09-26            0.3135135         3.000
## 37           Sewell 08 2001-10-31            0.3135135         5.500
## 38        Pok amont 04 2001-10-31            0.1466001         0.200
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415         1.000
## 40         Morrison 06 2001-10-31            0.3916010         0.500
## 41 McConnell Six Rd 05 2001-10-31            0.2245081         1.400
## 42          Pollard 10 2001-10-31            0.2511013         0.600
## 43    br. sud amont 01 2001-10-31            0.3383654         1.100
## 44          Dempsey 12 2001-10-31            0.3592989         1.700
## 45             Malt 11 2001-10-31            0.3939882         0.800
## 46          Suggary 02 2001-10-31            0.3522727         2.050
## 47     Waugh sanct. 07 2001-10-31            0.4073359         1.200
## 48 Branche sud aval 03 2001-10-31            0.2777975         0.800
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415         0.780
## 50 Branche sud aval 03 2002-07-29            0.2777975         1.170
## 51           Sewell 08 2002-07-29            0.3135135         4.960
## 52        Pok amont 04 2002-07-29            0.1466001         0.190
## 53    br. sud amont 01 2002-07-29            0.3383654         0.900
## 54         Morrison 06 2002-07-29            0.3916010         0.690
## 55 McConnell Six Rd 05 2002-07-29            0.2245081         1.520
## 56          Pollard 10 2002-07-29            0.2511013         1.630
## 57     Waugh sanct. 07 2002-07-29            0.4073359         1.110
## 58          Dempsey 12 2002-07-29            0.3592989         1.970
## 59             Malt 11 2002-07-29            0.3939882         0.400
## 60          Suggary 02 2002-07-29            0.3522727         0.430
## 61        Pok amont 04 2002-08-28            0.1466001         0.390
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415         1.320
## 63          Dempsey 12 2002-08-28            0.3592989         4.440
## 64 Branche sud aval 03 2002-08-28            0.2777975         1.150
## 65           Sewell 08 2002-08-28            0.3135135         2.960
## 66          Pollard 10 2002-08-28            0.2511013         0.950
## 67    br. sud amont 01 2002-08-28            0.3383654         0.570
## 68         Morrison 06 2002-08-28            0.3916010         0.940
## 69 McConnell Six Rd 05 2002-08-28            0.2245081         1.340
## 70          Suggary 02 2002-08-28            0.3522727         0.820
## 71     Waugh sanct. 07 2002-08-28            0.4073359         1.510
## 72             Malt 11 2002-08-28            0.3939882         0.480
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415         0.940
## 74           Sewell 08 2002-10-02            0.3135135         5.255
## 75        Pok amont 04 2002-10-02            0.1466001         0.280
## 76     Waugh sanct. 07 2002-10-02            0.4073359         1.280
## 77          Dempsey 12 2002-10-02            0.3592989         3.770
## 78 Branche sud aval 03 2002-10-02            0.2777975         1.070
## 79 McConnell Six Rd 05 2002-10-02            0.2245081         2.110
## 80          Pollard 10 2002-10-02            0.2511013         0.690
## 81    br. sud amont 01 2002-10-02            0.3383654         0.740
## 82         Morrison 06 2002-10-02            0.3916010         0.770
## 83             Malt 11 2002-10-02            0.3939882         0.600
## 84          Suggary 02 2002-10-02            0.3522727         0.480
## 85        Pok amont 04 2002-10-31            0.1466001         0.580
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415         0.870
## 87 Branche sud aval 03 2002-10-31            0.2777975           NaN
## 88           Sewell 08 2002-10-31            0.3135135         8.740
## 89          Suggary 02 2002-10-31            0.3522727         0.410
## 90     Waugh sanct. 07 2002-10-31            0.4073359         1.440
## 91          Dempsey 12 2002-10-31            0.3592989         2.880
## 92         Morrison 06 2002-10-31            0.3916010         0.620
## 93 McConnell Six Rd 05 2002-10-31            0.2245081         1.500
## 94          Pollard 10 2002-10-31            0.2511013         1.060
## 95    br. sud amont 01 2002-10-31            0.3383654         1.220
## 96             Malt 11 2002-10-31            0.3939882         0.900
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctC_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28          0.057261843           1.2
## 98           Dempsey 12 2021-07-28          0.047244094           1.6
## 99  Branche sud aval 03 2021-07-28          0.027911970           1.8
## 100           Sewell 08 2021-07-28          0.071280992           3.5
## 101     Waugh sanct. 07 2021-07-28          0.039382239           1.1
## 102    br. sud amont 01 2021-07-28          0.037487829           2.3
## 103         Morrison 06 2021-07-28          0.123465576           1.4
## 104             Malt 11 2021-07-28          0.006418919           0.7
## 105 McConnell Six Rd 05 2021-07-28          0.089831566           1.9
## 106          Pollard 10 2021-07-28          0.018867925           1.2
## 107        Pok amont 04 2021-07-28          0.001341682           0.9
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358           1.7
## 109             Malt 11 2021-08-31          0.018867925           0.5
## 110          Suggary 02 2021-08-31          0.008076358           0.7
## 111     Waugh sanct. 07 2021-08-31          0.057261843           1.1
## 112          Dempsey 12 2021-08-31          0.047244094           1.7
## 113 Branche sud aval 03 2021-08-31          0.027911970           1.7
## 114           Sewell 08 2021-08-31          0.071280992           3.0
## 115          Pollard 10 2021-08-31          0.039382239           1.7
## 116    br. sud amont 01 2021-08-31          0.037487829           5.6
## 117         Morrison 06 2021-08-31          0.123465576           2.6
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919           2.0
## 119 McConnell Six Rd 05 2021-08-31          0.089831566           3.2
## 120        Pok amont 04 2021-08-31          0.001341682           1.5
## 121          Suggary 02 2021-10-05          0.089831566           0.7
## 122         Morrison 06 2021-10-05          0.018867925           1.4
## 123             Malt 11 2021-10-05          0.001341682           0.9
## 124           Sewell 08 2021-10-05          0.008076358           4.2
## 125     Waugh sanct. 07 2021-10-05          0.057261843           1.2
## 126          Dempsey 12 2021-10-05          0.047244094           1.8
## 127 Branche sud aval 03 2021-10-05          0.027911970           1.7
## 128 McConnell Six Rd 05 2021-10-05          0.071280992           1.8
## 129          Pollard 10 2021-10-05          0.039382239           1.8
## 130    br. sud amont 01 2021-10-05          0.037487829           3.7
## 131        Pok amont 04 2021-10-05          0.123465576           1.0
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919           1.4
## 133             Malt 11 2021-10-28          0.006418919           0.5
## 134          Suggary 02 2021-10-28          0.089831566           0.2
## 135    br. sud amont 01 2021-10-28          0.018867925           1.9
## 136         Morrison 06 2021-10-28          0.047244094           0.6
## 137 Branche sud aval 03 2021-10-28          0.001341682           1.3
## 138           Sewell 08 2021-10-28          0.008076358           2.8
## 139     Waugh sanct. 07 2021-10-28          0.057261843           1.0
## 140          Dempsey 12 2021-10-28          0.037487829           1.3
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970           0.7
## 142 McConnell Six Rd 05 2021-10-28          0.071280992           1.4
## 143          Pollard 10 2021-10-28          0.039382239           0.8
## 144        Pok amont 04 2021-10-28          0.123465576           0.6
## 145          Pollard 10 2022-07-28          0.018867925           0.4
## 146         Morrison 06 2022-07-28          0.123465576           0.7
## 147             Malt 11 2022-07-28          0.006418919           0.4
## 148          Suggary 02 2022-07-28          0.089831566           0.5
## 149    br. sud amont 01 2022-07-28          0.057261843           2.7
## 150          Dempsey 12 2022-07-28          0.047244094           1.2
## 151 Branche sud aval 03 2022-07-28          0.001341682           2.1
## 152           Sewell 08 2022-07-28          0.008076358           1.8
## 153     Waugh sanct. 07 2022-07-28          0.039382239           1.0
## 154        Pok amont 04 2022-07-28          0.037487829           0.7
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970           0.7
## 156 McConnell Six Rd 05 2022-07-28          0.071280992           0.8
## 157 McConnell Six Rd 05 2022-09-01          0.089831566           1.9
## 158          Pollard 10 2022-09-01          0.018867925           1.3
## 159    br. sud amont 01 2022-09-01          0.037487829           3.0
## 160         Morrison 06 2022-09-01          0.123465576           2.4
## 161             Malt 11 2022-09-01          0.006418919           0.5
## 162          Suggary 02 2022-09-01          0.008076358           0.7
## 163     Waugh sanct. 07 2022-09-01          0.057261843           1.8
## 164          Dempsey 12 2022-09-01          0.047244094           2.2
## 165 Branche sud aval 03 2022-09-01          0.001341682           1.9
## 166           Sewell 08 2022-09-01          0.071280992           2.6
## 167        Pok amont 04 2022-09-01          0.039382239           1.5
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970           1.4
## 169           Sewell 08 2022-10-03          0.018867925           3.6
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919           1.2
## 171 McConnell Six Rd 05 2022-10-03          0.089831566           1.9
## 172          Pollard 10 2022-10-03          0.039382239           0.4
## 173    br. sud amont 01 2022-10-03          0.037487829           2.8
## 174         Morrison 06 2022-10-03          0.123465576           1.0
## 175             Malt 11 2022-10-03          0.001341682           0.4
## 176          Suggary 02 2022-10-03          0.008076358           0.3
## 177     Waugh sanct. 07 2022-10-03          0.057261843           1.3
## 178          Dempsey 12 2022-10-03          0.047244094           1.3
## 179 Branche sud aval 03 2022-10-03          0.027911970           1.6
## 180        Pok amont 04 2022-10-03          0.071280992           1.5
## 181 Branche sud aval 03 2022-11-01          0.089831566           2.6
## 182           Sewell 08 2022-11-01          0.018867925           5.4
## 183        Pok amont 04 2022-11-01          0.123465576           0.8
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919           2.6
## 185 McConnell Six Rd 05 2022-11-01          0.071280992           2.0
## 186          Pollard 10 2022-11-01          0.039382239           0.7
## 187    br. sud amont 01 2022-11-01          0.037487829           4.8
## 188         Morrison 06 2022-11-01          0.047244094           2.8
## 189             Malt 11 2022-11-01          0.001341682           1.5
## 190          Suggary 02 2022-11-01          0.008076358           0.7
## 191     Waugh sanct. 07 2022-11-01          0.057261843           1.6
## 192          Dempsey 12 2022-11-01          0.027911970           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la Turbidité et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Colour_TCU))
##               Station2       Date pctC_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01            0.3383654        5.0
## 2          Morrison 06 2001-08-01            0.3916010       10.0
## 3              Malt 11 2001-08-01            0.3939882       10.0
## 4           Suggary 02 2001-08-01            0.3522727        5.0
## 5      Waugh sanct. 07 2001-08-01            0.4073359       20.0
## 6           Dempsey 12 2001-08-01            0.3592989       15.0
## 7  Branche sud aval 03 2001-08-01            0.2777975        5.0
## 8            Sewell 08 2001-08-01            0.3135135        5.0
## 9         Pok amont 04 2001-08-01            0.1466001        0.0
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415        0.0
## 11 McConnell Six Rd 05 2001-08-01            0.2245081        5.0
## 12          Pollard 10 2001-08-01            0.2511013        5.0
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415        5.0
## 14          Pollard 10 2001-08-28            0.2511013        5.0
## 15    br. sud amont 01 2001-08-28            0.3383654        5.0
## 16         Morrison 06 2001-08-28            0.3916010        5.0
## 17             Malt 11 2001-08-28            0.3939882        5.0
## 18          Suggary 02 2001-08-28            0.3522727       10.0
## 19     Waugh sanct. 07 2001-08-28            0.4073359       10.0
## 20          Dempsey 12 2001-08-28            0.3592989       15.0
## 21 Branche sud aval 03 2001-08-28            0.2777975        5.0
## 22           Sewell 08 2001-08-28            0.3135135       30.0
## 23        Pok amont 04 2001-08-28            0.1466001        5.0
## 24 McConnell Six Rd 05 2001-08-28            0.2245081        5.0
## 25        Pok amont 04 2001-09-26            0.1466001       10.0
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415       30.0
## 27 McConnell Six Rd 05 2001-09-26            0.2245081       15.0
## 28          Pollard 10 2001-09-26            0.2511013       20.0
## 29    br. sud amont 01 2001-09-26            0.3383654      200.0
## 30         Morrison 06 2001-09-26            0.3916010        5.0
## 31             Malt 11 2001-09-26            0.3939882       20.0
## 32          Suggary 02 2001-09-26            0.3522727        5.0
## 33     Waugh sanct. 07 2001-09-26            0.4073359       10.0
## 34          Dempsey 12 2001-09-26            0.3592989       20.0
## 35 Branche sud aval 03 2001-09-26            0.2777975       10.0
## 36           Sewell 08 2001-09-26            0.3135135       30.0
## 37           Sewell 08 2001-10-31            0.3135135       80.0
## 38        Pok amont 04 2001-10-31            0.1466001        5.0
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415       20.0
## 40         Morrison 06 2001-10-31            0.3916010       15.0
## 41 McConnell Six Rd 05 2001-10-31            0.2245081      120.0
## 42          Pollard 10 2001-10-31            0.2511013       10.0
## 43    br. sud amont 01 2001-10-31            0.3383654       30.0
## 44          Dempsey 12 2001-10-31            0.3592989       30.0
## 45             Malt 11 2001-10-31            0.3939882       10.0
## 46          Suggary 02 2001-10-31            0.3522727       30.0
## 47     Waugh sanct. 07 2001-10-31            0.4073359      100.0
## 48 Branche sud aval 03 2001-10-31            0.2777975       20.0
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415       10.0
## 50 Branche sud aval 03 2002-07-29            0.2777975       15.0
## 51           Sewell 08 2002-07-29            0.3135135       40.0
## 52        Pok amont 04 2002-07-29            0.1466001        5.0
## 53    br. sud amont 01 2002-07-29            0.3383654       15.0
## 54         Morrison 06 2002-07-29            0.3916010       10.0
## 55 McConnell Six Rd 05 2002-07-29            0.2245081       80.0
## 56          Pollard 10 2002-07-29            0.2511013       10.0
## 57     Waugh sanct. 07 2002-07-29            0.4073359       40.0
## 58          Dempsey 12 2002-07-29            0.3592989       20.0
## 59             Malt 11 2002-07-29            0.3939882        5.0
## 60          Suggary 02 2002-07-29            0.3522727        5.0
## 61        Pok amont 04 2002-08-28            0.1466001        5.0
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415       20.0
## 63          Dempsey 12 2002-08-28            0.3592989       40.0
## 64 Branche sud aval 03 2002-08-28            0.2777975       15.0
## 65           Sewell 08 2002-08-28            0.3135135       40.0
## 66          Pollard 10 2002-08-28            0.2511013       10.0
## 67    br. sud amont 01 2002-08-28            0.3383654       10.0
## 68         Morrison 06 2002-08-28            0.3916010       10.0
## 69 McConnell Six Rd 05 2002-08-28            0.2245081       20.0
## 70          Suggary 02 2002-08-28            0.3522727        7.5
## 71     Waugh sanct. 07 2002-08-28            0.4073359       30.0
## 72             Malt 11 2002-08-28            0.3939882       10.0
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415        5.0
## 74           Sewell 08 2002-10-02            0.3135135       60.0
## 75        Pok amont 04 2002-10-02            0.1466001        5.0
## 76     Waugh sanct. 07 2002-10-02            0.4073359       20.0
## 77          Dempsey 12 2002-10-02            0.3592989       20.0
## 78 Branche sud aval 03 2002-10-02            0.2777975       15.0
## 79 McConnell Six Rd 05 2002-10-02            0.2245081       60.0
## 80          Pollard 10 2002-10-02            0.2511013       10.0
## 81    br. sud amont 01 2002-10-02            0.3383654       10.0
## 82         Morrison 06 2002-10-02            0.3916010       10.0
## 83             Malt 11 2002-10-02            0.3939882        5.0
## 84          Suggary 02 2002-10-02            0.3522727        5.0
## 85        Pok amont 04 2002-10-31            0.1466001        5.0
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415       20.0
## 87 Branche sud aval 03 2002-10-31            0.2777975        NaN
## 88           Sewell 08 2002-10-31            0.3135135       60.0
## 89          Suggary 02 2002-10-31            0.3522727        5.0
## 90     Waugh sanct. 07 2002-10-31            0.4073359       60.0
## 91          Dempsey 12 2002-10-31            0.3592989       30.0
## 92         Morrison 06 2002-10-31            0.3916010        5.0
## 93 McConnell Six Rd 05 2002-10-31            0.2245081       75.0
## 94          Pollard 10 2002-10-31            0.2511013        5.0
## 95    br. sud amont 01 2002-10-31            0.3383654       30.0
## 96             Malt 11 2002-10-31            0.3939882       15.0
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Colour_TCU))
##                Station2       Date pctC_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28          0.057261843          8
## 98           Dempsey 12 2021-07-28          0.047244094         22
## 99  Branche sud aval 03 2021-07-28          0.027911970         19
## 100           Sewell 08 2021-07-28          0.071280992         34
## 101     Waugh sanct. 07 2021-07-28          0.039382239         27
## 102    br. sud amont 01 2021-07-28          0.037487829         15
## 103         Morrison 06 2021-07-28          0.123465576         14
## 104             Malt 11 2021-07-28          0.006418919          7
## 105 McConnell Six Rd 05 2021-07-28          0.089831566         29
## 106          Pollard 10 2021-07-28          0.018867925          8
## 107        Pok amont 04 2021-07-28          0.001341682         11
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358          9
## 109             Malt 11 2021-08-31          0.018867925          5
## 110          Suggary 02 2021-08-31          0.008076358          5
## 111     Waugh sanct. 07 2021-08-31          0.057261843         14
## 112          Dempsey 12 2021-08-31          0.047244094         14
## 113 Branche sud aval 03 2021-08-31          0.027911970         20
## 114           Sewell 08 2021-08-31          0.071280992         24
## 115          Pollard 10 2021-08-31          0.039382239          8
## 116    br. sud amont 01 2021-08-31          0.037487829         12
## 117         Morrison 06 2021-08-31          0.123465576         18
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919          8
## 119 McConnell Six Rd 05 2021-08-31          0.089831566         37
## 120        Pok amont 04 2021-08-31          0.001341682         10
## 121          Suggary 02 2021-10-05          0.089831566          8
## 122         Morrison 06 2021-10-05          0.018867925         22
## 123             Malt 11 2021-10-05          0.001341682         66
## 124           Sewell 08 2021-10-05          0.008076358         47
## 125     Waugh sanct. 07 2021-10-05          0.057261843        190
## 126          Dempsey 12 2021-10-05          0.047244094         55
## 127 Branche sud aval 03 2021-10-05          0.027911970         38
## 128 McConnell Six Rd 05 2021-10-05          0.071280992        141
## 129          Pollard 10 2021-10-05          0.039382239         19
## 130    br. sud amont 01 2021-10-05          0.037487829         44
## 131        Pok amont 04 2021-10-05          0.123465576         21
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919         33
## 133             Malt 11 2021-10-28          0.006418919         47
## 134          Suggary 02 2021-10-28          0.089831566          5
## 135    br. sud amont 01 2021-10-28          0.018867925         32
## 136         Morrison 06 2021-10-28          0.047244094         13
## 137 Branche sud aval 03 2021-10-28          0.001341682         22
## 138           Sewell 08 2021-10-28          0.008076358         43
## 139     Waugh sanct. 07 2021-10-28          0.057261843        130
## 140          Dempsey 12 2021-10-28          0.037487829         33
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970         15
## 142 McConnell Six Rd 05 2021-10-28          0.071280992        107
## 143          Pollard 10 2021-10-28          0.039382239         12
## 144        Pok amont 04 2021-10-28          0.123465576         13
## 145          Pollard 10 2022-07-28          0.018867925          5
## 146         Morrison 06 2022-07-28          0.123465576          7
## 147             Malt 11 2022-07-28          0.006418919          6
## 148          Suggary 02 2022-07-28          0.089831566          5
## 149    br. sud amont 01 2022-07-28          0.057261843         26
## 150          Dempsey 12 2022-07-28          0.047244094         16
## 151 Branche sud aval 03 2022-07-28          0.001341682         18
## 152           Sewell 08 2022-07-28          0.008076358         33
## 153     Waugh sanct. 07 2022-07-28          0.039382239         27
## 154        Pok amont 04 2022-07-28          0.037487829          7
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970          5
## 156 McConnell Six Rd 05 2022-07-28          0.071280992         15
## 157 McConnell Six Rd 05 2022-09-01          0.089831566         48
## 158          Pollard 10 2022-09-01          0.018867925         23
## 159    br. sud amont 01 2022-09-01          0.037487829         23
## 160         Morrison 06 2022-09-01          0.123465576         15
## 161             Malt 11 2022-09-01          0.006418919         10
## 162          Suggary 02 2022-09-01          0.008076358          8
## 163     Waugh sanct. 07 2022-09-01          0.057261843         61
## 164          Dempsey 12 2022-09-01          0.047244094         21
## 165 Branche sud aval 03 2022-09-01          0.001341682         21
## 166           Sewell 08 2022-09-01          0.071280992         43
## 167        Pok amont 04 2022-09-01          0.039382239         14
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970         41
## 169           Sewell 08 2022-10-03          0.018867925         71
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919          8
## 171 McConnell Six Rd 05 2022-10-03          0.089831566        130
## 172          Pollard 10 2022-10-03          0.039382239         10
## 173    br. sud amont 01 2022-10-03          0.037487829         20
## 174         Morrison 06 2022-10-03          0.123465576         10
## 175             Malt 11 2022-10-03          0.001341682          5
## 176          Suggary 02 2022-10-03          0.008076358          5
## 177     Waugh sanct. 07 2022-10-03          0.057261843         53
## 178          Dempsey 12 2022-10-03          0.047244094         16
## 179 Branche sud aval 03 2022-10-03          0.027911970         17
## 180        Pok amont 04 2022-10-03          0.071280992         12
## 181 Branche sud aval 03 2022-11-01          0.089831566         25
## 182           Sewell 08 2022-11-01          0.018867925         60
## 183        Pok amont 04 2022-11-01          0.123465576         11
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919         21
## 185 McConnell Six Rd 05 2022-11-01          0.071280992        148
## 186          Pollard 10 2022-11-01          0.039382239         11
## 187    br. sud amont 01 2022-11-01          0.037487829         42
## 188         Morrison 06 2022-11-01          0.047244094         13
## 189             Malt 11 2022-11-01          0.001341682         22
## 190          Suggary 02 2022-11-01          0.008076358          9
## 191     Waugh sanct. 07 2022-11-01          0.057261843        143
## 192          Dempsey 12 2022-11-01          0.027911970         28
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Coupeablanc_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctC_supdrainee_1990
## 1     br. sud amont 01 2001-08-01            0.3383654
## 2          Morrison 06 2001-08-01            0.3916010
## 3              Malt 11 2001-08-01            0.3939882
## 4           Suggary 02 2001-08-01            0.3522727
## 5      Waugh sanct. 07 2001-08-01            0.4073359
## 6           Dempsey 12 2001-08-01            0.3592989
## 7  Branche sud aval 03 2001-08-01            0.2777975
## 8            Sewell 08 2001-08-01            0.3135135
## 9         Pok amont 04 2001-08-01            0.1466001
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415
## 11 McConnell Six Rd 05 2001-08-01            0.2245081
## 12          Pollard 10 2001-08-01            0.2511013
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415
## 14          Pollard 10 2001-08-28            0.2511013
## 15    br. sud amont 01 2001-08-28            0.3383654
## 16         Morrison 06 2001-08-28            0.3916010
## 17             Malt 11 2001-08-28            0.3939882
## 18          Suggary 02 2001-08-28            0.3522727
## 19     Waugh sanct. 07 2001-08-28            0.4073359
## 20          Dempsey 12 2001-08-28            0.3592989
## 21 Branche sud aval 03 2001-08-28            0.2777975
## 22           Sewell 08 2001-08-28            0.3135135
## 23        Pok amont 04 2001-08-28            0.1466001
## 24 McConnell Six Rd 05 2001-08-28            0.2245081
## 25        Pok amont 04 2001-09-26            0.1466001
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415
## 27 McConnell Six Rd 05 2001-09-26            0.2245081
## 28          Pollard 10 2001-09-26            0.2511013
## 29    br. sud amont 01 2001-09-26            0.3383654
## 30         Morrison 06 2001-09-26            0.3916010
## 31             Malt 11 2001-09-26            0.3939882
## 32          Suggary 02 2001-09-26            0.3522727
## 33     Waugh sanct. 07 2001-09-26            0.4073359
## 34          Dempsey 12 2001-09-26            0.3592989
## 35 Branche sud aval 03 2001-09-26            0.2777975
## 36           Sewell 08 2001-09-26            0.3135135
## 37           Sewell 08 2001-10-31            0.3135135
## 38        Pok amont 04 2001-10-31            0.1466001
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415
## 40         Morrison 06 2001-10-31            0.3916010
## 41 McConnell Six Rd 05 2001-10-31            0.2245081
## 42          Pollard 10 2001-10-31            0.2511013
## 43    br. sud amont 01 2001-10-31            0.3383654
## 44          Dempsey 12 2001-10-31            0.3592989
## 45             Malt 11 2001-10-31            0.3939882
## 46          Suggary 02 2001-10-31            0.3522727
## 47     Waugh sanct. 07 2001-10-31            0.4073359
## 48 Branche sud aval 03 2001-10-31            0.2777975
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415
## 50 Branche sud aval 03 2002-07-29            0.2777975
## 51           Sewell 08 2002-07-29            0.3135135
## 52        Pok amont 04 2002-07-29            0.1466001
## 53    br. sud amont 01 2002-07-29            0.3383654
## 54         Morrison 06 2002-07-29            0.3916010
## 55 McConnell Six Rd 05 2002-07-29            0.2245081
## 56          Pollard 10 2002-07-29            0.2511013
## 57     Waugh sanct. 07 2002-07-29            0.4073359
## 58          Dempsey 12 2002-07-29            0.3592989
## 59             Malt 11 2002-07-29            0.3939882
## 60          Suggary 02 2002-07-29            0.3522727
## 61        Pok amont 04 2002-08-28            0.1466001
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415
## 63          Dempsey 12 2002-08-28            0.3592989
## 64 Branche sud aval 03 2002-08-28            0.2777975
## 65           Sewell 08 2002-08-28            0.3135135
## 66          Pollard 10 2002-08-28            0.2511013
## 67    br. sud amont 01 2002-08-28            0.3383654
## 68         Morrison 06 2002-08-28            0.3916010
## 69 McConnell Six Rd 05 2002-08-28            0.2245081
## 70          Suggary 02 2002-08-28            0.3522727
## 71     Waugh sanct. 07 2002-08-28            0.4073359
## 72             Malt 11 2002-08-28            0.3939882
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415
## 74           Sewell 08 2002-10-02            0.3135135
## 75        Pok amont 04 2002-10-02            0.1466001
## 76     Waugh sanct. 07 2002-10-02            0.4073359
## 77          Dempsey 12 2002-10-02            0.3592989
## 78 Branche sud aval 03 2002-10-02            0.2777975
## 79 McConnell Six Rd 05 2002-10-02            0.2245081
## 80          Pollard 10 2002-10-02            0.2511013
## 81    br. sud amont 01 2002-10-02            0.3383654
## 82         Morrison 06 2002-10-02            0.3916010
## 83             Malt 11 2002-10-02            0.3939882
## 84          Suggary 02 2002-10-02            0.3522727
## 85        Pok amont 04 2002-10-31            0.1466001
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415
## 87 Branche sud aval 03 2002-10-31            0.2777975
## 88           Sewell 08 2002-10-31            0.3135135
## 89          Suggary 02 2002-10-31            0.3522727
## 90     Waugh sanct. 07 2002-10-31            0.4073359
## 91          Dempsey 12 2002-10-31            0.3592989
## 92         Morrison 06 2002-10-31            0.3916010
## 93 McConnell Six Rd 05 2002-10-31            0.2245081
## 94          Pollard 10 2002-10-31            0.2511013
## 95    br. sud amont 01 2002-10-31            0.3383654
## 96             Malt 11 2002-10-31            0.3939882
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctC_supdrainee_2020
## 97           Suggary 02 2021-07-28          0.057261843
## 98           Dempsey 12 2021-07-28          0.047244094
## 99  Branche sud aval 03 2021-07-28          0.027911970
## 100           Sewell 08 2021-07-28          0.071280992
## 101     Waugh sanct. 07 2021-07-28          0.039382239
## 102    br. sud amont 01 2021-07-28          0.037487829
## 103         Morrison 06 2021-07-28          0.123465576
## 104             Malt 11 2021-07-28          0.006418919
## 105 McConnell Six Rd 05 2021-07-28          0.089831566
## 106          Pollard 10 2021-07-28          0.018867925
## 107        Pok amont 04 2021-07-28          0.001341682
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358
## 109             Malt 11 2021-08-31          0.018867925
## 110          Suggary 02 2021-08-31          0.008076358
## 111     Waugh sanct. 07 2021-08-31          0.057261843
## 112          Dempsey 12 2021-08-31          0.047244094
## 113 Branche sud aval 03 2021-08-31          0.027911970
## 114           Sewell 08 2021-08-31          0.071280992
## 115          Pollard 10 2021-08-31          0.039382239
## 116    br. sud amont 01 2021-08-31          0.037487829
## 117         Morrison 06 2021-08-31          0.123465576
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919
## 119 McConnell Six Rd 05 2021-08-31          0.089831566
## 120        Pok amont 04 2021-08-31          0.001341682
## 121          Suggary 02 2021-10-05          0.089831566
## 122         Morrison 06 2021-10-05          0.018867925
## 123             Malt 11 2021-10-05          0.001341682
## 124           Sewell 08 2021-10-05          0.008076358
## 125     Waugh sanct. 07 2021-10-05          0.057261843
## 126          Dempsey 12 2021-10-05          0.047244094
## 127 Branche sud aval 03 2021-10-05          0.027911970
## 128 McConnell Six Rd 05 2021-10-05          0.071280992
## 129          Pollard 10 2021-10-05          0.039382239
## 130    br. sud amont 01 2021-10-05          0.037487829
## 131        Pok amont 04 2021-10-05          0.123465576
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919
## 133             Malt 11 2021-10-28          0.006418919
## 134          Suggary 02 2021-10-28          0.089831566
## 135    br. sud amont 01 2021-10-28          0.018867925
## 136         Morrison 06 2021-10-28          0.047244094
## 137 Branche sud aval 03 2021-10-28          0.001341682
## 138           Sewell 08 2021-10-28          0.008076358
## 139     Waugh sanct. 07 2021-10-28          0.057261843
## 140          Dempsey 12 2021-10-28          0.037487829
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970
## 142 McConnell Six Rd 05 2021-10-28          0.071280992
## 143          Pollard 10 2021-10-28          0.039382239
## 144        Pok amont 04 2021-10-28          0.123465576
## 145          Pollard 10 2022-07-28          0.018867925
## 146         Morrison 06 2022-07-28          0.123465576
## 147             Malt 11 2022-07-28          0.006418919
## 148          Suggary 02 2022-07-28          0.089831566
## 149    br. sud amont 01 2022-07-28          0.057261843
## 150          Dempsey 12 2022-07-28          0.047244094
## 151 Branche sud aval 03 2022-07-28          0.001341682
## 152           Sewell 08 2022-07-28          0.008076358
## 153     Waugh sanct. 07 2022-07-28          0.039382239
## 154        Pok amont 04 2022-07-28          0.037487829
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970
## 156 McConnell Six Rd 05 2022-07-28          0.071280992
## 157 McConnell Six Rd 05 2022-09-01          0.089831566
## 158          Pollard 10 2022-09-01          0.018867925
## 159    br. sud amont 01 2022-09-01          0.037487829
## 160         Morrison 06 2022-09-01          0.123465576
## 161             Malt 11 2022-09-01          0.006418919
## 162          Suggary 02 2022-09-01          0.008076358
## 163     Waugh sanct. 07 2022-09-01          0.057261843
## 164          Dempsey 12 2022-09-01          0.047244094
## 165 Branche sud aval 03 2022-09-01          0.001341682
## 166           Sewell 08 2022-09-01          0.071280992
## 167        Pok amont 04 2022-09-01          0.039382239
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970
## 169           Sewell 08 2022-10-03          0.018867925
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919
## 171 McConnell Six Rd 05 2022-10-03          0.089831566
## 172          Pollard 10 2022-10-03          0.039382239
## 173    br. sud amont 01 2022-10-03          0.037487829
## 174         Morrison 06 2022-10-03          0.123465576
## 175             Malt 11 2022-10-03          0.001341682
## 176          Suggary 02 2022-10-03          0.008076358
## 177     Waugh sanct. 07 2022-10-03          0.057261843
## 178          Dempsey 12 2022-10-03          0.047244094
## 179 Branche sud aval 03 2022-10-03          0.027911970
## 180        Pok amont 04 2022-10-03          0.071280992
## 181 Branche sud aval 03 2022-11-01          0.089831566
## 182           Sewell 08 2022-11-01          0.018867925
## 183        Pok amont 04 2022-11-01          0.123465576
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919
## 185 McConnell Six Rd 05 2022-11-01          0.071280992
## 186          Pollard 10 2022-11-01          0.039382239
## 187    br. sud amont 01 2022-11-01          0.037487829
## 188         Morrison 06 2022-11-01          0.047244094
## 189             Malt 11 2022-11-01          0.001341682
## 190          Suggary 02 2022-11-01          0.008076358
## 191     Waugh sanct. 07 2022-11-01          0.057261843
## 192          Dempsey 12 2022-11-01          0.027911970
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la COT et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coupeablanc_vs_Coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctC_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01            0.3383654                10
## 2          Morrison 06 2001-08-01            0.3916010                80
## 3              Malt 11 2001-08-01            0.3939882                30
## 4           Suggary 02 2001-08-01            0.3522727                10
## 5      Waugh sanct. 07 2001-08-01            0.4073359               270
## 6           Dempsey 12 2001-08-01            0.3592989                50
## 7  Branche sud aval 03 2001-08-01            0.2777975                10
## 8            Sewell 08 2001-08-01            0.3135135                20
## 9         Pok amont 04 2001-08-01            0.1466001                10
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415                10
## 11 McConnell Six Rd 05 2001-08-01            0.2245081                30
## 12          Pollard 10 2001-08-01            0.2511013               110
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415                10
## 14          Pollard 10 2001-08-28            0.2511013                50
## 15    br. sud amont 01 2001-08-28            0.3383654               120
## 16         Morrison 06 2001-08-28            0.3916010                90
## 17             Malt 11 2001-08-28            0.3939882                20
## 18          Suggary 02 2001-08-28            0.3522727                80
## 19     Waugh sanct. 07 2001-08-28            0.4073359               430
## 20          Dempsey 12 2001-08-28            0.3592989                20
## 21 Branche sud aval 03 2001-08-28            0.2777975               110
## 22           Sewell 08 2001-08-28            0.3135135               210
## 23        Pok amont 04 2001-08-28            0.1466001                10
## 24 McConnell Six Rd 05 2001-08-28            0.2245081               250
## 25        Pok amont 04 2001-09-26            0.1466001               530
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415               830
## 27 McConnell Six Rd 05 2001-09-26            0.2245081               120
## 28          Pollard 10 2001-09-26            0.2511013              1240
## 29    br. sud amont 01 2001-09-26            0.3383654              2000
## 30         Morrison 06 2001-09-26            0.3916010               220
## 31             Malt 11 2001-09-26            0.3939882               150
## 32          Suggary 02 2001-09-26            0.3522727               150
## 33     Waugh sanct. 07 2001-09-26            0.4073359               590
## 34          Dempsey 12 2001-09-26            0.3592989               150
## 35 Branche sud aval 03 2001-09-26            0.2777975               660
## 36           Sewell 08 2001-09-26            0.3135135               190
## 37           Sewell 08 2001-10-31            0.3135135               140
## 38        Pok amont 04 2001-10-31            0.1466001                20
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415                10
## 40         Morrison 06 2001-10-31            0.3916010                10
## 41 McConnell Six Rd 05 2001-10-31            0.2245081               310
## 42          Pollard 10 2001-10-31            0.2511013                50
## 43    br. sud amont 01 2001-10-31            0.3383654                20
## 44          Dempsey 12 2001-10-31            0.3592989                10
## 45             Malt 11 2001-10-31            0.3939882               100
## 46          Suggary 02 2001-10-31            0.3522727                30
## 47     Waugh sanct. 07 2001-10-31            0.4073359               480
## 48 Branche sud aval 03 2001-10-31            0.2777975                30
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415                10
## 50 Branche sud aval 03 2002-07-29            0.2777975                30
## 51           Sewell 08 2002-07-29            0.3135135                60
## 52        Pok amont 04 2002-07-29            0.1466001                10
## 53    br. sud amont 01 2002-07-29            0.3383654                20
## 54         Morrison 06 2002-07-29            0.3916010                10
## 55 McConnell Six Rd 05 2002-07-29            0.2245081                10
## 56          Pollard 10 2002-07-29            0.2511013               660
## 57     Waugh sanct. 07 2002-07-29            0.4073359                80
## 58          Dempsey 12 2002-07-29            0.3592989                25
## 59             Malt 11 2002-07-29            0.3939882                10
## 60          Suggary 02 2002-07-29            0.3522727                10
## 61        Pok amont 04 2002-08-28            0.1466001                30
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415                10
## 63          Dempsey 12 2002-08-28            0.3592989                10
## 64 Branche sud aval 03 2002-08-28            0.2777975                20
## 65           Sewell 08 2002-08-28            0.3135135                10
## 66          Pollard 10 2002-08-28            0.2511013               180
## 67    br. sud amont 01 2002-08-28            0.3383654                80
## 68         Morrison 06 2002-08-28            0.3916010                20
## 69 McConnell Six Rd 05 2002-08-28            0.2245081               310
## 70          Suggary 02 2002-08-28            0.3522727                15
## 71     Waugh sanct. 07 2002-08-28            0.4073359               410
## 72             Malt 11 2002-08-28            0.3939882                30
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415                10
## 74           Sewell 08 2002-10-02            0.3135135                25
## 75        Pok amont 04 2002-10-02            0.1466001                10
## 76     Waugh sanct. 07 2002-10-02            0.4073359               700
## 77          Dempsey 12 2002-10-02            0.3592989                30
## 78 Branche sud aval 03 2002-10-02            0.2777975                40
## 79 McConnell Six Rd 05 2002-10-02            0.2245081               150
## 80          Pollard 10 2002-10-02            0.2511013                10
## 81    br. sud amont 01 2002-10-02            0.3383654                20
## 82         Morrison 06 2002-10-02            0.3916010                10
## 83             Malt 11 2002-10-02            0.3939882                90
## 84          Suggary 02 2002-10-02            0.3522727                20
## 85        Pok amont 04 2002-10-31            0.1466001                10
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415                10
## 87 Branche sud aval 03 2002-10-31            0.2777975                10
## 88           Sewell 08 2002-10-31            0.3135135                10
## 89          Suggary 02 2002-10-31            0.3522727                50
## 90     Waugh sanct. 07 2002-10-31            0.4073359                40
## 91          Dempsey 12 2002-10-31            0.3592989                10
## 92         Morrison 06 2002-10-31            0.3916010                10
## 93 McConnell Six Rd 05 2002-10-31            0.2245081                30
## 94          Pollard 10 2002-10-31            0.2511013                10
## 95    br. sud amont 01 2002-10-31            0.3383654                10
## 96             Malt 11 2002-10-31            0.3939882                10
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctC_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28          0.057261843              20.0
## 98           Dempsey 12 2021-07-28          0.047244094              52.0
## 99  Branche sud aval 03 2021-07-28          0.027911970              74.0
## 100           Sewell 08 2021-07-28          0.071280992              98.0
## 101     Waugh sanct. 07 2021-07-28          0.039382239              52.0
## 102    br. sud amont 01 2021-07-28          0.037487829              75.0
## 103         Morrison 06 2021-07-28          0.123465576              30.0
## 104             Malt 11 2021-07-28          0.006418919              10.0
## 105 McConnell Six Rd 05 2021-07-28          0.089831566              75.0
## 106          Pollard 10 2021-07-28          0.018867925              98.0
## 107        Pok amont 04 2021-07-28          0.001341682              10.0
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358              20.0
## 109             Malt 11 2021-08-31          0.018867925              39.3
## 110          Suggary 02 2021-08-31          0.008076358             235.9
## 111     Waugh sanct. 07 2021-08-31          0.057261843              68.3
## 112          Dempsey 12 2021-08-31          0.047244094              49.6
## 113 Branche sud aval 03 2021-08-31          0.027911970              54.5
## 114           Sewell 08 2021-08-31          0.071280992             148.3
## 115          Pollard 10 2021-08-31          0.039382239             117.8
## 116    br. sud amont 01 2021-08-31          0.037487829              72.7
## 117         Morrison 06 2021-08-31          0.123465576              25.6
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919              67.7
## 119 McConnell Six Rd 05 2021-08-31          0.089831566              70.3
## 120        Pok amont 04 2021-08-31          0.001341682              15.6
## 121          Suggary 02 2021-10-05          0.089831566              41.7
## 122         Morrison 06 2021-10-05          0.018867925              24.6
## 123             Malt 11 2021-10-05          0.001341682              47.1
## 124           Sewell 08 2021-10-05          0.008076358             135.4
## 125     Waugh sanct. 07 2021-10-05          0.057261843              29.5
## 126          Dempsey 12 2021-10-05          0.047244094              54.8
## 127 Branche sud aval 03 2021-10-05          0.027911970              37.3
## 128 McConnell Six Rd 05 2021-10-05          0.071280992              95.9
## 129          Pollard 10 2021-10-05          0.039382239              62.7
## 130    br. sud amont 01 2021-10-05          0.037487829              35.5
## 131        Pok amont 04 2021-10-05          0.123465576              10.8
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919              27.5
## 133             Malt 11 2021-10-28          0.006418919              16.0
## 134          Suggary 02 2021-10-28          0.089831566               7.4
## 135    br. sud amont 01 2021-10-28          0.018867925              19.9
## 136         Morrison 06 2021-10-28          0.047244094              12.1
## 137 Branche sud aval 03 2021-10-28          0.001341682              39.9
## 138           Sewell 08 2021-10-28          0.008076358              48.1
## 139     Waugh sanct. 07 2021-10-28          0.057261843              38.4
## 140          Dempsey 12 2021-10-28          0.037487829              52.0
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970              24.3
## 142 McConnell Six Rd 05 2021-10-28          0.071280992              29.5
## 143          Pollard 10 2021-10-28          0.039382239              34.5
## 144        Pok amont 04 2021-10-28          0.123465576              14.6
## 145          Pollard 10 2022-07-28          0.018867925              57.6
## 146         Morrison 06 2022-07-28          0.123465576             133.4
## 147             Malt 11 2022-07-28          0.006418919              70.3
## 148          Suggary 02 2022-07-28          0.089831566              27.5
## 149    br. sud amont 01 2022-07-28          0.057261843              32.7
## 150          Dempsey 12 2022-07-28          0.047244094              41.7
## 151 Branche sud aval 03 2022-07-28          0.001341682              59.8
## 152           Sewell 08 2022-07-28          0.008076358              90.6
## 153     Waugh sanct. 07 2022-07-28          0.039382239              93.3
## 154        Pok amont 04 2022-07-28          0.037487829              77.1
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970              22.8
## 156 McConnell Six Rd 05 2022-07-28          0.071280992             488.4
## 157 McConnell Six Rd 05 2022-09-01          0.089831566              82.0
## 158          Pollard 10 2022-09-01          0.018867925            1046.2
## 159    br. sud amont 01 2022-09-01          0.037487829             114.5
## 160         Morrison 06 2022-09-01          0.123465576             686.7
## 161             Malt 11 2022-09-01          0.006418919              69.1
## 162          Suggary 02 2022-09-01          0.008076358              40.2
## 163     Waugh sanct. 07 2022-09-01          0.057261843              88.0
## 164          Dempsey 12 2022-09-01          0.047244094             248.1
## 165 Branche sud aval 03 2022-09-01          0.001341682              70.3
## 166           Sewell 08 2022-09-01          0.071280992             172.2
## 167        Pok amont 04 2022-09-01          0.039382239               5.2
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970             121.1
## 169           Sewell 08 2022-10-03          0.018867925              48.8
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919              44.1
## 171 McConnell Six Rd 05 2022-10-03          0.089831566              59.1
## 172          Pollard 10 2022-10-03          0.039382239              24.1
## 173    br. sud amont 01 2022-10-03          0.037487829              57.6
## 174         Morrison 06 2022-10-03          0.123465576              47.4
## 175             Malt 11 2022-10-03          0.001341682               5.2
## 176          Suggary 02 2022-10-03          0.008076358               9.7
## 177     Waugh sanct. 07 2022-10-03          0.057261843              65.7
## 178          Dempsey 12 2022-10-03          0.047244094              48.0
## 179 Branche sud aval 03 2022-10-03          0.027911970              13.4
## 180        Pok amont 04 2022-10-03          0.071280992               8.4
## 181 Branche sud aval 03 2022-11-01          0.089831566              24.6
## 182           Sewell 08 2022-11-01          0.018867925             115.3
## 183        Pok amont 04 2022-11-01          0.123465576               5.2
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919               3.1
## 185 McConnell Six Rd 05 2022-11-01          0.071280992              72.3
## 186          Pollard 10 2022-11-01          0.039382239              20.3
## 187    br. sud amont 01 2022-11-01          0.037487829              37.3
## 188         Morrison 06 2022-11-01          0.047244094              39.9
## 189             Malt 11 2022-11-01          0.001341682              45.0
## 190          Suggary 02 2022-11-01          0.008076358               8.5
## 191     Waugh sanct. 07 2022-11-01          0.057261843             249.5
## 192          Dempsey 12 2022-11-01          0.027911970              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=E.coli_MPN_100.mL,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=E.coli_MPN_100.mL),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le coliforme et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coupeablanc_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctC_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01            0.3383654                0.0080
## 2          Morrison 06 2001-08-01            0.3916010                0.0080
## 3              Malt 11 2001-08-01            0.3939882                0.0110
## 4           Suggary 02 2001-08-01            0.3522727                0.0090
## 5      Waugh sanct. 07 2001-08-01            0.4073359                0.0150
## 6           Dempsey 12 2001-08-01            0.3592989                0.0140
## 7  Branche sud aval 03 2001-08-01            0.2777975                0.0080
## 8            Sewell 08 2001-08-01            0.3135135                0.0110
## 9         Pok amont 04 2001-08-01            0.1466001                0.0110
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415                0.0090
## 11 McConnell Six Rd 05 2001-08-01            0.2245081                0.0160
## 12          Pollard 10 2001-08-01            0.2511013                0.0150
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415                0.0070
## 14          Pollard 10 2001-08-28            0.2511013                0.0170
## 15    br. sud amont 01 2001-08-28            0.3383654                0.0060
## 16         Morrison 06 2001-08-28            0.3916010                0.0080
## 17             Malt 11 2001-08-28            0.3939882                0.0080
## 18          Suggary 02 2001-08-28            0.3522727                0.0080
## 19     Waugh sanct. 07 2001-08-28            0.4073359                0.0090
## 20          Dempsey 12 2001-08-28            0.3592989                0.0110
## 21 Branche sud aval 03 2001-08-28            0.2777975                0.0070
## 22           Sewell 08 2001-08-28            0.3135135                0.0170
## 23        Pok amont 04 2001-08-28            0.1466001                0.0060
## 24 McConnell Six Rd 05 2001-08-28            0.2245081                0.0130
## 25        Pok amont 04 2001-09-26            0.1466001                0.0130
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415                0.0140
## 27 McConnell Six Rd 05 2001-09-26            0.2245081                0.0130
## 28          Pollard 10 2001-09-26            0.2511013                0.0155
## 29    br. sud amont 01 2001-09-26            0.3383654                0.0130
## 30         Morrison 06 2001-09-26            0.3916010                0.0080
## 31             Malt 11 2001-09-26            0.3939882                0.0120
## 32          Suggary 02 2001-09-26            0.3522727                0.0090
## 33     Waugh sanct. 07 2001-09-26            0.4073359                0.0140
## 34          Dempsey 12 2001-09-26            0.3592989                0.0190
## 35 Branche sud aval 03 2001-09-26            0.2777975                0.0090
## 36           Sewell 08 2001-09-26            0.3135135                0.0120
## 37           Sewell 08 2001-10-31            0.3135135                0.0120
## 38        Pok amont 04 2001-10-31            0.1466001                0.0050
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415                0.0050
## 40         Morrison 06 2001-10-31            0.3916010                0.0060
## 41 McConnell Six Rd 05 2001-10-31            0.2245081                0.0110
## 42          Pollard 10 2001-10-31            0.2511013                0.0080
## 43    br. sud amont 01 2001-10-31            0.3383654                0.0050
## 44          Dempsey 12 2001-10-31            0.3592989                0.0090
## 45             Malt 11 2001-10-31            0.3939882                0.0070
## 46          Suggary 02 2001-10-31            0.3522727                0.0080
## 47     Waugh sanct. 07 2001-10-31            0.4073359                0.0120
## 48 Branche sud aval 03 2001-10-31            0.2777975                0.0050
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415                0.0050
## 50 Branche sud aval 03 2002-07-29            0.2777975                0.0070
## 51           Sewell 08 2002-07-29            0.3135135                0.0200
## 52        Pok amont 04 2002-07-29            0.1466001                0.0060
## 53    br. sud amont 01 2002-07-29            0.3383654                0.0060
## 54         Morrison 06 2002-07-29            0.3916010                0.0080
## 55 McConnell Six Rd 05 2002-07-29            0.2245081                0.0130
## 56          Pollard 10 2002-07-29            0.2511013                0.0230
## 57     Waugh sanct. 07 2002-07-29            0.4073359                0.0120
## 58          Dempsey 12 2002-07-29            0.3592989                0.0100
## 59             Malt 11 2002-07-29            0.3939882                0.0090
## 60          Suggary 02 2002-07-29            0.3522727                0.0070
## 61        Pok amont 04 2002-08-28            0.1466001                0.0100
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415                0.0090
## 63          Dempsey 12 2002-08-28            0.3592989                0.0130
## 64 Branche sud aval 03 2002-08-28            0.2777975                0.0080
## 65           Sewell 08 2002-08-28            0.3135135                0.0100
## 66          Pollard 10 2002-08-28            0.2511013                0.0160
## 67    br. sud amont 01 2002-08-28            0.3383654                0.0070
## 68         Morrison 06 2002-08-28            0.3916010                0.0090
## 69 McConnell Six Rd 05 2002-08-28            0.2245081                0.0140
## 70          Suggary 02 2002-08-28            0.3522727                0.0100
## 71     Waugh sanct. 07 2002-08-28            0.4073359                0.0130
## 72             Malt 11 2002-08-28            0.3939882                0.0110
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415                0.0070
## 74           Sewell 08 2002-10-02            0.3135135                0.0155
## 75        Pok amont 04 2002-10-02            0.1466001                0.0060
## 76     Waugh sanct. 07 2002-10-02            0.4073359                0.0090
## 77          Dempsey 12 2002-10-02            0.3592989                0.0120
## 78 Branche sud aval 03 2002-10-02            0.2777975                0.0080
## 79 McConnell Six Rd 05 2002-10-02            0.2245081                0.0110
## 80          Pollard 10 2002-10-02            0.2511013                0.0110
## 81    br. sud amont 01 2002-10-02            0.3383654                0.0050
## 82         Morrison 06 2002-10-02            0.3916010                0.0050
## 83             Malt 11 2002-10-02            0.3939882                0.0080
## 84          Suggary 02 2002-10-02            0.3522727                0.0070
## 85        Pok amont 04 2002-10-31            0.1466001                0.0060
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415                0.0050
## 87 Branche sud aval 03 2002-10-31            0.2777975                0.0050
## 88           Sewell 08 2002-10-31            0.3135135                0.0130
## 89          Suggary 02 2002-10-31            0.3522727                0.0050
## 90     Waugh sanct. 07 2002-10-31            0.4073359                0.0080
## 91          Dempsey 12 2002-10-31            0.3592989                0.0080
## 92         Morrison 06 2002-10-31            0.3916010                0.0050
## 93 McConnell Six Rd 05 2002-10-31            0.2245081                0.0090
## 94          Pollard 10 2002-10-31            0.2511013                0.0060
## 95    br. sud amont 01 2002-10-31            0.3383654                0.0065
## 96             Malt 11 2002-10-31            0.3939882                0.0050
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctC_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28          0.057261843                 0.018
## 98           Dempsey 12 2021-07-28          0.047244094                 0.024
## 99  Branche sud aval 03 2021-07-28          0.027911970                 0.022
## 100           Sewell 08 2021-07-28          0.071280992                 0.028
## 101     Waugh sanct. 07 2021-07-28          0.039382239                 0.017
## 102    br. sud amont 01 2021-07-28          0.037487829                 0.016
## 103         Morrison 06 2021-07-28          0.123465576                 0.019
## 104             Malt 11 2021-07-28          0.006418919                 0.014
## 105 McConnell Six Rd 05 2021-07-28          0.089831566                 0.026
## 106          Pollard 10 2021-07-28          0.018867925                 0.051
## 107        Pok amont 04 2021-07-28          0.001341682                 0.022
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358                 0.014
## 109             Malt 11 2021-08-31          0.018867925                 0.005
## 110          Suggary 02 2021-08-31          0.008076358                 0.011
## 111     Waugh sanct. 07 2021-08-31          0.057261843                 0.006
## 112          Dempsey 12 2021-08-31          0.047244094                 0.014
## 113 Branche sud aval 03 2021-08-31          0.027911970                 0.009
## 114           Sewell 08 2021-08-31          0.071280992                 0.015
## 115          Pollard 10 2021-08-31          0.039382239                 0.073
## 116    br. sud amont 01 2021-08-31          0.037487829                 0.016
## 117         Morrison 06 2021-08-31          0.123465576                 0.016
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919                 0.012
## 119 McConnell Six Rd 05 2021-08-31          0.089831566                 0.029
## 120        Pok amont 04 2021-08-31          0.001341682                 0.008
## 121          Suggary 02 2021-10-05          0.089831566                 0.007
## 122         Morrison 06 2021-10-05          0.018867925                 0.010
## 123             Malt 11 2021-10-05          0.001341682                 0.012
## 124           Sewell 08 2021-10-05          0.008076358                 0.024
## 125     Waugh sanct. 07 2021-10-05          0.057261843                 0.019
## 126          Dempsey 12 2021-10-05          0.047244094                 0.018
## 127 Branche sud aval 03 2021-10-05          0.027911970                 0.015
## 128 McConnell Six Rd 05 2021-10-05          0.071280992                 0.025
## 129          Pollard 10 2021-10-05          0.039382239                 0.037
## 130    br. sud amont 01 2021-10-05          0.037487829                 0.019
## 131        Pok amont 04 2021-10-05          0.123465576                 0.008
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919                 0.011
## 133             Malt 11 2021-10-28          0.006418919                 0.009
## 134          Suggary 02 2021-10-28          0.089831566                 0.009
## 135    br. sud amont 01 2021-10-28          0.018867925                 0.013
## 136         Morrison 06 2021-10-28          0.047244094                 0.011
## 137 Branche sud aval 03 2021-10-28          0.001341682                 0.022
## 138           Sewell 08 2021-10-28          0.008076358                 0.020
## 139     Waugh sanct. 07 2021-10-28          0.057261843                 0.018
## 140          Dempsey 12 2021-10-28          0.037487829                 0.015
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970                 0.010
## 142 McConnell Six Rd 05 2021-10-28          0.071280992                 0.018
## 143          Pollard 10 2021-10-28          0.039382239                 0.033
## 144        Pok amont 04 2021-10-28          0.123465576                 0.013
## 145          Pollard 10 2022-07-28          0.018867925                 0.034
## 146         Morrison 06 2022-07-28          0.123465576                 0.014
## 147             Malt 11 2022-07-28          0.006418919                 0.008
## 148          Suggary 02 2022-07-28          0.089831566                 0.009
## 149    br. sud amont 01 2022-07-28          0.057261843                 0.016
## 150          Dempsey 12 2022-07-28          0.047244094                 0.017
## 151 Branche sud aval 03 2022-07-28          0.001341682                 0.013
## 152           Sewell 08 2022-07-28          0.008076358                 0.019
## 153     Waugh sanct. 07 2022-07-28          0.039382239                 0.011
## 154        Pok amont 04 2022-07-28          0.037487829                 0.009
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970                 0.009
## 156 McConnell Six Rd 05 2022-07-28          0.071280992                 0.019
## 157 McConnell Six Rd 05 2022-09-01          0.089831566                 0.024
## 158          Pollard 10 2022-09-01          0.018867925                 0.075
## 159    br. sud amont 01 2022-09-01          0.037487829                 0.015
## 160         Morrison 06 2022-09-01          0.123465576                 0.021
## 161             Malt 11 2022-09-01          0.006418919                 0.008
## 162          Suggary 02 2022-09-01          0.008076358                 0.010
## 163     Waugh sanct. 07 2022-09-01          0.057261843                 0.021
## 164          Dempsey 12 2022-09-01          0.047244094                 0.021
## 165 Branche sud aval 03 2022-09-01          0.001341682                 0.016
## 166           Sewell 08 2022-09-01          0.071280992                 0.019
## 167        Pok amont 04 2022-09-01          0.039382239                 0.010
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970                 0.012
## 169           Sewell 08 2022-10-03          0.018867925                 0.016
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919                 0.019
## 171 McConnell Six Rd 05 2022-10-03          0.089831566                 0.022
## 172          Pollard 10 2022-10-03          0.039382239                 0.049
## 173    br. sud amont 01 2022-10-03          0.037487829                 0.016
## 174         Morrison 06 2022-10-03          0.123465576                 0.014
## 175             Malt 11 2022-10-03          0.001341682                 0.007
## 176          Suggary 02 2022-10-03          0.008076358                 0.005
## 177     Waugh sanct. 07 2022-10-03          0.057261843                 0.013
## 178          Dempsey 12 2022-10-03          0.047244094                 0.013
## 179 Branche sud aval 03 2022-10-03          0.027911970                 0.009
## 180        Pok amont 04 2022-10-03          0.071280992                 0.013
## 181 Branche sud aval 03 2022-11-01          0.089831566                 0.013
## 182           Sewell 08 2022-11-01          0.018867925                 0.021
## 183        Pok amont 04 2022-11-01          0.123465576                 0.011
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919                 0.017
## 185 McConnell Six Rd 05 2022-11-01          0.071280992                 0.020
## 186          Pollard 10 2022-11-01          0.039382239                 0.041
## 187    br. sud amont 01 2022-11-01          0.037487829                 0.020
## 188         Morrison 06 2022-11-01          0.047244094                 0.018
## 189             Malt 11 2022-11-01          0.001341682                 0.009
## 190          Suggary 02 2022-11-01          0.008076358                 0.010
## 191     Waugh sanct. 07 2022-11-01          0.057261843                 0.017
## 192          Dempsey 12 2022-11-01          0.027911970                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coupeablanc_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctC_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctC_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01            0.3383654            0.0500
## 2          Morrison 06 2001-08-01            0.3916010            0.0940
## 3              Malt 11 2001-08-01            0.3939882            0.0500
## 4           Suggary 02 2001-08-01            0.3522727            0.0500
## 5      Waugh sanct. 07 2001-08-01            0.4073359            0.0500
## 6           Dempsey 12 2001-08-01            0.3592989            0.0500
## 7  Branche sud aval 03 2001-08-01            0.2777975            0.0500
## 8            Sewell 08 2001-08-01            0.3135135            0.1360
## 9         Pok amont 04 2001-08-01            0.1466001            0.0500
## 10 Trout Val-Doucet 09 2001-08-01            0.4726415            0.0500
## 11 McConnell Six Rd 05 2001-08-01            0.2245081            0.2510
## 12          Pollard 10 2001-08-01            0.2511013            0.2600
## 13 Trout Val-Doucet 09 2001-08-28            0.4726415            0.0500
## 14          Pollard 10 2001-08-28            0.2511013            0.3010
## 15    br. sud amont 01 2001-08-28            0.3383654            0.0500
## 16         Morrison 06 2001-08-28            0.3916010            0.0910
## 17             Malt 11 2001-08-28            0.3939882            0.0500
## 18          Suggary 02 2001-08-28            0.3522727            0.0500
## 19     Waugh sanct. 07 2001-08-28            0.4073359            0.0500
## 20          Dempsey 12 2001-08-28            0.3592989            0.0500
## 21 Branche sud aval 03 2001-08-28            0.2777975            0.0500
## 22           Sewell 08 2001-08-28            0.3135135            0.1330
## 23        Pok amont 04 2001-08-28            0.1466001            0.0500
## 24 McConnell Six Rd 05 2001-08-28            0.2245081            0.2810
## 25        Pok amont 04 2001-09-26            0.1466001            0.0500
## 26 Trout Val-Doucet 09 2001-09-26            0.4726415            0.0500
## 27 McConnell Six Rd 05 2001-09-26            0.2245081            0.2110
## 28          Pollard 10 2001-09-26            0.2511013            0.1845
## 29    br. sud amont 01 2001-09-26            0.3383654            0.0770
## 30         Morrison 06 2001-09-26            0.3916010            0.0500
## 31             Malt 11 2001-09-26            0.3939882            0.0500
## 32          Suggary 02 2001-09-26            0.3522727            0.0500
## 33     Waugh sanct. 07 2001-09-26            0.4073359            0.0500
## 34          Dempsey 12 2001-09-26            0.3592989            0.0500
## 35 Branche sud aval 03 2001-09-26            0.2777975            0.0500
## 36           Sewell 08 2001-09-26            0.3135135            0.0500
## 37           Sewell 08 2001-10-31            0.3135135            0.0500
## 38        Pok amont 04 2001-10-31            0.1466001            0.0500
## 39 Trout Val-Doucet 09 2001-10-31            0.4726415            0.0500
## 40         Morrison 06 2001-10-31            0.3916010            0.0500
## 41 McConnell Six Rd 05 2001-10-31            0.2245081            0.0500
## 42          Pollard 10 2001-10-31            0.2511013            0.2300
## 43    br. sud amont 01 2001-10-31            0.3383654            0.0500
## 44          Dempsey 12 2001-10-31            0.3592989            0.0500
## 45             Malt 11 2001-10-31            0.3939882            0.0500
## 46          Suggary 02 2001-10-31            0.3522727            0.0500
## 47     Waugh sanct. 07 2001-10-31            0.4073359            0.0500
## 48 Branche sud aval 03 2001-10-31            0.2777975            0.0500
## 49 Trout Val-Doucet 09 2002-07-29            0.4726415            0.0500
## 50 Branche sud aval 03 2002-07-29            0.2777975            0.0500
## 51           Sewell 08 2002-07-29            0.3135135            0.2200
## 52        Pok amont 04 2002-07-29            0.1466001            0.0700
## 53    br. sud amont 01 2002-07-29            0.3383654            0.0500
## 54         Morrison 06 2002-07-29            0.3916010            0.0700
## 55 McConnell Six Rd 05 2002-07-29            0.2245081            0.2800
## 56          Pollard 10 2002-07-29            0.2511013            0.3300
## 57     Waugh sanct. 07 2002-07-29            0.4073359            0.0500
## 58          Dempsey 12 2002-07-29            0.3592989            0.0500
## 59             Malt 11 2002-07-29            0.3939882            0.0500
## 60          Suggary 02 2002-07-29            0.3522727            0.1900
## 61        Pok amont 04 2002-08-28            0.1466001            0.0700
## 62 Trout Val-Doucet 09 2002-08-28            0.4726415            0.0500
## 63          Dempsey 12 2002-08-28            0.3592989            0.0500
## 64 Branche sud aval 03 2002-08-28            0.2777975            0.0500
## 65           Sewell 08 2002-08-28            0.3135135            0.0500
## 66          Pollard 10 2002-08-28            0.2511013            0.1800
## 67    br. sud amont 01 2002-08-28            0.3383654            0.0500
## 68         Morrison 06 2002-08-28            0.3916010            0.0700
## 69 McConnell Six Rd 05 2002-08-28            0.2245081            0.3000
## 70          Suggary 02 2002-08-28            0.3522727            0.1750
## 71     Waugh sanct. 07 2002-08-28            0.4073359            0.0500
## 72             Malt 11 2002-08-28            0.3939882            0.0500
## 73 Trout Val-Doucet 09 2002-10-02            0.4726415            0.0500
## 74           Sewell 08 2002-10-02            0.3135135            0.0500
## 75        Pok amont 04 2002-10-02            0.1466001            0.0500
## 76     Waugh sanct. 07 2002-10-02            0.4073359            0.0500
## 77          Dempsey 12 2002-10-02            0.3592989            0.0500
## 78 Branche sud aval 03 2002-10-02            0.2777975            0.0500
## 79 McConnell Six Rd 05 2002-10-02            0.2245081            0.1900
## 80          Pollard 10 2002-10-02            0.2511013            0.1300
## 81    br. sud amont 01 2002-10-02            0.3383654            0.0500
## 82         Morrison 06 2002-10-02            0.3916010            0.0500
## 83             Malt 11 2002-10-02            0.3939882            0.0500
## 84          Suggary 02 2002-10-02            0.3522727            0.1300
## 85        Pok amont 04 2002-10-31            0.1466001            0.0500
## 86 Trout Val-Doucet 09 2002-10-31            0.4726415            0.0500
## 87 Branche sud aval 03 2002-10-31            0.2777975            0.0500
## 88           Sewell 08 2002-10-31            0.3135135            0.2300
## 89          Suggary 02 2002-10-31            0.3522727            0.1500
## 90     Waugh sanct. 07 2002-10-31            0.4073359            0.0800
## 91          Dempsey 12 2002-10-31            0.3592989            0.0500
## 92         Morrison 06 2002-10-31            0.3916010            0.0700
## 93 McConnell Six Rd 05 2002-10-31            0.2245081            0.2200
## 94          Pollard 10 2002-10-31            0.2511013            0.1900
## 95    br. sud amont 01 2002-10-31            0.3383654            0.0500
## 96             Malt 11 2002-10-31            0.3939882            0.1300
subset(Period2, select=c(Station2, Date, pctC_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctC_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28          0.057261843              0.11
## 98           Dempsey 12 2021-07-28          0.047244094              0.08
## 99  Branche sud aval 03 2021-07-28          0.027911970              0.05
## 100           Sewell 08 2021-07-28          0.071280992              0.17
## 101     Waugh sanct. 07 2021-07-28          0.039382239              0.06
## 102    br. sud amont 01 2021-07-28          0.037487829              0.08
## 103         Morrison 06 2021-07-28          0.123465576              0.05
## 104             Malt 11 2021-07-28          0.006418919              0.06
## 105 McConnell Six Rd 05 2021-07-28          0.089831566              0.21
## 106          Pollard 10 2021-07-28          0.018867925              0.40
## 107        Pok amont 04 2021-07-28          0.001341682              0.12
## 108 Trout Val-Doucet 09 2021-07-28          0.008076358              0.18
## 109             Malt 11 2021-08-31          0.018867925              0.06
## 110          Suggary 02 2021-08-31          0.008076358              0.12
## 111     Waugh sanct. 07 2021-08-31          0.057261843              0.05
## 112          Dempsey 12 2021-08-31          0.047244094              0.08
## 113 Branche sud aval 03 2021-08-31          0.027911970              0.06
## 114           Sewell 08 2021-08-31          0.071280992              0.12
## 115          Pollard 10 2021-08-31          0.039382239              0.32
## 116    br. sud amont 01 2021-08-31          0.037487829              0.05
## 117         Morrison 06 2021-08-31          0.123465576              0.05
## 118 Trout Val-Doucet 09 2021-08-31          0.006418919              0.14
## 119 McConnell Six Rd 05 2021-08-31          0.089831566              0.21
## 120        Pok amont 04 2021-08-31          0.001341682              0.10
## 121          Suggary 02 2021-10-05          0.089831566              0.17
## 122         Morrison 06 2021-10-05          0.018867925              0.06
## 123             Malt 11 2021-10-05          0.001341682              0.12
## 124           Sewell 08 2021-10-05          0.008076358              0.13
## 125     Waugh sanct. 07 2021-10-05          0.057261843              0.05
## 126          Dempsey 12 2021-10-05          0.047244094              0.09
## 127 Branche sud aval 03 2021-10-05          0.027911970              0.05
## 128 McConnell Six Rd 05 2021-10-05          0.071280992              0.33
## 129          Pollard 10 2021-10-05          0.039382239              0.38
## 130    br. sud amont 01 2021-10-05          0.037487829              0.05
## 131        Pok amont 04 2021-10-05          0.123465576              0.11
## 132 Trout Val-Doucet 09 2021-10-05          0.006418919              0.22
## 133             Malt 11 2021-10-28          0.006418919              0.07
## 134          Suggary 02 2021-10-28          0.089831566              0.15
## 135    br. sud amont 01 2021-10-28          0.018867925              0.05
## 136         Morrison 06 2021-10-28          0.047244094              0.08
## 137 Branche sud aval 03 2021-10-28          0.001341682              0.07
## 138           Sewell 08 2021-10-28          0.008076358              0.14
## 139     Waugh sanct. 07 2021-10-28          0.057261843              0.05
## 140          Dempsey 12 2021-10-28          0.037487829              0.10
## 141 Trout Val-Doucet 09 2021-10-28          0.027911970              0.27
## 142 McConnell Six Rd 05 2021-10-28          0.071280992              0.36
## 143          Pollard 10 2021-10-28          0.039382239              0.38
## 144        Pok amont 04 2021-10-28          0.123465576              0.13
## 145          Pollard 10 2022-07-28          0.018867925              0.40
## 146         Morrison 06 2022-07-28          0.123465576              0.08
## 147             Malt 11 2022-07-28          0.006418919              0.06
## 148          Suggary 02 2022-07-28          0.089831566              0.11
## 149    br. sud amont 01 2022-07-28          0.057261843              0.05
## 150          Dempsey 12 2022-07-28          0.047244094              0.11
## 151 Branche sud aval 03 2022-07-28          0.001341682              0.07
## 152           Sewell 08 2022-07-28          0.008076358              0.17
## 153     Waugh sanct. 07 2022-07-28          0.039382239              0.05
## 154        Pok amont 04 2022-07-28          0.037487829              0.07
## 155 Trout Val-Doucet 09 2022-07-28          0.027911970              0.15
## 156 McConnell Six Rd 05 2022-07-28          0.071280992              0.36
## 157 McConnell Six Rd 05 2022-09-01          0.089831566              0.26
## 158          Pollard 10 2022-09-01          0.018867925              0.53
## 159    br. sud amont 01 2022-09-01          0.037487829              0.05
## 160         Morrison 06 2022-09-01          0.123465576              0.06
## 161             Malt 11 2022-09-01          0.006418919              0.10
## 162          Suggary 02 2022-09-01          0.008076358              0.13
## 163     Waugh sanct. 07 2022-09-01          0.057261843              0.10
## 164          Dempsey 12 2022-09-01          0.047244094              0.15
## 165 Branche sud aval 03 2022-09-01          0.001341682              0.06
## 166           Sewell 08 2022-09-01          0.071280992              0.17
## 167        Pok amont 04 2022-09-01          0.039382239              0.06
## 168 Trout Val-Doucet 09 2022-09-01          0.027911970              0.12
## 169           Sewell 08 2022-10-03          0.018867925              0.08
## 170 Trout Val-Doucet 09 2022-10-03          0.006418919              0.11
## 171 McConnell Six Rd 05 2022-10-03          0.089831566              0.27
## 172          Pollard 10 2022-10-03          0.039382239              0.50
## 173    br. sud amont 01 2022-10-03          0.037487829              0.06
## 174         Morrison 06 2022-10-03          0.123465576              0.05
## 175             Malt 11 2022-10-03          0.001341682              0.06
## 176          Suggary 02 2022-10-03          0.008076358              0.15
## 177     Waugh sanct. 07 2022-10-03          0.057261843              0.09
## 178          Dempsey 12 2022-10-03          0.047244094              0.09
## 179 Branche sud aval 03 2022-10-03          0.027911970              0.05
## 180        Pok amont 04 2022-10-03          0.071280992              0.05
## 181 Branche sud aval 03 2022-11-01          0.089831566              0.05
## 182           Sewell 08 2022-11-01          0.018867925              0.15
## 183        Pok amont 04 2022-11-01          0.123465576              0.07
## 184 Trout Val-Doucet 09 2022-11-01          0.006418919              0.14
## 185 McConnell Six Rd 05 2022-11-01          0.071280992              0.25
## 186          Pollard 10 2022-11-01          0.039382239              0.54
## 187    br. sud amont 01 2022-11-01          0.037487829              0.07
## 188         Morrison 06 2022-11-01          0.047244094              0.09
## 189             Malt 11 2022-11-01          0.001341682              0.07
## 190          Suggary 02 2022-11-01          0.008076358              0.16
## 191     Waugh sanct. 07 2022-11-01          0.057261843              0.06
## 192          Dempsey 12 2022-11-01          0.027911970              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctC_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctC_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctC_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctC_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les coupes à blanc",
x=" Les coupes à blanc (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

c: superficie boisé

# Crée la variable pourcentage


Period1$pctB_supdrainee_1990 = Period1$B_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctB_supdrainee_2020 = Period1$B_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

Boisé_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctB_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01           0.00000000              11.5
## 2          Morrison 06 2001-08-01           0.02152231              10.2
## 3              Malt 11 2001-08-01           0.00000000              25.2
## 4           Suggary 02 2001-08-01           0.00000000              14.4
## 5      Waugh sanct. 07 2001-08-01           0.00000000              10.8
## 6           Dempsey 12 2001-08-01           0.00000000              20.4
## 7  Branche sud aval 03 2001-08-01           0.18484255              13.5
## 8            Sewell 08 2001-08-01           0.00000000              12.8
## 9         Pok amont 04 2001-08-01           0.49407361              11.4
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585              14.5
## 11 McConnell Six Rd 05 2001-08-01           0.00000000               9.0
## 12          Pollard 10 2001-08-01           0.00000000              15.1
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585               9.3
## 14          Pollard 10 2001-08-28           0.00000000              12.0
## 15    br. sud amont 01 2001-08-28           0.00000000              10.0
## 16         Morrison 06 2001-08-28           0.02152231               NaN
## 17             Malt 11 2001-08-28           0.00000000               8.8
## 18          Suggary 02 2001-08-28           0.00000000              13.0
## 19     Waugh sanct. 07 2001-08-28           0.00000000              10.6
## 20          Dempsey 12 2001-08-28           0.00000000              13.5
## 21 Branche sud aval 03 2001-08-28           0.18484255              11.5
## 22           Sewell 08 2001-08-28           0.00000000              13.5
## 23        Pok amont 04 2001-08-28           0.49407361               8.4
## 24 McConnell Six Rd 05 2001-08-28           0.00000000              10.9
## 25        Pok amont 04 2001-09-26           0.49407361               9.8
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585              10.7
## 27 McConnell Six Rd 05 2001-09-26           0.00000000              11.8
## 28          Pollard 10 2001-09-26           0.00000000              12.7
## 29    br. sud amont 01 2001-09-26           0.00000000              11.5
## 30         Morrison 06 2001-09-26           0.02152231              11.2
## 31             Malt 11 2001-09-26           0.00000000               9.3
## 32          Suggary 02 2001-09-26           0.00000000              12.9
## 33     Waugh sanct. 07 2001-09-26           0.00000000              10.4
## 34          Dempsey 12 2001-09-26           0.00000000              13.4
## 35 Branche sud aval 03 2001-09-26           0.18484255              12.0
## 36           Sewell 08 2001-09-26           0.00000000              12.9
## 37           Sewell 08 2001-10-31           0.00000000               1.4
## 38        Pok amont 04 2001-10-31           0.49407361               4.8
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585               3.0
## 40         Morrison 06 2001-10-31           0.02152231               1.8
## 41 McConnell Six Rd 05 2001-10-31           0.00000000               2.1
## 42          Pollard 10 2001-10-31           0.00000000               3.3
## 43    br. sud amont 01 2001-10-31           0.00000000               2.7
## 44          Dempsey 12 2001-10-31           0.00000000               3.9
## 45             Malt 11 2001-10-31           0.00000000               4.8
## 46          Suggary 02 2001-10-31           0.00000000               2.1
## 47     Waugh sanct. 07 2001-10-31           0.00000000               2.7
## 48 Branche sud aval 03 2001-10-31           0.18484255               2.3
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585              17.5
## 50 Branche sud aval 03 2002-07-29           0.18484255              15.7
## 51           Sewell 08 2002-07-29           0.00000000              16.8
## 52        Pok amont 04 2002-07-29           0.49407361              13.3
## 53    br. sud amont 01 2002-07-29           0.00000000              14.7
## 54         Morrison 06 2002-07-29           0.02152231              17.3
## 55 McConnell Six Rd 05 2002-07-29           0.00000000              17.4
## 56          Pollard 10 2002-07-29           0.00000000              17.0
## 57     Waugh sanct. 07 2002-07-29           0.00000000              16.4
## 58          Dempsey 12 2002-07-29           0.00000000              15.6
## 59             Malt 11 2002-07-29           0.00000000              14.9
## 60          Suggary 02 2002-07-29           0.00000000              17.9
## 61        Pok amont 04 2002-08-28           0.49407361               8.0
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585              10.2
## 63          Dempsey 12 2002-08-28           0.00000000              13.2
## 64 Branche sud aval 03 2002-08-28           0.18484255              11.3
## 65           Sewell 08 2002-08-28           0.00000000              13.1
## 66          Pollard 10 2002-08-28           0.00000000              11.1
## 67    br. sud amont 01 2002-08-28           0.00000000              11.1
## 68         Morrison 06 2002-08-28           0.02152231               9.9
## 69 McConnell Six Rd 05 2002-08-28           0.00000000              12.9
## 70          Suggary 02 2002-08-28           0.00000000              10.6
## 71     Waugh sanct. 07 2002-08-28           0.00000000              10.1
## 72             Malt 11 2002-08-28           0.00000000               7.9
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585              10.7
## 74           Sewell 08 2002-10-02           0.00000000              12.7
## 75        Pok amont 04 2002-10-02           0.49407361               7.8
## 76     Waugh sanct. 07 2002-10-02           0.00000000              10.7
## 77          Dempsey 12 2002-10-02           0.00000000              11.1
## 78 Branche sud aval 03 2002-10-02           0.18484255              10.9
## 79 McConnell Six Rd 05 2002-10-02           0.00000000              12.9
## 80          Pollard 10 2002-10-02           0.00000000              10.8
## 81    br. sud amont 01 2002-10-02           0.00000000              11.0
## 82         Morrison 06 2002-10-02           0.02152231              10.5
## 83             Malt 11 2002-10-02           0.00000000               7.8
## 84          Suggary 02 2002-10-02           0.00000000              10.3
## 85        Pok amont 04 2002-10-31           0.49407361               4.6
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585               2.7
## 87 Branche sud aval 03 2002-10-31           0.18484255               NaN
## 88           Sewell 08 2002-10-31           0.00000000               1.6
## 89          Suggary 02 2002-10-31           0.00000000               2.7
## 90     Waugh sanct. 07 2002-10-31           0.00000000               2.7
## 91          Dempsey 12 2002-10-31           0.00000000               3.3
## 92         Morrison 06 2002-10-31           0.02152231               1.7
## 93 McConnell Six Rd 05 2002-10-31           0.00000000               2.3
## 94          Pollard 10 2002-10-31           0.00000000               2.7
## 95    br. sud amont 01 2002-10-31           0.00000000               2.5
## 96             Malt 11 2002-10-31           0.00000000               4.4
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctB_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28          0.000000000              11.5
## 98           Dempsey 12 2021-07-28          0.017322835              16.1
## 99  Branche sud aval 03 2021-07-28          0.000000000              15.5
## 100           Sewell 08 2021-07-28          0.000000000              14.2
## 101     Waugh sanct. 07 2021-07-28          0.000000000              12.1
## 102    br. sud amont 01 2021-07-28          0.000000000              14.0
## 103         Morrison 06 2021-07-28          0.121775485              15.7
## 104             Malt 11 2021-07-28          0.000000000              11.7
## 105 McConnell Six Rd 05 2021-07-28          0.379288833              16.9
## 106          Pollard 10 2021-07-28          0.001886792              14.6
## 107        Pok amont 04 2021-07-28          0.000000000              11.2
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000              11.9
## 109             Malt 11 2021-08-31          0.001886792              12.0
## 110          Suggary 02 2021-08-31          0.000000000              11.0
## 111     Waugh sanct. 07 2021-08-31          0.000000000              12.8
## 112          Dempsey 12 2021-08-31          0.017322835              15.0
## 113 Branche sud aval 03 2021-08-31          0.000000000              15.0
## 114           Sewell 08 2021-08-31          0.000000000              14.6
## 115          Pollard 10 2021-08-31          0.000000000              15.7
## 116    br. sud amont 01 2021-08-31          0.000000000              13.7
## 117         Morrison 06 2021-08-31          0.121775485              14.9
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000              11.7
## 119 McConnell Six Rd 05 2021-08-31          0.379288833              16.4
## 120        Pok amont 04 2021-08-31          0.000000000              10.8
## 121          Suggary 02 2021-10-05          0.379288833               6.3
## 122         Morrison 06 2021-10-05          0.001886792               7.0
## 123             Malt 11 2021-10-05          0.000000000               8.5
## 124           Sewell 08 2021-10-05          0.000000000               8.0
## 125     Waugh sanct. 07 2021-10-05          0.000000000               9.0
## 126          Dempsey 12 2021-10-05          0.017322835               8.7
## 127 Branche sud aval 03 2021-10-05          0.000000000               7.9
## 128 McConnell Six Rd 05 2021-10-05          0.000000000               7.9
## 129          Pollard 10 2021-10-05          0.000000000               8.7
## 130    br. sud amont 01 2021-10-05          0.000000000               7.3
## 131        Pok amont 04 2021-10-05          0.121775485               7.4
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000               6.4
## 133             Malt 11 2021-10-28          0.000000000               7.1
## 134          Suggary 02 2021-10-28          0.379288833               6.7
## 135    br. sud amont 01 2021-10-28          0.001886792               7.0
## 136         Morrison 06 2021-10-28          0.017322835               6.4
## 137 Branche sud aval 03 2021-10-28          0.000000000               6.7
## 138           Sewell 08 2021-10-28          0.000000000               7.4
## 139     Waugh sanct. 07 2021-10-28          0.000000000               7.3
## 140          Dempsey 12 2021-10-28          0.000000000               7.3
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000               6.7
## 142 McConnell Six Rd 05 2021-10-28          0.000000000               7.2
## 143          Pollard 10 2021-10-28          0.000000000               7.5
## 144        Pok amont 04 2021-10-28          0.121775485               7.2
## 145          Pollard 10 2022-07-28          0.001886792              14.2
## 146         Morrison 06 2022-07-28          0.121775485              13.3
## 147             Malt 11 2022-07-28          0.000000000              12.9
## 148          Suggary 02 2022-07-28          0.379288833              11.4
## 149    br. sud amont 01 2022-07-28          0.000000000              14.9
## 150          Dempsey 12 2022-07-28          0.017322835              15.3
## 151 Branche sud aval 03 2022-07-28          0.000000000              15.5
## 152           Sewell 08 2022-07-28          0.000000000              15.1
## 153     Waugh sanct. 07 2022-07-28          0.000000000              13.1
## 154        Pok amont 04 2022-07-28          0.000000000              11.9
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000              11.1
## 156 McConnell Six Rd 05 2022-07-28          0.000000000              13.8
## 157 McConnell Six Rd 05 2022-09-01          0.379288833              16.2
## 158          Pollard 10 2022-09-01          0.001886792              15.1
## 159    br. sud amont 01 2022-09-01          0.000000000              14.8
## 160         Morrison 06 2022-09-01          0.121775485              15.0
## 161             Malt 11 2022-09-01          0.000000000              12.3
## 162          Suggary 02 2022-09-01          0.000000000              11.9
## 163     Waugh sanct. 07 2022-09-01          0.000000000              14.0
## 164          Dempsey 12 2022-09-01          0.017322835              15.0
## 165 Branche sud aval 03 2022-09-01          0.000000000              16.2
## 166           Sewell 08 2022-09-01          0.000000000              15.9
## 167        Pok amont 04 2022-09-01          0.000000000              12.1
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000              12.9
## 169           Sewell 08 2022-10-03          0.001886792               6.2
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000               4.7
## 171 McConnell Six Rd 05 2022-10-03          0.379288833               6.5
## 172          Pollard 10 2022-10-03          0.000000000               6.5
## 173    br. sud amont 01 2022-10-03          0.000000000               5.6
## 174         Morrison 06 2022-10-03          0.121775485               4.7
## 175             Malt 11 2022-10-03          0.000000000               7.9
## 176          Suggary 02 2022-10-03          0.000000000               4.5
## 177     Waugh sanct. 07 2022-10-03          0.000000000               6.3
## 178          Dempsey 12 2022-10-03          0.017322835               6.0
## 179 Branche sud aval 03 2022-10-03          0.000000000               6.2
## 180        Pok amont 04 2022-10-03          0.000000000               6.5
## 181 Branche sud aval 03 2022-11-01          0.379288833               6.5
## 182           Sewell 08 2022-11-01          0.001886792               7.1
## 183        Pok amont 04 2022-11-01          0.121775485               6.3
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000               6.1
## 185 McConnell Six Rd 05 2022-11-01          0.000000000               7.4
## 186          Pollard 10 2022-11-01          0.000000000               8.0
## 187    br. sud amont 01 2022-11-01          0.000000000               7.0
## 188         Morrison 06 2022-11-01          0.017322835               5.9
## 189             Malt 11 2022-11-01          0.000000000               7.6
## 190          Suggary 02 2022-11-01          0.000000000               6.5
## 191     Waugh sanct. 07 2022-11-01          0.000000000               7.3
## 192          Dempsey 12 2022-11-01          0.000000000               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Boisé_vs_oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctB_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01           0.00000000                 11.30
## 2          Morrison 06 2001-08-01           0.02152231                 10.60
## 3              Malt 11 2001-08-01           0.00000000                 11.80
## 4           Suggary 02 2001-08-01           0.00000000                 10.50
## 5      Waugh sanct. 07 2001-08-01           0.00000000                 10.40
## 6           Dempsey 12 2001-08-01           0.00000000                  8.10
## 7  Branche sud aval 03 2001-08-01           0.18484255                 11.00
## 8            Sewell 08 2001-08-01           0.00000000                 11.10
## 9         Pok amont 04 2001-08-01           0.49407361                  9.70
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585                 10.50
## 11 McConnell Six Rd 05 2001-08-01           0.00000000                 12.10
## 12          Pollard 10 2001-08-01           0.00000000                  9.50
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585                 10.60
## 14          Pollard 10 2001-08-28           0.00000000                  9.60
## 15    br. sud amont 01 2001-08-28           0.00000000                 10.12
## 16         Morrison 06 2001-08-28           0.02152231                   NaN
## 17             Malt 11 2001-08-28           0.00000000                 10.60
## 18          Suggary 02 2001-08-28           0.00000000                  9.45
## 19     Waugh sanct. 07 2001-08-28           0.00000000                 10.00
## 20          Dempsey 12 2001-08-28           0.00000000                  8.80
## 21 Branche sud aval 03 2001-08-28           0.18484255                 10.00
## 22           Sewell 08 2001-08-28           0.00000000                  9.40
## 23        Pok amont 04 2001-08-28           0.49407361                 10.50
## 24 McConnell Six Rd 05 2001-08-28           0.00000000                 10.00
## 25        Pok amont 04 2001-09-26           0.49407361                  8.00
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585                  9.00
## 27 McConnell Six Rd 05 2001-09-26           0.00000000                  8.51
## 28          Pollard 10 2001-09-26           0.00000000                  8.40
## 29    br. sud amont 01 2001-09-26           0.00000000                  8.50
## 30         Morrison 06 2001-09-26           0.02152231                  8.60
## 31             Malt 11 2001-09-26           0.00000000                  9.00
## 32          Suggary 02 2001-09-26           0.00000000                  8.44
## 33     Waugh sanct. 07 2001-09-26           0.00000000                  8.62
## 34          Dempsey 12 2001-09-26           0.00000000                  8.30
## 35 Branche sud aval 03 2001-09-26           0.18484255                  9.20
## 36           Sewell 08 2001-09-26           0.00000000                  7.92
## 37           Sewell 08 2001-10-31           0.00000000                  7.70
## 38        Pok amont 04 2001-10-31           0.49407361                  8.40
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585                  9.46
## 40         Morrison 06 2001-10-31           0.02152231                  9.84
## 41 McConnell Six Rd 05 2001-10-31           0.00000000                  8.70
## 42          Pollard 10 2001-10-31           0.00000000                  8.85
## 43    br. sud amont 01 2001-10-31           0.00000000                  7.80
## 44          Dempsey 12 2001-10-31           0.00000000                  8.43
## 45             Malt 11 2001-10-31           0.00000000                  9.20
## 46          Suggary 02 2001-10-31           0.00000000                  7.30
## 47     Waugh sanct. 07 2001-10-31           0.00000000                  8.00
## 48 Branche sud aval 03 2001-10-31           0.18484255                  9.57
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585                  8.01
## 50 Branche sud aval 03 2002-07-29           0.18484255                  8.50
## 51           Sewell 08 2002-07-29           0.00000000                  7.60
## 52        Pok amont 04 2002-07-29           0.49407361                  8.17
## 53    br. sud amont 01 2002-07-29           0.00000000                  8.65
## 54         Morrison 06 2002-07-29           0.02152231                  9.76
## 55 McConnell Six Rd 05 2002-07-29           0.00000000                  7.10
## 56          Pollard 10 2002-07-29           0.00000000                  7.45
## 57     Waugh sanct. 07 2002-07-29           0.00000000                  7.90
## 58          Dempsey 12 2002-07-29           0.00000000                  8.30
## 59             Malt 11 2002-07-29           0.00000000                  8.90
## 60          Suggary 02 2002-07-29           0.00000000                  8.20
## 61        Pok amont 04 2002-08-28           0.49407361                 10.65
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585                  9.46
## 63          Dempsey 12 2002-08-28           0.00000000                  8.20
## 64 Branche sud aval 03 2002-08-28           0.18484255                 10.41
## 65           Sewell 08 2002-08-28           0.00000000                  9.80
## 66          Pollard 10 2002-08-28           0.00000000                  9.02
## 67    br. sud amont 01 2002-08-28           0.00000000                 10.20
## 68         Morrison 06 2002-08-28           0.02152231                 11.17
## 69 McConnell Six Rd 05 2002-08-28           0.00000000                 11.05
## 70          Suggary 02 2002-08-28           0.00000000                 11.24
## 71     Waugh sanct. 07 2002-08-28           0.00000000                 10.00
## 72             Malt 11 2002-08-28           0.00000000                 10.00
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585                  4.42
## 74           Sewell 08 2002-10-02           0.00000000                  6.84
## 75        Pok amont 04 2002-10-02           0.49407361                  7.20
## 76     Waugh sanct. 07 2002-10-02           0.00000000                  6.10
## 77          Dempsey 12 2002-10-02           0.00000000                  5.70
## 78 Branche sud aval 03 2002-10-02           0.18484255                  7.10
## 79 McConnell Six Rd 05 2002-10-02           0.00000000                  7.49
## 80          Pollard 10 2002-10-02           0.00000000                  6.80
## 81    br. sud amont 01 2002-10-02           0.00000000                  7.16
## 82         Morrison 06 2002-10-02           0.02152231                  7.60
## 83             Malt 11 2002-10-02           0.00000000                  6.40
## 84          Suggary 02 2002-10-02           0.00000000                  8.08
## 85        Pok amont 04 2002-10-31           0.49407361                  7.50
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585                  8.50
## 87 Branche sud aval 03 2002-10-31           0.18484255                   NaN
## 88           Sewell 08 2002-10-31           0.00000000                  8.30
## 89          Suggary 02 2002-10-31           0.00000000                  8.60
## 90     Waugh sanct. 07 2002-10-31           0.00000000                  7.00
## 91          Dempsey 12 2002-10-31           0.00000000                  7.40
## 92         Morrison 06 2002-10-31           0.02152231                  8.30
## 93 McConnell Six Rd 05 2002-10-31           0.00000000                  7.60
## 94          Pollard 10 2002-10-31           0.00000000                  7.60
## 95    br. sud amont 01 2002-10-31           0.00000000                  8.20
## 96             Malt 11 2002-10-31           0.00000000                  8.00
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctB_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28          0.000000000                  9.68
## 98           Dempsey 12 2021-07-28          0.017322835                  9.38
## 99  Branche sud aval 03 2021-07-28          0.000000000                  8.51
## 100           Sewell 08 2021-07-28          0.000000000                  9.29
## 101     Waugh sanct. 07 2021-07-28          0.000000000                  9.84
## 102    br. sud amont 01 2021-07-28          0.000000000                  8.43
## 103         Morrison 06 2021-07-28          0.121775485                  9.04
## 104             Malt 11 2021-07-28          0.000000000                  9.73
## 105 McConnell Six Rd 05 2021-07-28          0.379288833                  8.70
## 106          Pollard 10 2021-07-28          0.001886792                  9.81
## 107        Pok amont 04 2021-07-28          0.000000000                  9.22
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000                 10.29
## 109             Malt 11 2021-08-31          0.001886792                 11.07
## 110          Suggary 02 2021-08-31          0.000000000                 10.16
## 111     Waugh sanct. 07 2021-08-31          0.000000000                 10.03
## 112          Dempsey 12 2021-08-31          0.017322835                  9.51
## 113 Branche sud aval 03 2021-08-31          0.000000000                  8.83
## 114           Sewell 08 2021-08-31          0.000000000                  8.18
## 115          Pollard 10 2021-08-31          0.000000000                  8.15
## 116    br. sud amont 01 2021-08-31          0.000000000                  7.94
## 117         Morrison 06 2021-08-31          0.121775485                  9.14
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000                 10.42
## 119 McConnell Six Rd 05 2021-08-31          0.379288833                  8.54
## 120        Pok amont 04 2021-08-31          0.000000000                  8.70
## 121          Suggary 02 2021-10-05          0.379288833                 12.14
## 122         Morrison 06 2021-10-05          0.001886792                 11.19
## 123             Malt 11 2021-10-05          0.000000000                 10.27
## 124           Sewell 08 2021-10-05          0.000000000                 11.17
## 125     Waugh sanct. 07 2021-10-05          0.000000000                 10.42
## 126          Dempsey 12 2021-10-05          0.017322835                 10.86
## 127 Branche sud aval 03 2021-10-05          0.000000000                 10.40
## 128 McConnell Six Rd 05 2021-10-05          0.000000000                 10.87
## 129          Pollard 10 2021-10-05          0.000000000                 11.29
## 130    br. sud amont 01 2021-10-05          0.000000000                 10.74
## 131        Pok amont 04 2021-10-05          0.121775485                 10.75
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000                 11.40
## 133             Malt 11 2021-10-28          0.000000000                 10.50
## 134          Suggary 02 2021-10-28          0.379288833                 11.68
## 135    br. sud amont 01 2021-10-28          0.001886792                 10.93
## 136         Morrison 06 2021-10-28          0.017322835                 11.66
## 137 Branche sud aval 03 2021-10-28          0.000000000                 11.22
## 138           Sewell 08 2021-10-28          0.000000000                 11.44
## 139     Waugh sanct. 07 2021-10-28          0.000000000                 10.96
## 140          Dempsey 12 2021-10-28          0.000000000                  8.77
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000                 11.26
## 142 McConnell Six Rd 05 2021-10-28          0.000000000                 10.41
## 143          Pollard 10 2021-10-28          0.000000000                 10.54
## 144        Pok amont 04 2021-10-28          0.121775485                 10.80
## 145          Pollard 10 2022-07-28          0.001886792                 10.75
## 146         Morrison 06 2022-07-28          0.121775485                 10.00
## 147             Malt 11 2022-07-28          0.000000000                 11.60
## 148          Suggary 02 2022-07-28          0.379288833                 11.40
## 149    br. sud amont 01 2022-07-28          0.000000000                  8.64
## 150          Dempsey 12 2022-07-28          0.017322835                  9.34
## 151 Branche sud aval 03 2022-07-28          0.000000000                  9.55
## 152           Sewell 08 2022-07-28          0.000000000                  9.50
## 153     Waugh sanct. 07 2022-07-28          0.000000000                  9.90
## 154        Pok amont 04 2022-07-28          0.000000000                  9.52
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000                 11.52
## 156 McConnell Six Rd 05 2022-07-28          0.000000000                 10.40
## 157 McConnell Six Rd 05 2022-09-01          0.379288833                  9.19
## 158          Pollard 10 2022-09-01          0.001886792                 10.25
## 159    br. sud amont 01 2022-09-01          0.000000000                  8.28
## 160         Morrison 06 2022-09-01          0.121775485                  9.52
## 161             Malt 11 2022-09-01          0.000000000                 11.08
## 162          Suggary 02 2022-09-01          0.000000000                 10.24
## 163     Waugh sanct. 07 2022-09-01          0.000000000                  9.22
## 164          Dempsey 12 2022-09-01          0.017322835                  9.44
## 165 Branche sud aval 03 2022-09-01          0.000000000                  8.95
## 166           Sewell 08 2022-09-01          0.000000000                  9.02
## 167        Pok amont 04 2022-09-01          0.000000000                  8.82
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000                 10.06
## 169           Sewell 08 2022-10-03          0.001886792                 10.03
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000                 12.38
## 171 McConnell Six Rd 05 2022-10-03          0.379288833                 12.20
## 172          Pollard 10 2022-10-03          0.000000000                 13.04
## 173    br. sud amont 01 2022-10-03          0.000000000                 11.04
## 174         Morrison 06 2022-10-03          0.121775485                 12.92
## 175             Malt 11 2022-10-03          0.000000000                 12.67
## 176          Suggary 02 2022-10-03          0.000000000                 13.13
## 177     Waugh sanct. 07 2022-10-03          0.000000000                 12.07
## 178          Dempsey 12 2022-10-03          0.017322835                 11.87
## 179 Branche sud aval 03 2022-10-03          0.000000000                 12.21
## 180        Pok amont 04 2022-10-03          0.000000000                 10.04
## 181 Branche sud aval 03 2022-11-01          0.379288833                 12.07
## 182           Sewell 08 2022-11-01          0.001886792                 12.13
## 183        Pok amont 04 2022-11-01          0.121775485                 10.55
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000                 12.12
## 185 McConnell Six Rd 05 2022-11-01          0.000000000                 11.17
## 186          Pollard 10 2022-11-01          0.000000000                 10.85
## 187    br. sud amont 01 2022-11-01          0.000000000                 11.78
## 188         Morrison 06 2022-11-01          0.017322835                 12.66
## 189             Malt 11 2022-11-01          0.000000000                 11.63
## 190          Suggary 02 2022-11-01          0.000000000                 12.35
## 191     Waugh sanct. 07 2022-11-01          0.000000000                  9.42
## 192          Dempsey 12 2022-11-01          0.000000000                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Boisé_vs_conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctB_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01           0.00000000                  171.0
## 2          Morrison 06 2001-08-01           0.02152231                  114.0
## 3              Malt 11 2001-08-01           0.00000000                  108.0
## 4           Suggary 02 2001-08-01           0.00000000                  118.0
## 5      Waugh sanct. 07 2001-08-01           0.00000000                  133.0
## 6           Dempsey 12 2001-08-01           0.00000000                  128.0
## 7  Branche sud aval 03 2001-08-01           0.18484255                  115.0
## 8            Sewell 08 2001-08-01           0.00000000                  134.0
## 9         Pok amont 04 2001-08-01           0.49407361                   56.6
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585                  106.0
## 11 McConnell Six Rd 05 2001-08-01           0.00000000                  100.0
## 12          Pollard 10 2001-08-01           0.00000000                  156.0
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585                  105.0
## 14          Pollard 10 2001-08-28           0.00000000                  162.0
## 15    br. sud amont 01 2001-08-28           0.00000000                  177.0
## 16         Morrison 06 2001-08-28           0.02152231                  115.0
## 17             Malt 11 2001-08-28           0.00000000                   90.3
## 18          Suggary 02 2001-08-28           0.00000000                  119.0
## 19     Waugh sanct. 07 2001-08-28           0.00000000                  132.0
## 20          Dempsey 12 2001-08-28           0.00000000                  129.0
## 21 Branche sud aval 03 2001-08-28           0.18484255                  113.0
## 22           Sewell 08 2001-08-28           0.00000000                  150.0
## 23        Pok amont 04 2001-08-28           0.49407361                   60.0
## 24 McConnell Six Rd 05 2001-08-28           0.00000000                  112.0
## 25        Pok amont 04 2001-09-26           0.49407361                   72.1
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585                  115.0
## 27 McConnell Six Rd 05 2001-09-26           0.00000000                  111.0
## 28          Pollard 10 2001-09-26           0.00000000                  153.5
## 29    br. sud amont 01 2001-09-26           0.00000000                  158.0
## 30         Morrison 06 2001-09-26           0.02152231                  117.0
## 31             Malt 11 2001-09-26           0.00000000                   97.7
## 32          Suggary 02 2001-09-26           0.00000000                  139.0
## 33     Waugh sanct. 07 2001-09-26           0.00000000                  136.0
## 34          Dempsey 12 2001-09-26           0.00000000                  137.0
## 35 Branche sud aval 03 2001-09-26           0.18484255                  123.0
## 36           Sewell 08 2001-09-26           0.00000000                  173.0
## 37           Sewell 08 2001-10-31           0.00000000                  111.0
## 38        Pok amont 04 2001-10-31           0.49407361                   68.3
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585                  112.0
## 40         Morrison 06 2001-10-31           0.02152231                  123.0
## 41 McConnell Six Rd 05 2001-10-31           0.00000000                   87.2
## 42          Pollard 10 2001-10-31           0.00000000                  164.0
## 43    br. sud amont 01 2001-10-31           0.00000000                  162.0
## 44          Dempsey 12 2001-10-31           0.00000000                  128.0
## 45             Malt 11 2001-10-31           0.00000000                   98.8
## 46          Suggary 02 2001-10-31           0.00000000                  120.0
## 47     Waugh sanct. 07 2001-10-31           0.00000000                  102.0
## 48 Branche sud aval 03 2001-10-31           0.18484255                  115.0
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585                  112.0
## 50 Branche sud aval 03 2002-07-29           0.18484255                  116.0
## 51           Sewell 08 2002-07-29           0.00000000                  139.0
## 52        Pok amont 04 2002-07-29           0.49407361                   57.1
## 53    br. sud amont 01 2002-07-29           0.00000000                  148.0
## 54         Morrison 06 2002-07-29           0.02152231                  123.0
## 55 McConnell Six Rd 05 2002-07-29           0.00000000                  105.0
## 56          Pollard 10 2002-07-29           0.00000000                  162.0
## 57     Waugh sanct. 07 2002-07-29           0.00000000                  133.0
## 58          Dempsey 12 2002-07-29           0.00000000                  143.0
## 59             Malt 11 2002-07-29           0.00000000                   96.6
## 60          Suggary 02 2002-07-29           0.00000000                  110.0
## 61        Pok amont 04 2002-08-28           0.49407361                   60.3
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585                  115.0
## 63          Dempsey 12 2002-08-28           0.00000000                  144.0
## 64 Branche sud aval 03 2002-08-28           0.18484255                  121.0
## 65           Sewell 08 2002-08-28           0.00000000                  168.0
## 66          Pollard 10 2002-08-28           0.00000000                  164.0
## 67    br. sud amont 01 2002-08-28           0.00000000                  185.0
## 68         Morrison 06 2002-08-28           0.02152231                  125.0
## 69 McConnell Six Rd 05 2002-08-28           0.00000000                  111.0
## 70          Suggary 02 2002-08-28           0.00000000                  110.5
## 71     Waugh sanct. 07 2002-08-28           0.00000000                  135.0
## 72             Malt 11 2002-08-28           0.00000000                  101.0
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585                  120.0
## 74           Sewell 08 2002-10-02           0.00000000                  158.0
## 75        Pok amont 04 2002-10-02           0.49407361                   69.4
## 76     Waugh sanct. 07 2002-10-02           0.00000000                  148.0
## 77          Dempsey 12 2002-10-02           0.00000000                  145.0
## 78 Branche sud aval 03 2002-10-02           0.18484255                  126.0
## 79 McConnell Six Rd 05 2002-10-02           0.00000000                  108.0
## 80          Pollard 10 2002-10-02           0.00000000                  176.0
## 81    br. sud amont 01 2002-10-02           0.00000000                  194.0
## 82         Morrison 06 2002-10-02           0.02152231                  128.0
## 83             Malt 11 2002-10-02           0.00000000                  106.0
## 84          Suggary 02 2002-10-02           0.00000000                  114.0
## 85        Pok amont 04 2002-10-31           0.49407361                   70.9
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585                  122.0
## 87 Branche sud aval 03 2002-10-31           0.18484255                  126.0
## 88           Sewell 08 2002-10-31           0.00000000                  120.0
## 89          Suggary 02 2002-10-31           0.00000000                  118.0
## 90     Waugh sanct. 07 2002-10-31           0.00000000                  129.0
## 91          Dempsey 12 2002-10-31           0.00000000                  141.0
## 92         Morrison 06 2002-10-31           0.02152231                  130.0
## 93 McConnell Six Rd 05 2002-10-31           0.00000000                  103.0
## 94          Pollard 10 2002-10-31           0.00000000                  176.0
## 95    br. sud amont 01 2002-10-31           0.00000000                  175.5
## 96             Malt 11 2002-10-31           0.00000000                  107.0
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctB_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28          0.000000000                    109
## 98           Dempsey 12 2021-07-28          0.017322835                    139
## 99  Branche sud aval 03 2021-07-28          0.000000000                    119
## 100           Sewell 08 2021-07-28          0.000000000                    131
## 101     Waugh sanct. 07 2021-07-28          0.000000000                    128
## 102    br. sud amont 01 2021-07-28          0.000000000                    177
## 103         Morrison 06 2021-07-28          0.121775485                    122
## 104             Malt 11 2021-07-28          0.000000000                     90
## 105 McConnell Six Rd 05 2021-07-28          0.379288833                    115
## 106          Pollard 10 2021-07-28          0.001886792                    166
## 107        Pok amont 04 2021-07-28          0.000000000                     60
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000                    109
## 109             Malt 11 2021-08-31          0.001886792                     96
## 110          Suggary 02 2021-08-31          0.000000000                    116
## 111     Waugh sanct. 07 2021-08-31          0.000000000                    138
## 112          Dempsey 12 2021-08-31          0.017322835                    152
## 113 Branche sud aval 03 2021-08-31          0.000000000                    125
## 114           Sewell 08 2021-08-31          0.000000000                    161
## 115          Pollard 10 2021-08-31          0.000000000                    196
## 116    br. sud amont 01 2021-08-31          0.000000000                    199
## 117         Morrison 06 2021-08-31          0.121775485                    129
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000                    118
## 119 McConnell Six Rd 05 2021-08-31          0.379288833                    114
## 120        Pok amont 04 2021-08-31          0.000000000                     70
## 121          Suggary 02 2021-10-05          0.379288833                     98
## 122         Morrison 06 2021-10-05          0.001886792                    114
## 123             Malt 11 2021-10-05          0.000000000                     74
## 124           Sewell 08 2021-10-05          0.000000000                     72
## 125     Waugh sanct. 07 2021-10-05          0.000000000                     70
## 126          Dempsey 12 2021-10-05          0.017322835                     96
## 127 Branche sud aval 03 2021-10-05          0.000000000                     86
## 128 McConnell Six Rd 05 2021-10-05          0.000000000                     90
## 129          Pollard 10 2021-10-05          0.000000000                    128
## 130    br. sud amont 01 2021-10-05          0.000000000                     91
## 131        Pok amont 04 2021-10-05          0.121775485                     52
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000                     95
## 133             Malt 11 2021-10-28          0.000000000                     80
## 134          Suggary 02 2021-10-28          0.379288833                    100
## 135    br. sud amont 01 2021-10-28          0.001886792                    114
## 136         Morrison 06 2021-10-28          0.017322835                    118
## 137 Branche sud aval 03 2021-10-28          0.000000000                     97
## 138           Sewell 08 2021-10-28          0.000000000                     81
## 139     Waugh sanct. 07 2021-10-28          0.000000000                     88
## 140          Dempsey 12 2021-10-28          0.000000000                    113
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000                    102
## 142 McConnell Six Rd 05 2021-10-28          0.000000000                     97
## 143          Pollard 10 2021-10-28          0.000000000                    139
## 144        Pok amont 04 2021-10-28          0.121775485                     54
## 145          Pollard 10 2022-07-28          0.001886792                    163
## 146         Morrison 06 2022-07-28          0.121775485                    119
## 147             Malt 11 2022-07-28          0.000000000                     88
## 148          Suggary 02 2022-07-28          0.379288833                    107
## 149    br. sud amont 01 2022-07-28          0.000000000                    161
## 150          Dempsey 12 2022-07-28          0.017322835                    134
## 151 Branche sud aval 03 2022-07-28          0.000000000                    113
## 152           Sewell 08 2022-07-28          0.000000000                    113
## 153     Waugh sanct. 07 2022-07-28          0.000000000                    126
## 154        Pok amont 04 2022-07-28          0.000000000                     59
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000                    108
## 156 McConnell Six Rd 05 2022-07-28          0.000000000                    113
## 157 McConnell Six Rd 05 2022-09-01          0.379288833                    107
## 158          Pollard 10 2022-09-01          0.001886792                    178
## 159    br. sud amont 01 2022-09-01          0.000000000                    180
## 160         Morrison 06 2022-09-01          0.121775485                    117
## 161             Malt 11 2022-09-01          0.000000000                     88
## 162          Suggary 02 2022-09-01          0.000000000                    104
## 163     Waugh sanct. 07 2022-09-01          0.000000000                    114
## 164          Dempsey 12 2022-09-01          0.017322835                    137
## 165 Branche sud aval 03 2022-09-01          0.000000000                    117
## 166           Sewell 08 2022-09-01          0.000000000                    116
## 167        Pok amont 04 2022-09-01          0.000000000                     63
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000                    108
## 169           Sewell 08 2022-10-03          0.001886792                    114
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000                    113
## 171 McConnell Six Rd 05 2022-10-03          0.379288833                     94
## 172          Pollard 10 2022-10-03          0.000000000                    179
## 173    br. sud amont 01 2022-10-03          0.000000000                    182
## 174         Morrison 06 2022-10-03          0.121775485                    120
## 175             Malt 11 2022-10-03          0.000000000                     95
## 176          Suggary 02 2022-10-03          0.000000000                    107
## 177     Waugh sanct. 07 2022-10-03          0.000000000                    114
## 178          Dempsey 12 2022-10-03          0.017322835                    143
## 179 Branche sud aval 03 2022-10-03          0.000000000                    118
## 180        Pok amont 04 2022-10-03          0.000000000                     64
## 181 Branche sud aval 03 2022-11-01          0.379288833                    112
## 182           Sewell 08 2022-11-01          0.001886792                     92
## 183        Pok amont 04 2022-11-01          0.121775485                     69
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000                    112
## 185 McConnell Six Rd 05 2022-11-01          0.000000000                     92
## 186          Pollard 10 2022-11-01          0.000000000                    177
## 187    br. sud amont 01 2022-11-01          0.000000000                    144
## 188         Morrison 06 2022-11-01          0.017322835                    125
## 189             Malt 11 2022-11-01          0.000000000                     91
## 190          Suggary 02 2022-11-01          0.000000000                    108
## 191     Waugh sanct. 07 2022-11-01          0.000000000                     92
## 192          Dempsey 12 2022-11-01          0.000000000                    136
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Boisé_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,pH_units))
##               Station2       Date pctB_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01           0.00000000    8.200
## 2          Morrison 06 2001-08-01           0.02152231    7.950
## 3              Malt 11 2001-08-01           0.00000000    7.860
## 4           Suggary 02 2001-08-01           0.00000000    8.020
## 5      Waugh sanct. 07 2001-08-01           0.00000000    7.970
## 6           Dempsey 12 2001-08-01           0.00000000    7.960
## 7  Branche sud aval 03 2001-08-01           0.18484255    8.030
## 8            Sewell 08 2001-08-01           0.00000000    8.020
## 9         Pok amont 04 2001-08-01           0.49407361    7.590
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585    8.010
## 11 McConnell Six Rd 05 2001-08-01           0.00000000    7.860
## 12          Pollard 10 2001-08-01           0.00000000    7.890
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585    7.910
## 14          Pollard 10 2001-08-28           0.00000000    7.860
## 15    br. sud amont 01 2001-08-28           0.00000000    7.980
## 16         Morrison 06 2001-08-28           0.02152231    7.940
## 17             Malt 11 2001-08-28           0.00000000    7.460
## 18          Suggary 02 2001-08-28           0.00000000    7.880
## 19     Waugh sanct. 07 2001-08-28           0.00000000    7.890
## 20          Dempsey 12 2001-08-28           0.00000000    7.760
## 21 Branche sud aval 03 2001-08-28           0.18484255    7.890
## 22           Sewell 08 2001-08-28           0.00000000    7.900
## 23        Pok amont 04 2001-08-28           0.49407361    7.490
## 24 McConnell Six Rd 05 2001-08-28           0.00000000    7.770
## 25        Pok amont 04 2001-09-26           0.49407361    7.640
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585    7.960
## 27 McConnell Six Rd 05 2001-09-26           0.00000000    7.870
## 28          Pollard 10 2001-09-26           0.00000000    7.850
## 29    br. sud amont 01 2001-09-26           0.00000000    8.050
## 30         Morrison 06 2001-09-26           0.02152231    8.020
## 31             Malt 11 2001-09-26           0.00000000    7.710
## 32          Suggary 02 2001-09-26           0.00000000    8.080
## 33     Waugh sanct. 07 2001-09-26           0.00000000    8.020
## 34          Dempsey 12 2001-09-26           0.00000000    7.950
## 35 Branche sud aval 03 2001-09-26           0.18484255    8.040
## 36           Sewell 08 2001-09-26           0.00000000    8.060
## 37           Sewell 08 2001-10-31           0.00000000    7.740
## 38        Pok amont 04 2001-10-31           0.49407361    7.420
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585    7.950
## 40         Morrison 06 2001-10-31           0.02152231    8.010
## 41 McConnell Six Rd 05 2001-10-31           0.00000000    7.500
## 42          Pollard 10 2001-10-31           0.00000000    7.870
## 43    br. sud amont 01 2001-10-31           0.00000000    7.960
## 44          Dempsey 12 2001-10-31           0.00000000    7.820
## 45             Malt 11 2001-10-31           0.00000000    7.530
## 46          Suggary 02 2001-10-31           0.00000000    7.650
## 47     Waugh sanct. 07 2001-10-31           0.00000000    7.410
## 48 Branche sud aval 03 2001-10-31           0.18484255    7.890
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585    7.840
## 50 Branche sud aval 03 2002-07-29           0.18484255    7.870
## 51           Sewell 08 2002-07-29           0.00000000    7.840
## 52        Pok amont 04 2002-07-29           0.49407361    7.180
## 53    br. sud amont 01 2002-07-29           0.00000000    7.840
## 54         Morrison 06 2002-07-29           0.02152231    7.920
## 55 McConnell Six Rd 05 2002-07-29           0.00000000    7.580
## 56          Pollard 10 2002-07-29           0.00000000    7.730
## 57     Waugh sanct. 07 2002-07-29           0.00000000    7.700
## 58          Dempsey 12 2002-07-29           0.00000000    7.755
## 59             Malt 11 2002-07-29           0.00000000    7.420
## 60          Suggary 02 2002-07-29           0.00000000    7.740
## 61        Pok amont 04 2002-08-28           0.49407361    7.250
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585    7.800
## 63          Dempsey 12 2002-08-28           0.00000000    7.690
## 64 Branche sud aval 03 2002-08-28           0.18484255    7.850
## 65           Sewell 08 2002-08-28           0.00000000    7.920
## 66          Pollard 10 2002-08-28           0.00000000    7.730
## 67    br. sud amont 01 2002-08-28           0.00000000    8.070
## 68         Morrison 06 2002-08-28           0.02152231    7.900
## 69 McConnell Six Rd 05 2002-08-28           0.00000000    7.790
## 70          Suggary 02 2002-08-28           0.00000000    7.815
## 71     Waugh sanct. 07 2002-08-28           0.00000000    7.750
## 72             Malt 11 2002-08-28           0.00000000    7.380
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585    7.830
## 74           Sewell 08 2002-10-02           0.00000000    7.820
## 75        Pok amont 04 2002-10-02           0.49407361    7.270
## 76     Waugh sanct. 07 2002-10-02           0.00000000    7.760
## 77          Dempsey 12 2002-10-02           0.00000000    7.640
## 78 Branche sud aval 03 2002-10-02           0.18484255    7.820
## 79 McConnell Six Rd 05 2002-10-02           0.00000000    7.650
## 80          Pollard 10 2002-10-02           0.00000000    7.720
## 81    br. sud amont 01 2002-10-02           0.00000000    7.970
## 82         Morrison 06 2002-10-02           0.02152231    7.890
## 83             Malt 11 2002-10-02           0.00000000    7.380
## 84          Suggary 02 2002-10-02           0.00000000    7.830
## 85        Pok amont 04 2002-10-31           0.49407361    7.360
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585    7.820
## 87 Branche sud aval 03 2002-10-31           0.18484255      NaN
## 88           Sewell 08 2002-10-31           0.00000000    7.550
## 89          Suggary 02 2002-10-31           0.00000000    7.770
## 90     Waugh sanct. 07 2002-10-31           0.00000000    7.580
## 91          Dempsey 12 2002-10-31           0.00000000    7.690
## 92         Morrison 06 2002-10-31           0.02152231    7.870
## 93 McConnell Six Rd 05 2002-10-31           0.00000000    7.440
## 94          Pollard 10 2002-10-31           0.00000000    7.780
## 95    br. sud amont 01 2002-10-31           0.00000000    7.865
## 96             Malt 11 2002-10-31           0.00000000    7.560
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,pH_units))
##                Station2       Date pctB_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28          0.000000000      7.5
## 98           Dempsey 12 2021-07-28          0.017322835      7.6
## 99  Branche sud aval 03 2021-07-28          0.000000000      7.6
## 100           Sewell 08 2021-07-28          0.000000000      7.7
## 101     Waugh sanct. 07 2021-07-28          0.000000000      7.6
## 102    br. sud amont 01 2021-07-28          0.000000000      7.6
## 103         Morrison 06 2021-07-28          0.121775485      7.4
## 104             Malt 11 2021-07-28          0.000000000      7.2
## 105 McConnell Six Rd 05 2021-07-28          0.379288833      7.6
## 106          Pollard 10 2021-07-28          0.001886792      7.6
## 107        Pok amont 04 2021-07-28          0.000000000      6.8
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000      7.6
## 109             Malt 11 2021-08-31          0.001886792      7.3
## 110          Suggary 02 2021-08-31          0.000000000      7.6
## 111     Waugh sanct. 07 2021-08-31          0.000000000      7.8
## 112          Dempsey 12 2021-08-31          0.017322835      7.6
## 113 Branche sud aval 03 2021-08-31          0.000000000      7.8
## 114           Sewell 08 2021-08-31          0.000000000      7.8
## 115          Pollard 10 2021-08-31          0.000000000      7.8
## 116    br. sud amont 01 2021-08-31          0.000000000      7.5
## 117         Morrison 06 2021-08-31          0.121775485      7.8
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000      7.8
## 119 McConnell Six Rd 05 2021-08-31          0.379288833      7.7
## 120        Pok amont 04 2021-08-31          0.000000000      7.1
## 121          Suggary 02 2021-10-05          0.379288833      7.6
## 122         Morrison 06 2021-10-05          0.001886792      7.1
## 123             Malt 11 2021-10-05          0.000000000      7.1
## 124           Sewell 08 2021-10-05          0.000000000      7.5
## 125     Waugh sanct. 07 2021-10-05          0.000000000      7.2
## 126          Dempsey 12 2021-10-05          0.017322835      7.3
## 127 Branche sud aval 03 2021-10-05          0.000000000      7.6
## 128 McConnell Six Rd 05 2021-10-05          0.000000000      7.4
## 129          Pollard 10 2021-10-05          0.000000000      7.5
## 130    br. sud amont 01 2021-10-05          0.000000000      7.2
## 131        Pok amont 04 2021-10-05          0.121775485      6.8
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000      7.2
## 133             Malt 11 2021-10-28          0.000000000      7.0
## 134          Suggary 02 2021-10-28          0.379288833      7.6
## 135    br. sud amont 01 2021-10-28          0.001886792      7.5
## 136         Morrison 06 2021-10-28          0.017322835      7.6
## 137 Branche sud aval 03 2021-10-28          0.000000000      7.6
## 138           Sewell 08 2021-10-28          0.000000000      7.5
## 139     Waugh sanct. 07 2021-10-28          0.000000000      7.5
## 140          Dempsey 12 2021-10-28          0.000000000      7.6
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000      7.5
## 142 McConnell Six Rd 05 2021-10-28          0.000000000      7.5
## 143          Pollard 10 2021-10-28          0.000000000      7.7
## 144        Pok amont 04 2021-10-28          0.121775485      7.5
## 145          Pollard 10 2022-07-28          0.001886792      7.7
## 146         Morrison 06 2022-07-28          0.121775485      7.8
## 147             Malt 11 2022-07-28          0.000000000      7.6
## 148          Suggary 02 2022-07-28          0.379288833      7.7
## 149    br. sud amont 01 2022-07-28          0.000000000      7.9
## 150          Dempsey 12 2022-07-28          0.017322835      7.8
## 151 Branche sud aval 03 2022-07-28          0.000000000      7.8
## 152           Sewell 08 2022-07-28          0.000000000      7.7
## 153     Waugh sanct. 07 2022-07-28          0.000000000      7.8
## 154        Pok amont 04 2022-07-28          0.000000000      7.5
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000      7.8
## 156 McConnell Six Rd 05 2022-07-28          0.000000000      7.7
## 157 McConnell Six Rd 05 2022-09-01          0.379288833      7.8
## 158          Pollard 10 2022-09-01          0.001886792      7.8
## 159    br. sud amont 01 2022-09-01          0.000000000      8.0
## 160         Morrison 06 2022-09-01          0.121775485      8.0
## 161             Malt 11 2022-09-01          0.000000000      7.7
## 162          Suggary 02 2022-09-01          0.000000000      7.8
## 163     Waugh sanct. 07 2022-09-01          0.000000000      7.9
## 164          Dempsey 12 2022-09-01          0.017322835      7.9
## 165 Branche sud aval 03 2022-09-01          0.000000000      7.9
## 166           Sewell 08 2022-09-01          0.000000000      7.9
## 167        Pok amont 04 2022-09-01          0.000000000      7.2
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000      7.8
## 169           Sewell 08 2022-10-03          0.001886792      7.7
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000      7.8
## 171 McConnell Six Rd 05 2022-10-03          0.379288833      7.5
## 172          Pollard 10 2022-10-03          0.000000000      7.8
## 173    br. sud amont 01 2022-10-03          0.000000000      7.9
## 174         Morrison 06 2022-10-03          0.121775485      7.9
## 175             Malt 11 2022-10-03          0.000000000      7.5
## 176          Suggary 02 2022-10-03          0.000000000      7.7
## 177     Waugh sanct. 07 2022-10-03          0.000000000      7.6
## 178          Dempsey 12 2022-10-03          0.017322835      7.7
## 179 Branche sud aval 03 2022-10-03          0.000000000      7.8
## 180        Pok amont 04 2022-10-03          0.000000000      7.1
## 181 Branche sud aval 03 2022-11-01          0.379288833      7.6
## 182           Sewell 08 2022-11-01          0.001886792      7.5
## 183        Pok amont 04 2022-11-01          0.121775485      7.0
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000      7.5
## 185 McConnell Six Rd 05 2022-11-01          0.000000000      7.3
## 186          Pollard 10 2022-11-01          0.000000000      7.6
## 187    br. sud amont 01 2022-11-01          0.000000000      7.5
## 188         Morrison 06 2022-11-01          0.017322835      7.8
## 189             Malt 11 2022-11-01          0.000000000      7.0
## 190          Suggary 02 2022-11-01          0.000000000      7.5
## 191     Waugh sanct. 07 2022-11-01          0.000000000      7.2
## 192          Dempsey 12 2022-11-01          0.000000000      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Boisé_vs_Turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctB_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01           0.00000000         6.400
## 2          Morrison 06 2001-08-01           0.02152231         0.600
## 3              Malt 11 2001-08-01           0.00000000         1.600
## 4           Suggary 02 2001-08-01           0.00000000         0.700
## 5      Waugh sanct. 07 2001-08-01           0.00000000         1.200
## 6           Dempsey 12 2001-08-01           0.00000000         1.300
## 7  Branche sud aval 03 2001-08-01           0.18484255         0.500
## 8            Sewell 08 2001-08-01           0.00000000         1.500
## 9         Pok amont 04 2001-08-01           0.49407361         0.000
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585         0.700
## 11 McConnell Six Rd 05 2001-08-01           0.00000000         0.100
## 12          Pollard 10 2001-08-01           0.00000000         0.500
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585         1.200
## 14          Pollard 10 2001-08-28           0.00000000         0.800
## 15    br. sud amont 01 2001-08-28           0.00000000         6.100
## 16         Morrison 06 2001-08-28           0.02152231         0.700
## 17             Malt 11 2001-08-28           0.00000000         0.500
## 18          Suggary 02 2001-08-28           0.00000000         3.500
## 19     Waugh sanct. 07 2001-08-28           0.00000000         1.000
## 20          Dempsey 12 2001-08-28           0.00000000         1.700
## 21 Branche sud aval 03 2001-08-28           0.18484255         0.900
## 22           Sewell 08 2001-08-28           0.00000000         6.500
## 23        Pok amont 04 2001-08-28           0.49407361         0.000
## 24 McConnell Six Rd 05 2001-08-28           0.00000000         1.000
## 25        Pok amont 04 2001-09-26           0.49407361         0.800
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585         9.500
## 27 McConnell Six Rd 05 2001-09-26           0.00000000         1.200
## 28          Pollard 10 2001-09-26           0.00000000         1.150
## 29    br. sud amont 01 2001-09-26           0.00000000        44.800
## 30         Morrison 06 2001-09-26           0.02152231         0.900
## 31             Malt 11 2001-09-26           0.00000000         7.800
## 32          Suggary 02 2001-09-26           0.00000000         1.700
## 33     Waugh sanct. 07 2001-09-26           0.00000000         1.200
## 34          Dempsey 12 2001-09-26           0.00000000         1.500
## 35 Branche sud aval 03 2001-09-26           0.18484255         2.400
## 36           Sewell 08 2001-09-26           0.00000000         3.000
## 37           Sewell 08 2001-10-31           0.00000000         5.500
## 38        Pok amont 04 2001-10-31           0.49407361         0.200
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585         1.000
## 40         Morrison 06 2001-10-31           0.02152231         0.500
## 41 McConnell Six Rd 05 2001-10-31           0.00000000         1.400
## 42          Pollard 10 2001-10-31           0.00000000         0.600
## 43    br. sud amont 01 2001-10-31           0.00000000         1.100
## 44          Dempsey 12 2001-10-31           0.00000000         1.700
## 45             Malt 11 2001-10-31           0.00000000         0.800
## 46          Suggary 02 2001-10-31           0.00000000         2.050
## 47     Waugh sanct. 07 2001-10-31           0.00000000         1.200
## 48 Branche sud aval 03 2001-10-31           0.18484255         0.800
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585         0.780
## 50 Branche sud aval 03 2002-07-29           0.18484255         1.170
## 51           Sewell 08 2002-07-29           0.00000000         4.960
## 52        Pok amont 04 2002-07-29           0.49407361         0.190
## 53    br. sud amont 01 2002-07-29           0.00000000         0.900
## 54         Morrison 06 2002-07-29           0.02152231         0.690
## 55 McConnell Six Rd 05 2002-07-29           0.00000000         1.520
## 56          Pollard 10 2002-07-29           0.00000000         1.630
## 57     Waugh sanct. 07 2002-07-29           0.00000000         1.110
## 58          Dempsey 12 2002-07-29           0.00000000         1.970
## 59             Malt 11 2002-07-29           0.00000000         0.400
## 60          Suggary 02 2002-07-29           0.00000000         0.430
## 61        Pok amont 04 2002-08-28           0.49407361         0.390
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585         1.320
## 63          Dempsey 12 2002-08-28           0.00000000         4.440
## 64 Branche sud aval 03 2002-08-28           0.18484255         1.150
## 65           Sewell 08 2002-08-28           0.00000000         2.960
## 66          Pollard 10 2002-08-28           0.00000000         0.950
## 67    br. sud amont 01 2002-08-28           0.00000000         0.570
## 68         Morrison 06 2002-08-28           0.02152231         0.940
## 69 McConnell Six Rd 05 2002-08-28           0.00000000         1.340
## 70          Suggary 02 2002-08-28           0.00000000         0.820
## 71     Waugh sanct. 07 2002-08-28           0.00000000         1.510
## 72             Malt 11 2002-08-28           0.00000000         0.480
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585         0.940
## 74           Sewell 08 2002-10-02           0.00000000         5.255
## 75        Pok amont 04 2002-10-02           0.49407361         0.280
## 76     Waugh sanct. 07 2002-10-02           0.00000000         1.280
## 77          Dempsey 12 2002-10-02           0.00000000         3.770
## 78 Branche sud aval 03 2002-10-02           0.18484255         1.070
## 79 McConnell Six Rd 05 2002-10-02           0.00000000         2.110
## 80          Pollard 10 2002-10-02           0.00000000         0.690
## 81    br. sud amont 01 2002-10-02           0.00000000         0.740
## 82         Morrison 06 2002-10-02           0.02152231         0.770
## 83             Malt 11 2002-10-02           0.00000000         0.600
## 84          Suggary 02 2002-10-02           0.00000000         0.480
## 85        Pok amont 04 2002-10-31           0.49407361         0.580
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585         0.870
## 87 Branche sud aval 03 2002-10-31           0.18484255           NaN
## 88           Sewell 08 2002-10-31           0.00000000         8.740
## 89          Suggary 02 2002-10-31           0.00000000         0.410
## 90     Waugh sanct. 07 2002-10-31           0.00000000         1.440
## 91          Dempsey 12 2002-10-31           0.00000000         2.880
## 92         Morrison 06 2002-10-31           0.02152231         0.620
## 93 McConnell Six Rd 05 2002-10-31           0.00000000         1.500
## 94          Pollard 10 2002-10-31           0.00000000         1.060
## 95    br. sud amont 01 2002-10-31           0.00000000         1.220
## 96             Malt 11 2002-10-31           0.00000000         0.900
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctB_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28          0.000000000           1.2
## 98           Dempsey 12 2021-07-28          0.017322835           1.6
## 99  Branche sud aval 03 2021-07-28          0.000000000           1.8
## 100           Sewell 08 2021-07-28          0.000000000           3.5
## 101     Waugh sanct. 07 2021-07-28          0.000000000           1.1
## 102    br. sud amont 01 2021-07-28          0.000000000           2.3
## 103         Morrison 06 2021-07-28          0.121775485           1.4
## 104             Malt 11 2021-07-28          0.000000000           0.7
## 105 McConnell Six Rd 05 2021-07-28          0.379288833           1.9
## 106          Pollard 10 2021-07-28          0.001886792           1.2
## 107        Pok amont 04 2021-07-28          0.000000000           0.9
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000           1.7
## 109             Malt 11 2021-08-31          0.001886792           0.5
## 110          Suggary 02 2021-08-31          0.000000000           0.7
## 111     Waugh sanct. 07 2021-08-31          0.000000000           1.1
## 112          Dempsey 12 2021-08-31          0.017322835           1.7
## 113 Branche sud aval 03 2021-08-31          0.000000000           1.7
## 114           Sewell 08 2021-08-31          0.000000000           3.0
## 115          Pollard 10 2021-08-31          0.000000000           1.7
## 116    br. sud amont 01 2021-08-31          0.000000000           5.6
## 117         Morrison 06 2021-08-31          0.121775485           2.6
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000           2.0
## 119 McConnell Six Rd 05 2021-08-31          0.379288833           3.2
## 120        Pok amont 04 2021-08-31          0.000000000           1.5
## 121          Suggary 02 2021-10-05          0.379288833           0.7
## 122         Morrison 06 2021-10-05          0.001886792           1.4
## 123             Malt 11 2021-10-05          0.000000000           0.9
## 124           Sewell 08 2021-10-05          0.000000000           4.2
## 125     Waugh sanct. 07 2021-10-05          0.000000000           1.2
## 126          Dempsey 12 2021-10-05          0.017322835           1.8
## 127 Branche sud aval 03 2021-10-05          0.000000000           1.7
## 128 McConnell Six Rd 05 2021-10-05          0.000000000           1.8
## 129          Pollard 10 2021-10-05          0.000000000           1.8
## 130    br. sud amont 01 2021-10-05          0.000000000           3.7
## 131        Pok amont 04 2021-10-05          0.121775485           1.0
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000           1.4
## 133             Malt 11 2021-10-28          0.000000000           0.5
## 134          Suggary 02 2021-10-28          0.379288833           0.2
## 135    br. sud amont 01 2021-10-28          0.001886792           1.9
## 136         Morrison 06 2021-10-28          0.017322835           0.6
## 137 Branche sud aval 03 2021-10-28          0.000000000           1.3
## 138           Sewell 08 2021-10-28          0.000000000           2.8
## 139     Waugh sanct. 07 2021-10-28          0.000000000           1.0
## 140          Dempsey 12 2021-10-28          0.000000000           1.3
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000           0.7
## 142 McConnell Six Rd 05 2021-10-28          0.000000000           1.4
## 143          Pollard 10 2021-10-28          0.000000000           0.8
## 144        Pok amont 04 2021-10-28          0.121775485           0.6
## 145          Pollard 10 2022-07-28          0.001886792           0.4
## 146         Morrison 06 2022-07-28          0.121775485           0.7
## 147             Malt 11 2022-07-28          0.000000000           0.4
## 148          Suggary 02 2022-07-28          0.379288833           0.5
## 149    br. sud amont 01 2022-07-28          0.000000000           2.7
## 150          Dempsey 12 2022-07-28          0.017322835           1.2
## 151 Branche sud aval 03 2022-07-28          0.000000000           2.1
## 152           Sewell 08 2022-07-28          0.000000000           1.8
## 153     Waugh sanct. 07 2022-07-28          0.000000000           1.0
## 154        Pok amont 04 2022-07-28          0.000000000           0.7
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000           0.7
## 156 McConnell Six Rd 05 2022-07-28          0.000000000           0.8
## 157 McConnell Six Rd 05 2022-09-01          0.379288833           1.9
## 158          Pollard 10 2022-09-01          0.001886792           1.3
## 159    br. sud amont 01 2022-09-01          0.000000000           3.0
## 160         Morrison 06 2022-09-01          0.121775485           2.4
## 161             Malt 11 2022-09-01          0.000000000           0.5
## 162          Suggary 02 2022-09-01          0.000000000           0.7
## 163     Waugh sanct. 07 2022-09-01          0.000000000           1.8
## 164          Dempsey 12 2022-09-01          0.017322835           2.2
## 165 Branche sud aval 03 2022-09-01          0.000000000           1.9
## 166           Sewell 08 2022-09-01          0.000000000           2.6
## 167        Pok amont 04 2022-09-01          0.000000000           1.5
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000           1.4
## 169           Sewell 08 2022-10-03          0.001886792           3.6
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000           1.2
## 171 McConnell Six Rd 05 2022-10-03          0.379288833           1.9
## 172          Pollard 10 2022-10-03          0.000000000           0.4
## 173    br. sud amont 01 2022-10-03          0.000000000           2.8
## 174         Morrison 06 2022-10-03          0.121775485           1.0
## 175             Malt 11 2022-10-03          0.000000000           0.4
## 176          Suggary 02 2022-10-03          0.000000000           0.3
## 177     Waugh sanct. 07 2022-10-03          0.000000000           1.3
## 178          Dempsey 12 2022-10-03          0.017322835           1.3
## 179 Branche sud aval 03 2022-10-03          0.000000000           1.6
## 180        Pok amont 04 2022-10-03          0.000000000           1.5
## 181 Branche sud aval 03 2022-11-01          0.379288833           2.6
## 182           Sewell 08 2022-11-01          0.001886792           5.4
## 183        Pok amont 04 2022-11-01          0.121775485           0.8
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000           2.6
## 185 McConnell Six Rd 05 2022-11-01          0.000000000           2.0
## 186          Pollard 10 2022-11-01          0.000000000           0.7
## 187    br. sud amont 01 2022-11-01          0.000000000           4.8
## 188         Morrison 06 2022-11-01          0.017322835           2.8
## 189             Malt 11 2022-11-01          0.000000000           1.5
## 190          Suggary 02 2022-11-01          0.000000000           0.7
## 191     Waugh sanct. 07 2022-11-01          0.000000000           1.6
## 192          Dempsey 12 2022-11-01          0.000000000           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la turbidité et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Boisé_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Colour_TCU))
##               Station2       Date pctB_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01           0.00000000        5.0
## 2          Morrison 06 2001-08-01           0.02152231       10.0
## 3              Malt 11 2001-08-01           0.00000000       10.0
## 4           Suggary 02 2001-08-01           0.00000000        5.0
## 5      Waugh sanct. 07 2001-08-01           0.00000000       20.0
## 6           Dempsey 12 2001-08-01           0.00000000       15.0
## 7  Branche sud aval 03 2001-08-01           0.18484255        5.0
## 8            Sewell 08 2001-08-01           0.00000000        5.0
## 9         Pok amont 04 2001-08-01           0.49407361        0.0
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585        0.0
## 11 McConnell Six Rd 05 2001-08-01           0.00000000        5.0
## 12          Pollard 10 2001-08-01           0.00000000        5.0
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585        5.0
## 14          Pollard 10 2001-08-28           0.00000000        5.0
## 15    br. sud amont 01 2001-08-28           0.00000000        5.0
## 16         Morrison 06 2001-08-28           0.02152231        5.0
## 17             Malt 11 2001-08-28           0.00000000        5.0
## 18          Suggary 02 2001-08-28           0.00000000       10.0
## 19     Waugh sanct. 07 2001-08-28           0.00000000       10.0
## 20          Dempsey 12 2001-08-28           0.00000000       15.0
## 21 Branche sud aval 03 2001-08-28           0.18484255        5.0
## 22           Sewell 08 2001-08-28           0.00000000       30.0
## 23        Pok amont 04 2001-08-28           0.49407361        5.0
## 24 McConnell Six Rd 05 2001-08-28           0.00000000        5.0
## 25        Pok amont 04 2001-09-26           0.49407361       10.0
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585       30.0
## 27 McConnell Six Rd 05 2001-09-26           0.00000000       15.0
## 28          Pollard 10 2001-09-26           0.00000000       20.0
## 29    br. sud amont 01 2001-09-26           0.00000000      200.0
## 30         Morrison 06 2001-09-26           0.02152231        5.0
## 31             Malt 11 2001-09-26           0.00000000       20.0
## 32          Suggary 02 2001-09-26           0.00000000        5.0
## 33     Waugh sanct. 07 2001-09-26           0.00000000       10.0
## 34          Dempsey 12 2001-09-26           0.00000000       20.0
## 35 Branche sud aval 03 2001-09-26           0.18484255       10.0
## 36           Sewell 08 2001-09-26           0.00000000       30.0
## 37           Sewell 08 2001-10-31           0.00000000       80.0
## 38        Pok amont 04 2001-10-31           0.49407361        5.0
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585       20.0
## 40         Morrison 06 2001-10-31           0.02152231       15.0
## 41 McConnell Six Rd 05 2001-10-31           0.00000000      120.0
## 42          Pollard 10 2001-10-31           0.00000000       10.0
## 43    br. sud amont 01 2001-10-31           0.00000000       30.0
## 44          Dempsey 12 2001-10-31           0.00000000       30.0
## 45             Malt 11 2001-10-31           0.00000000       10.0
## 46          Suggary 02 2001-10-31           0.00000000       30.0
## 47     Waugh sanct. 07 2001-10-31           0.00000000      100.0
## 48 Branche sud aval 03 2001-10-31           0.18484255       20.0
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585       10.0
## 50 Branche sud aval 03 2002-07-29           0.18484255       15.0
## 51           Sewell 08 2002-07-29           0.00000000       40.0
## 52        Pok amont 04 2002-07-29           0.49407361        5.0
## 53    br. sud amont 01 2002-07-29           0.00000000       15.0
## 54         Morrison 06 2002-07-29           0.02152231       10.0
## 55 McConnell Six Rd 05 2002-07-29           0.00000000       80.0
## 56          Pollard 10 2002-07-29           0.00000000       10.0
## 57     Waugh sanct. 07 2002-07-29           0.00000000       40.0
## 58          Dempsey 12 2002-07-29           0.00000000       20.0
## 59             Malt 11 2002-07-29           0.00000000        5.0
## 60          Suggary 02 2002-07-29           0.00000000        5.0
## 61        Pok amont 04 2002-08-28           0.49407361        5.0
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585       20.0
## 63          Dempsey 12 2002-08-28           0.00000000       40.0
## 64 Branche sud aval 03 2002-08-28           0.18484255       15.0
## 65           Sewell 08 2002-08-28           0.00000000       40.0
## 66          Pollard 10 2002-08-28           0.00000000       10.0
## 67    br. sud amont 01 2002-08-28           0.00000000       10.0
## 68         Morrison 06 2002-08-28           0.02152231       10.0
## 69 McConnell Six Rd 05 2002-08-28           0.00000000       20.0
## 70          Suggary 02 2002-08-28           0.00000000        7.5
## 71     Waugh sanct. 07 2002-08-28           0.00000000       30.0
## 72             Malt 11 2002-08-28           0.00000000       10.0
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585        5.0
## 74           Sewell 08 2002-10-02           0.00000000       60.0
## 75        Pok amont 04 2002-10-02           0.49407361        5.0
## 76     Waugh sanct. 07 2002-10-02           0.00000000       20.0
## 77          Dempsey 12 2002-10-02           0.00000000       20.0
## 78 Branche sud aval 03 2002-10-02           0.18484255       15.0
## 79 McConnell Six Rd 05 2002-10-02           0.00000000       60.0
## 80          Pollard 10 2002-10-02           0.00000000       10.0
## 81    br. sud amont 01 2002-10-02           0.00000000       10.0
## 82         Morrison 06 2002-10-02           0.02152231       10.0
## 83             Malt 11 2002-10-02           0.00000000        5.0
## 84          Suggary 02 2002-10-02           0.00000000        5.0
## 85        Pok amont 04 2002-10-31           0.49407361        5.0
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585       20.0
## 87 Branche sud aval 03 2002-10-31           0.18484255        NaN
## 88           Sewell 08 2002-10-31           0.00000000       60.0
## 89          Suggary 02 2002-10-31           0.00000000        5.0
## 90     Waugh sanct. 07 2002-10-31           0.00000000       60.0
## 91          Dempsey 12 2002-10-31           0.00000000       30.0
## 92         Morrison 06 2002-10-31           0.02152231        5.0
## 93 McConnell Six Rd 05 2002-10-31           0.00000000       75.0
## 94          Pollard 10 2002-10-31           0.00000000        5.0
## 95    br. sud amont 01 2002-10-31           0.00000000       30.0
## 96             Malt 11 2002-10-31           0.00000000       15.0
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Colour_TCU))
##                Station2       Date pctB_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28          0.000000000          8
## 98           Dempsey 12 2021-07-28          0.017322835         22
## 99  Branche sud aval 03 2021-07-28          0.000000000         19
## 100           Sewell 08 2021-07-28          0.000000000         34
## 101     Waugh sanct. 07 2021-07-28          0.000000000         27
## 102    br. sud amont 01 2021-07-28          0.000000000         15
## 103         Morrison 06 2021-07-28          0.121775485         14
## 104             Malt 11 2021-07-28          0.000000000          7
## 105 McConnell Six Rd 05 2021-07-28          0.379288833         29
## 106          Pollard 10 2021-07-28          0.001886792          8
## 107        Pok amont 04 2021-07-28          0.000000000         11
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000          9
## 109             Malt 11 2021-08-31          0.001886792          5
## 110          Suggary 02 2021-08-31          0.000000000          5
## 111     Waugh sanct. 07 2021-08-31          0.000000000         14
## 112          Dempsey 12 2021-08-31          0.017322835         14
## 113 Branche sud aval 03 2021-08-31          0.000000000         20
## 114           Sewell 08 2021-08-31          0.000000000         24
## 115          Pollard 10 2021-08-31          0.000000000          8
## 116    br. sud amont 01 2021-08-31          0.000000000         12
## 117         Morrison 06 2021-08-31          0.121775485         18
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000          8
## 119 McConnell Six Rd 05 2021-08-31          0.379288833         37
## 120        Pok amont 04 2021-08-31          0.000000000         10
## 121          Suggary 02 2021-10-05          0.379288833          8
## 122         Morrison 06 2021-10-05          0.001886792         22
## 123             Malt 11 2021-10-05          0.000000000         66
## 124           Sewell 08 2021-10-05          0.000000000         47
## 125     Waugh sanct. 07 2021-10-05          0.000000000        190
## 126          Dempsey 12 2021-10-05          0.017322835         55
## 127 Branche sud aval 03 2021-10-05          0.000000000         38
## 128 McConnell Six Rd 05 2021-10-05          0.000000000        141
## 129          Pollard 10 2021-10-05          0.000000000         19
## 130    br. sud amont 01 2021-10-05          0.000000000         44
## 131        Pok amont 04 2021-10-05          0.121775485         21
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000         33
## 133             Malt 11 2021-10-28          0.000000000         47
## 134          Suggary 02 2021-10-28          0.379288833          5
## 135    br. sud amont 01 2021-10-28          0.001886792         32
## 136         Morrison 06 2021-10-28          0.017322835         13
## 137 Branche sud aval 03 2021-10-28          0.000000000         22
## 138           Sewell 08 2021-10-28          0.000000000         43
## 139     Waugh sanct. 07 2021-10-28          0.000000000        130
## 140          Dempsey 12 2021-10-28          0.000000000         33
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000         15
## 142 McConnell Six Rd 05 2021-10-28          0.000000000        107
## 143          Pollard 10 2021-10-28          0.000000000         12
## 144        Pok amont 04 2021-10-28          0.121775485         13
## 145          Pollard 10 2022-07-28          0.001886792          5
## 146         Morrison 06 2022-07-28          0.121775485          7
## 147             Malt 11 2022-07-28          0.000000000          6
## 148          Suggary 02 2022-07-28          0.379288833          5
## 149    br. sud amont 01 2022-07-28          0.000000000         26
## 150          Dempsey 12 2022-07-28          0.017322835         16
## 151 Branche sud aval 03 2022-07-28          0.000000000         18
## 152           Sewell 08 2022-07-28          0.000000000         33
## 153     Waugh sanct. 07 2022-07-28          0.000000000         27
## 154        Pok amont 04 2022-07-28          0.000000000          7
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000          5
## 156 McConnell Six Rd 05 2022-07-28          0.000000000         15
## 157 McConnell Six Rd 05 2022-09-01          0.379288833         48
## 158          Pollard 10 2022-09-01          0.001886792         23
## 159    br. sud amont 01 2022-09-01          0.000000000         23
## 160         Morrison 06 2022-09-01          0.121775485         15
## 161             Malt 11 2022-09-01          0.000000000         10
## 162          Suggary 02 2022-09-01          0.000000000          8
## 163     Waugh sanct. 07 2022-09-01          0.000000000         61
## 164          Dempsey 12 2022-09-01          0.017322835         21
## 165 Branche sud aval 03 2022-09-01          0.000000000         21
## 166           Sewell 08 2022-09-01          0.000000000         43
## 167        Pok amont 04 2022-09-01          0.000000000         14
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000         41
## 169           Sewell 08 2022-10-03          0.001886792         71
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000          8
## 171 McConnell Six Rd 05 2022-10-03          0.379288833        130
## 172          Pollard 10 2022-10-03          0.000000000         10
## 173    br. sud amont 01 2022-10-03          0.000000000         20
## 174         Morrison 06 2022-10-03          0.121775485         10
## 175             Malt 11 2022-10-03          0.000000000          5
## 176          Suggary 02 2022-10-03          0.000000000          5
## 177     Waugh sanct. 07 2022-10-03          0.000000000         53
## 178          Dempsey 12 2022-10-03          0.017322835         16
## 179 Branche sud aval 03 2022-10-03          0.000000000         17
## 180        Pok amont 04 2022-10-03          0.000000000         12
## 181 Branche sud aval 03 2022-11-01          0.379288833         25
## 182           Sewell 08 2022-11-01          0.001886792         60
## 183        Pok amont 04 2022-11-01          0.121775485         11
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000         21
## 185 McConnell Six Rd 05 2022-11-01          0.000000000        148
## 186          Pollard 10 2022-11-01          0.000000000         11
## 187    br. sud amont 01 2022-11-01          0.000000000         42
## 188         Morrison 06 2022-11-01          0.017322835         13
## 189             Malt 11 2022-11-01          0.000000000         22
## 190          Suggary 02 2022-11-01          0.000000000          9
## 191     Waugh sanct. 07 2022-11-01          0.000000000        143
## 192          Dempsey 12 2022-11-01          0.000000000         28
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

Boisé_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctB_supdrainee_1990
## 1     br. sud amont 01 2001-08-01           0.00000000
## 2          Morrison 06 2001-08-01           0.02152231
## 3              Malt 11 2001-08-01           0.00000000
## 4           Suggary 02 2001-08-01           0.00000000
## 5      Waugh sanct. 07 2001-08-01           0.00000000
## 6           Dempsey 12 2001-08-01           0.00000000
## 7  Branche sud aval 03 2001-08-01           0.18484255
## 8            Sewell 08 2001-08-01           0.00000000
## 9         Pok amont 04 2001-08-01           0.49407361
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585
## 11 McConnell Six Rd 05 2001-08-01           0.00000000
## 12          Pollard 10 2001-08-01           0.00000000
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585
## 14          Pollard 10 2001-08-28           0.00000000
## 15    br. sud amont 01 2001-08-28           0.00000000
## 16         Morrison 06 2001-08-28           0.02152231
## 17             Malt 11 2001-08-28           0.00000000
## 18          Suggary 02 2001-08-28           0.00000000
## 19     Waugh sanct. 07 2001-08-28           0.00000000
## 20          Dempsey 12 2001-08-28           0.00000000
## 21 Branche sud aval 03 2001-08-28           0.18484255
## 22           Sewell 08 2001-08-28           0.00000000
## 23        Pok amont 04 2001-08-28           0.49407361
## 24 McConnell Six Rd 05 2001-08-28           0.00000000
## 25        Pok amont 04 2001-09-26           0.49407361
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585
## 27 McConnell Six Rd 05 2001-09-26           0.00000000
## 28          Pollard 10 2001-09-26           0.00000000
## 29    br. sud amont 01 2001-09-26           0.00000000
## 30         Morrison 06 2001-09-26           0.02152231
## 31             Malt 11 2001-09-26           0.00000000
## 32          Suggary 02 2001-09-26           0.00000000
## 33     Waugh sanct. 07 2001-09-26           0.00000000
## 34          Dempsey 12 2001-09-26           0.00000000
## 35 Branche sud aval 03 2001-09-26           0.18484255
## 36           Sewell 08 2001-09-26           0.00000000
## 37           Sewell 08 2001-10-31           0.00000000
## 38        Pok amont 04 2001-10-31           0.49407361
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585
## 40         Morrison 06 2001-10-31           0.02152231
## 41 McConnell Six Rd 05 2001-10-31           0.00000000
## 42          Pollard 10 2001-10-31           0.00000000
## 43    br. sud amont 01 2001-10-31           0.00000000
## 44          Dempsey 12 2001-10-31           0.00000000
## 45             Malt 11 2001-10-31           0.00000000
## 46          Suggary 02 2001-10-31           0.00000000
## 47     Waugh sanct. 07 2001-10-31           0.00000000
## 48 Branche sud aval 03 2001-10-31           0.18484255
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585
## 50 Branche sud aval 03 2002-07-29           0.18484255
## 51           Sewell 08 2002-07-29           0.00000000
## 52        Pok amont 04 2002-07-29           0.49407361
## 53    br. sud amont 01 2002-07-29           0.00000000
## 54         Morrison 06 2002-07-29           0.02152231
## 55 McConnell Six Rd 05 2002-07-29           0.00000000
## 56          Pollard 10 2002-07-29           0.00000000
## 57     Waugh sanct. 07 2002-07-29           0.00000000
## 58          Dempsey 12 2002-07-29           0.00000000
## 59             Malt 11 2002-07-29           0.00000000
## 60          Suggary 02 2002-07-29           0.00000000
## 61        Pok amont 04 2002-08-28           0.49407361
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585
## 63          Dempsey 12 2002-08-28           0.00000000
## 64 Branche sud aval 03 2002-08-28           0.18484255
## 65           Sewell 08 2002-08-28           0.00000000
## 66          Pollard 10 2002-08-28           0.00000000
## 67    br. sud amont 01 2002-08-28           0.00000000
## 68         Morrison 06 2002-08-28           0.02152231
## 69 McConnell Six Rd 05 2002-08-28           0.00000000
## 70          Suggary 02 2002-08-28           0.00000000
## 71     Waugh sanct. 07 2002-08-28           0.00000000
## 72             Malt 11 2002-08-28           0.00000000
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585
## 74           Sewell 08 2002-10-02           0.00000000
## 75        Pok amont 04 2002-10-02           0.49407361
## 76     Waugh sanct. 07 2002-10-02           0.00000000
## 77          Dempsey 12 2002-10-02           0.00000000
## 78 Branche sud aval 03 2002-10-02           0.18484255
## 79 McConnell Six Rd 05 2002-10-02           0.00000000
## 80          Pollard 10 2002-10-02           0.00000000
## 81    br. sud amont 01 2002-10-02           0.00000000
## 82         Morrison 06 2002-10-02           0.02152231
## 83             Malt 11 2002-10-02           0.00000000
## 84          Suggary 02 2002-10-02           0.00000000
## 85        Pok amont 04 2002-10-31           0.49407361
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585
## 87 Branche sud aval 03 2002-10-31           0.18484255
## 88           Sewell 08 2002-10-31           0.00000000
## 89          Suggary 02 2002-10-31           0.00000000
## 90     Waugh sanct. 07 2002-10-31           0.00000000
## 91          Dempsey 12 2002-10-31           0.00000000
## 92         Morrison 06 2002-10-31           0.02152231
## 93 McConnell Six Rd 05 2002-10-31           0.00000000
## 94          Pollard 10 2002-10-31           0.00000000
## 95    br. sud amont 01 2002-10-31           0.00000000
## 96             Malt 11 2002-10-31           0.00000000
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctB_supdrainee_2020
## 97           Suggary 02 2021-07-28          0.000000000
## 98           Dempsey 12 2021-07-28          0.017322835
## 99  Branche sud aval 03 2021-07-28          0.000000000
## 100           Sewell 08 2021-07-28          0.000000000
## 101     Waugh sanct. 07 2021-07-28          0.000000000
## 102    br. sud amont 01 2021-07-28          0.000000000
## 103         Morrison 06 2021-07-28          0.121775485
## 104             Malt 11 2021-07-28          0.000000000
## 105 McConnell Six Rd 05 2021-07-28          0.379288833
## 106          Pollard 10 2021-07-28          0.001886792
## 107        Pok amont 04 2021-07-28          0.000000000
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000
## 109             Malt 11 2021-08-31          0.001886792
## 110          Suggary 02 2021-08-31          0.000000000
## 111     Waugh sanct. 07 2021-08-31          0.000000000
## 112          Dempsey 12 2021-08-31          0.017322835
## 113 Branche sud aval 03 2021-08-31          0.000000000
## 114           Sewell 08 2021-08-31          0.000000000
## 115          Pollard 10 2021-08-31          0.000000000
## 116    br. sud amont 01 2021-08-31          0.000000000
## 117         Morrison 06 2021-08-31          0.121775485
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000
## 119 McConnell Six Rd 05 2021-08-31          0.379288833
## 120        Pok amont 04 2021-08-31          0.000000000
## 121          Suggary 02 2021-10-05          0.379288833
## 122         Morrison 06 2021-10-05          0.001886792
## 123             Malt 11 2021-10-05          0.000000000
## 124           Sewell 08 2021-10-05          0.000000000
## 125     Waugh sanct. 07 2021-10-05          0.000000000
## 126          Dempsey 12 2021-10-05          0.017322835
## 127 Branche sud aval 03 2021-10-05          0.000000000
## 128 McConnell Six Rd 05 2021-10-05          0.000000000
## 129          Pollard 10 2021-10-05          0.000000000
## 130    br. sud amont 01 2021-10-05          0.000000000
## 131        Pok amont 04 2021-10-05          0.121775485
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000
## 133             Malt 11 2021-10-28          0.000000000
## 134          Suggary 02 2021-10-28          0.379288833
## 135    br. sud amont 01 2021-10-28          0.001886792
## 136         Morrison 06 2021-10-28          0.017322835
## 137 Branche sud aval 03 2021-10-28          0.000000000
## 138           Sewell 08 2021-10-28          0.000000000
## 139     Waugh sanct. 07 2021-10-28          0.000000000
## 140          Dempsey 12 2021-10-28          0.000000000
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000
## 142 McConnell Six Rd 05 2021-10-28          0.000000000
## 143          Pollard 10 2021-10-28          0.000000000
## 144        Pok amont 04 2021-10-28          0.121775485
## 145          Pollard 10 2022-07-28          0.001886792
## 146         Morrison 06 2022-07-28          0.121775485
## 147             Malt 11 2022-07-28          0.000000000
## 148          Suggary 02 2022-07-28          0.379288833
## 149    br. sud amont 01 2022-07-28          0.000000000
## 150          Dempsey 12 2022-07-28          0.017322835
## 151 Branche sud aval 03 2022-07-28          0.000000000
## 152           Sewell 08 2022-07-28          0.000000000
## 153     Waugh sanct. 07 2022-07-28          0.000000000
## 154        Pok amont 04 2022-07-28          0.000000000
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000
## 156 McConnell Six Rd 05 2022-07-28          0.000000000
## 157 McConnell Six Rd 05 2022-09-01          0.379288833
## 158          Pollard 10 2022-09-01          0.001886792
## 159    br. sud amont 01 2022-09-01          0.000000000
## 160         Morrison 06 2022-09-01          0.121775485
## 161             Malt 11 2022-09-01          0.000000000
## 162          Suggary 02 2022-09-01          0.000000000
## 163     Waugh sanct. 07 2022-09-01          0.000000000
## 164          Dempsey 12 2022-09-01          0.017322835
## 165 Branche sud aval 03 2022-09-01          0.000000000
## 166           Sewell 08 2022-09-01          0.000000000
## 167        Pok amont 04 2022-09-01          0.000000000
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000
## 169           Sewell 08 2022-10-03          0.001886792
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000
## 171 McConnell Six Rd 05 2022-10-03          0.379288833
## 172          Pollard 10 2022-10-03          0.000000000
## 173    br. sud amont 01 2022-10-03          0.000000000
## 174         Morrison 06 2022-10-03          0.121775485
## 175             Malt 11 2022-10-03          0.000000000
## 176          Suggary 02 2022-10-03          0.000000000
## 177     Waugh sanct. 07 2022-10-03          0.000000000
## 178          Dempsey 12 2022-10-03          0.017322835
## 179 Branche sud aval 03 2022-10-03          0.000000000
## 180        Pok amont 04 2022-10-03          0.000000000
## 181 Branche sud aval 03 2022-11-01          0.379288833
## 182           Sewell 08 2022-11-01          0.001886792
## 183        Pok amont 04 2022-11-01          0.121775485
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000
## 185 McConnell Six Rd 05 2022-11-01          0.000000000
## 186          Pollard 10 2022-11-01          0.000000000
## 187    br. sud amont 01 2022-11-01          0.000000000
## 188         Morrison 06 2022-11-01          0.017322835
## 189             Malt 11 2022-11-01          0.000000000
## 190          Suggary 02 2022-11-01          0.000000000
## 191     Waugh sanct. 07 2022-11-01          0.000000000
## 192          Dempsey 12 2022-11-01          0.000000000
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le COT et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Boisé_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctB_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01           0.00000000                10
## 2          Morrison 06 2001-08-01           0.02152231                80
## 3              Malt 11 2001-08-01           0.00000000                30
## 4           Suggary 02 2001-08-01           0.00000000                10
## 5      Waugh sanct. 07 2001-08-01           0.00000000               270
## 6           Dempsey 12 2001-08-01           0.00000000                50
## 7  Branche sud aval 03 2001-08-01           0.18484255                10
## 8            Sewell 08 2001-08-01           0.00000000                20
## 9         Pok amont 04 2001-08-01           0.49407361                10
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585                10
## 11 McConnell Six Rd 05 2001-08-01           0.00000000                30
## 12          Pollard 10 2001-08-01           0.00000000               110
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585                10
## 14          Pollard 10 2001-08-28           0.00000000                50
## 15    br. sud amont 01 2001-08-28           0.00000000               120
## 16         Morrison 06 2001-08-28           0.02152231                90
## 17             Malt 11 2001-08-28           0.00000000                20
## 18          Suggary 02 2001-08-28           0.00000000                80
## 19     Waugh sanct. 07 2001-08-28           0.00000000               430
## 20          Dempsey 12 2001-08-28           0.00000000                20
## 21 Branche sud aval 03 2001-08-28           0.18484255               110
## 22           Sewell 08 2001-08-28           0.00000000               210
## 23        Pok amont 04 2001-08-28           0.49407361                10
## 24 McConnell Six Rd 05 2001-08-28           0.00000000               250
## 25        Pok amont 04 2001-09-26           0.49407361               530
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585               830
## 27 McConnell Six Rd 05 2001-09-26           0.00000000               120
## 28          Pollard 10 2001-09-26           0.00000000              1240
## 29    br. sud amont 01 2001-09-26           0.00000000              2000
## 30         Morrison 06 2001-09-26           0.02152231               220
## 31             Malt 11 2001-09-26           0.00000000               150
## 32          Suggary 02 2001-09-26           0.00000000               150
## 33     Waugh sanct. 07 2001-09-26           0.00000000               590
## 34          Dempsey 12 2001-09-26           0.00000000               150
## 35 Branche sud aval 03 2001-09-26           0.18484255               660
## 36           Sewell 08 2001-09-26           0.00000000               190
## 37           Sewell 08 2001-10-31           0.00000000               140
## 38        Pok amont 04 2001-10-31           0.49407361                20
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585                10
## 40         Morrison 06 2001-10-31           0.02152231                10
## 41 McConnell Six Rd 05 2001-10-31           0.00000000               310
## 42          Pollard 10 2001-10-31           0.00000000                50
## 43    br. sud amont 01 2001-10-31           0.00000000                20
## 44          Dempsey 12 2001-10-31           0.00000000                10
## 45             Malt 11 2001-10-31           0.00000000               100
## 46          Suggary 02 2001-10-31           0.00000000                30
## 47     Waugh sanct. 07 2001-10-31           0.00000000               480
## 48 Branche sud aval 03 2001-10-31           0.18484255                30
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585                10
## 50 Branche sud aval 03 2002-07-29           0.18484255                30
## 51           Sewell 08 2002-07-29           0.00000000                60
## 52        Pok amont 04 2002-07-29           0.49407361                10
## 53    br. sud amont 01 2002-07-29           0.00000000                20
## 54         Morrison 06 2002-07-29           0.02152231                10
## 55 McConnell Six Rd 05 2002-07-29           0.00000000                10
## 56          Pollard 10 2002-07-29           0.00000000               660
## 57     Waugh sanct. 07 2002-07-29           0.00000000                80
## 58          Dempsey 12 2002-07-29           0.00000000                25
## 59             Malt 11 2002-07-29           0.00000000                10
## 60          Suggary 02 2002-07-29           0.00000000                10
## 61        Pok amont 04 2002-08-28           0.49407361                30
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585                10
## 63          Dempsey 12 2002-08-28           0.00000000                10
## 64 Branche sud aval 03 2002-08-28           0.18484255                20
## 65           Sewell 08 2002-08-28           0.00000000                10
## 66          Pollard 10 2002-08-28           0.00000000               180
## 67    br. sud amont 01 2002-08-28           0.00000000                80
## 68         Morrison 06 2002-08-28           0.02152231                20
## 69 McConnell Six Rd 05 2002-08-28           0.00000000               310
## 70          Suggary 02 2002-08-28           0.00000000                15
## 71     Waugh sanct. 07 2002-08-28           0.00000000               410
## 72             Malt 11 2002-08-28           0.00000000                30
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585                10
## 74           Sewell 08 2002-10-02           0.00000000                25
## 75        Pok amont 04 2002-10-02           0.49407361                10
## 76     Waugh sanct. 07 2002-10-02           0.00000000               700
## 77          Dempsey 12 2002-10-02           0.00000000                30
## 78 Branche sud aval 03 2002-10-02           0.18484255                40
## 79 McConnell Six Rd 05 2002-10-02           0.00000000               150
## 80          Pollard 10 2002-10-02           0.00000000                10
## 81    br. sud amont 01 2002-10-02           0.00000000                20
## 82         Morrison 06 2002-10-02           0.02152231                10
## 83             Malt 11 2002-10-02           0.00000000                90
## 84          Suggary 02 2002-10-02           0.00000000                20
## 85        Pok amont 04 2002-10-31           0.49407361                10
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585                10
## 87 Branche sud aval 03 2002-10-31           0.18484255                10
## 88           Sewell 08 2002-10-31           0.00000000                10
## 89          Suggary 02 2002-10-31           0.00000000                50
## 90     Waugh sanct. 07 2002-10-31           0.00000000                40
## 91          Dempsey 12 2002-10-31           0.00000000                10
## 92         Morrison 06 2002-10-31           0.02152231                10
## 93 McConnell Six Rd 05 2002-10-31           0.00000000                30
## 94          Pollard 10 2002-10-31           0.00000000                10
## 95    br. sud amont 01 2002-10-31           0.00000000                10
## 96             Malt 11 2002-10-31           0.00000000                10
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctB_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28          0.000000000              20.0
## 98           Dempsey 12 2021-07-28          0.017322835              52.0
## 99  Branche sud aval 03 2021-07-28          0.000000000              74.0
## 100           Sewell 08 2021-07-28          0.000000000              98.0
## 101     Waugh sanct. 07 2021-07-28          0.000000000              52.0
## 102    br. sud amont 01 2021-07-28          0.000000000              75.0
## 103         Morrison 06 2021-07-28          0.121775485              30.0
## 104             Malt 11 2021-07-28          0.000000000              10.0
## 105 McConnell Six Rd 05 2021-07-28          0.379288833              75.0
## 106          Pollard 10 2021-07-28          0.001886792              98.0
## 107        Pok amont 04 2021-07-28          0.000000000              10.0
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000              20.0
## 109             Malt 11 2021-08-31          0.001886792              39.3
## 110          Suggary 02 2021-08-31          0.000000000             235.9
## 111     Waugh sanct. 07 2021-08-31          0.000000000              68.3
## 112          Dempsey 12 2021-08-31          0.017322835              49.6
## 113 Branche sud aval 03 2021-08-31          0.000000000              54.5
## 114           Sewell 08 2021-08-31          0.000000000             148.3
## 115          Pollard 10 2021-08-31          0.000000000             117.8
## 116    br. sud amont 01 2021-08-31          0.000000000              72.7
## 117         Morrison 06 2021-08-31          0.121775485              25.6
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000              67.7
## 119 McConnell Six Rd 05 2021-08-31          0.379288833              70.3
## 120        Pok amont 04 2021-08-31          0.000000000              15.6
## 121          Suggary 02 2021-10-05          0.379288833              41.7
## 122         Morrison 06 2021-10-05          0.001886792              24.6
## 123             Malt 11 2021-10-05          0.000000000              47.1
## 124           Sewell 08 2021-10-05          0.000000000             135.4
## 125     Waugh sanct. 07 2021-10-05          0.000000000              29.5
## 126          Dempsey 12 2021-10-05          0.017322835              54.8
## 127 Branche sud aval 03 2021-10-05          0.000000000              37.3
## 128 McConnell Six Rd 05 2021-10-05          0.000000000              95.9
## 129          Pollard 10 2021-10-05          0.000000000              62.7
## 130    br. sud amont 01 2021-10-05          0.000000000              35.5
## 131        Pok amont 04 2021-10-05          0.121775485              10.8
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000              27.5
## 133             Malt 11 2021-10-28          0.000000000              16.0
## 134          Suggary 02 2021-10-28          0.379288833               7.4
## 135    br. sud amont 01 2021-10-28          0.001886792              19.9
## 136         Morrison 06 2021-10-28          0.017322835              12.1
## 137 Branche sud aval 03 2021-10-28          0.000000000              39.9
## 138           Sewell 08 2021-10-28          0.000000000              48.1
## 139     Waugh sanct. 07 2021-10-28          0.000000000              38.4
## 140          Dempsey 12 2021-10-28          0.000000000              52.0
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000              24.3
## 142 McConnell Six Rd 05 2021-10-28          0.000000000              29.5
## 143          Pollard 10 2021-10-28          0.000000000              34.5
## 144        Pok amont 04 2021-10-28          0.121775485              14.6
## 145          Pollard 10 2022-07-28          0.001886792              57.6
## 146         Morrison 06 2022-07-28          0.121775485             133.4
## 147             Malt 11 2022-07-28          0.000000000              70.3
## 148          Suggary 02 2022-07-28          0.379288833              27.5
## 149    br. sud amont 01 2022-07-28          0.000000000              32.7
## 150          Dempsey 12 2022-07-28          0.017322835              41.7
## 151 Branche sud aval 03 2022-07-28          0.000000000              59.8
## 152           Sewell 08 2022-07-28          0.000000000              90.6
## 153     Waugh sanct. 07 2022-07-28          0.000000000              93.3
## 154        Pok amont 04 2022-07-28          0.000000000              77.1
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000              22.8
## 156 McConnell Six Rd 05 2022-07-28          0.000000000             488.4
## 157 McConnell Six Rd 05 2022-09-01          0.379288833              82.0
## 158          Pollard 10 2022-09-01          0.001886792            1046.2
## 159    br. sud amont 01 2022-09-01          0.000000000             114.5
## 160         Morrison 06 2022-09-01          0.121775485             686.7
## 161             Malt 11 2022-09-01          0.000000000              69.1
## 162          Suggary 02 2022-09-01          0.000000000              40.2
## 163     Waugh sanct. 07 2022-09-01          0.000000000              88.0
## 164          Dempsey 12 2022-09-01          0.017322835             248.1
## 165 Branche sud aval 03 2022-09-01          0.000000000              70.3
## 166           Sewell 08 2022-09-01          0.000000000             172.2
## 167        Pok amont 04 2022-09-01          0.000000000               5.2
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000             121.1
## 169           Sewell 08 2022-10-03          0.001886792              48.8
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000              44.1
## 171 McConnell Six Rd 05 2022-10-03          0.379288833              59.1
## 172          Pollard 10 2022-10-03          0.000000000              24.1
## 173    br. sud amont 01 2022-10-03          0.000000000              57.6
## 174         Morrison 06 2022-10-03          0.121775485              47.4
## 175             Malt 11 2022-10-03          0.000000000               5.2
## 176          Suggary 02 2022-10-03          0.000000000               9.7
## 177     Waugh sanct. 07 2022-10-03          0.000000000              65.7
## 178          Dempsey 12 2022-10-03          0.017322835              48.0
## 179 Branche sud aval 03 2022-10-03          0.000000000              13.4
## 180        Pok amont 04 2022-10-03          0.000000000               8.4
## 181 Branche sud aval 03 2022-11-01          0.379288833              24.6
## 182           Sewell 08 2022-11-01          0.001886792             115.3
## 183        Pok amont 04 2022-11-01          0.121775485               5.2
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000               3.1
## 185 McConnell Six Rd 05 2022-11-01          0.000000000              72.3
## 186          Pollard 10 2022-11-01          0.000000000              20.3
## 187    br. sud amont 01 2022-11-01          0.000000000              37.3
## 188         Morrison 06 2022-11-01          0.017322835              39.9
## 189             Malt 11 2022-11-01          0.000000000              45.0
## 190          Suggary 02 2022-11-01          0.000000000               8.5
## 191     Waugh sanct. 07 2022-11-01          0.000000000             249.5
## 192          Dempsey 12 2022-11-01          0.000000000              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=E.coli_MPN_100.mL,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=E.coli_MPN_100.mL),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Boisé_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctB_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01           0.00000000                0.0080
## 2          Morrison 06 2001-08-01           0.02152231                0.0080
## 3              Malt 11 2001-08-01           0.00000000                0.0110
## 4           Suggary 02 2001-08-01           0.00000000                0.0090
## 5      Waugh sanct. 07 2001-08-01           0.00000000                0.0150
## 6           Dempsey 12 2001-08-01           0.00000000                0.0140
## 7  Branche sud aval 03 2001-08-01           0.18484255                0.0080
## 8            Sewell 08 2001-08-01           0.00000000                0.0110
## 9         Pok amont 04 2001-08-01           0.49407361                0.0110
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585                0.0090
## 11 McConnell Six Rd 05 2001-08-01           0.00000000                0.0160
## 12          Pollard 10 2001-08-01           0.00000000                0.0150
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585                0.0070
## 14          Pollard 10 2001-08-28           0.00000000                0.0170
## 15    br. sud amont 01 2001-08-28           0.00000000                0.0060
## 16         Morrison 06 2001-08-28           0.02152231                0.0080
## 17             Malt 11 2001-08-28           0.00000000                0.0080
## 18          Suggary 02 2001-08-28           0.00000000                0.0080
## 19     Waugh sanct. 07 2001-08-28           0.00000000                0.0090
## 20          Dempsey 12 2001-08-28           0.00000000                0.0110
## 21 Branche sud aval 03 2001-08-28           0.18484255                0.0070
## 22           Sewell 08 2001-08-28           0.00000000                0.0170
## 23        Pok amont 04 2001-08-28           0.49407361                0.0060
## 24 McConnell Six Rd 05 2001-08-28           0.00000000                0.0130
## 25        Pok amont 04 2001-09-26           0.49407361                0.0130
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585                0.0140
## 27 McConnell Six Rd 05 2001-09-26           0.00000000                0.0130
## 28          Pollard 10 2001-09-26           0.00000000                0.0155
## 29    br. sud amont 01 2001-09-26           0.00000000                0.0130
## 30         Morrison 06 2001-09-26           0.02152231                0.0080
## 31             Malt 11 2001-09-26           0.00000000                0.0120
## 32          Suggary 02 2001-09-26           0.00000000                0.0090
## 33     Waugh sanct. 07 2001-09-26           0.00000000                0.0140
## 34          Dempsey 12 2001-09-26           0.00000000                0.0190
## 35 Branche sud aval 03 2001-09-26           0.18484255                0.0090
## 36           Sewell 08 2001-09-26           0.00000000                0.0120
## 37           Sewell 08 2001-10-31           0.00000000                0.0120
## 38        Pok amont 04 2001-10-31           0.49407361                0.0050
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585                0.0050
## 40         Morrison 06 2001-10-31           0.02152231                0.0060
## 41 McConnell Six Rd 05 2001-10-31           0.00000000                0.0110
## 42          Pollard 10 2001-10-31           0.00000000                0.0080
## 43    br. sud amont 01 2001-10-31           0.00000000                0.0050
## 44          Dempsey 12 2001-10-31           0.00000000                0.0090
## 45             Malt 11 2001-10-31           0.00000000                0.0070
## 46          Suggary 02 2001-10-31           0.00000000                0.0080
## 47     Waugh sanct. 07 2001-10-31           0.00000000                0.0120
## 48 Branche sud aval 03 2001-10-31           0.18484255                0.0050
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585                0.0050
## 50 Branche sud aval 03 2002-07-29           0.18484255                0.0070
## 51           Sewell 08 2002-07-29           0.00000000                0.0200
## 52        Pok amont 04 2002-07-29           0.49407361                0.0060
## 53    br. sud amont 01 2002-07-29           0.00000000                0.0060
## 54         Morrison 06 2002-07-29           0.02152231                0.0080
## 55 McConnell Six Rd 05 2002-07-29           0.00000000                0.0130
## 56          Pollard 10 2002-07-29           0.00000000                0.0230
## 57     Waugh sanct. 07 2002-07-29           0.00000000                0.0120
## 58          Dempsey 12 2002-07-29           0.00000000                0.0100
## 59             Malt 11 2002-07-29           0.00000000                0.0090
## 60          Suggary 02 2002-07-29           0.00000000                0.0070
## 61        Pok amont 04 2002-08-28           0.49407361                0.0100
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585                0.0090
## 63          Dempsey 12 2002-08-28           0.00000000                0.0130
## 64 Branche sud aval 03 2002-08-28           0.18484255                0.0080
## 65           Sewell 08 2002-08-28           0.00000000                0.0100
## 66          Pollard 10 2002-08-28           0.00000000                0.0160
## 67    br. sud amont 01 2002-08-28           0.00000000                0.0070
## 68         Morrison 06 2002-08-28           0.02152231                0.0090
## 69 McConnell Six Rd 05 2002-08-28           0.00000000                0.0140
## 70          Suggary 02 2002-08-28           0.00000000                0.0100
## 71     Waugh sanct. 07 2002-08-28           0.00000000                0.0130
## 72             Malt 11 2002-08-28           0.00000000                0.0110
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585                0.0070
## 74           Sewell 08 2002-10-02           0.00000000                0.0155
## 75        Pok amont 04 2002-10-02           0.49407361                0.0060
## 76     Waugh sanct. 07 2002-10-02           0.00000000                0.0090
## 77          Dempsey 12 2002-10-02           0.00000000                0.0120
## 78 Branche sud aval 03 2002-10-02           0.18484255                0.0080
## 79 McConnell Six Rd 05 2002-10-02           0.00000000                0.0110
## 80          Pollard 10 2002-10-02           0.00000000                0.0110
## 81    br. sud amont 01 2002-10-02           0.00000000                0.0050
## 82         Morrison 06 2002-10-02           0.02152231                0.0050
## 83             Malt 11 2002-10-02           0.00000000                0.0080
## 84          Suggary 02 2002-10-02           0.00000000                0.0070
## 85        Pok amont 04 2002-10-31           0.49407361                0.0060
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585                0.0050
## 87 Branche sud aval 03 2002-10-31           0.18484255                0.0050
## 88           Sewell 08 2002-10-31           0.00000000                0.0130
## 89          Suggary 02 2002-10-31           0.00000000                0.0050
## 90     Waugh sanct. 07 2002-10-31           0.00000000                0.0080
## 91          Dempsey 12 2002-10-31           0.00000000                0.0080
## 92         Morrison 06 2002-10-31           0.02152231                0.0050
## 93 McConnell Six Rd 05 2002-10-31           0.00000000                0.0090
## 94          Pollard 10 2002-10-31           0.00000000                0.0060
## 95    br. sud amont 01 2002-10-31           0.00000000                0.0065
## 96             Malt 11 2002-10-31           0.00000000                0.0050
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctB_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28          0.000000000                 0.018
## 98           Dempsey 12 2021-07-28          0.017322835                 0.024
## 99  Branche sud aval 03 2021-07-28          0.000000000                 0.022
## 100           Sewell 08 2021-07-28          0.000000000                 0.028
## 101     Waugh sanct. 07 2021-07-28          0.000000000                 0.017
## 102    br. sud amont 01 2021-07-28          0.000000000                 0.016
## 103         Morrison 06 2021-07-28          0.121775485                 0.019
## 104             Malt 11 2021-07-28          0.000000000                 0.014
## 105 McConnell Six Rd 05 2021-07-28          0.379288833                 0.026
## 106          Pollard 10 2021-07-28          0.001886792                 0.051
## 107        Pok amont 04 2021-07-28          0.000000000                 0.022
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000                 0.014
## 109             Malt 11 2021-08-31          0.001886792                 0.005
## 110          Suggary 02 2021-08-31          0.000000000                 0.011
## 111     Waugh sanct. 07 2021-08-31          0.000000000                 0.006
## 112          Dempsey 12 2021-08-31          0.017322835                 0.014
## 113 Branche sud aval 03 2021-08-31          0.000000000                 0.009
## 114           Sewell 08 2021-08-31          0.000000000                 0.015
## 115          Pollard 10 2021-08-31          0.000000000                 0.073
## 116    br. sud amont 01 2021-08-31          0.000000000                 0.016
## 117         Morrison 06 2021-08-31          0.121775485                 0.016
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000                 0.012
## 119 McConnell Six Rd 05 2021-08-31          0.379288833                 0.029
## 120        Pok amont 04 2021-08-31          0.000000000                 0.008
## 121          Suggary 02 2021-10-05          0.379288833                 0.007
## 122         Morrison 06 2021-10-05          0.001886792                 0.010
## 123             Malt 11 2021-10-05          0.000000000                 0.012
## 124           Sewell 08 2021-10-05          0.000000000                 0.024
## 125     Waugh sanct. 07 2021-10-05          0.000000000                 0.019
## 126          Dempsey 12 2021-10-05          0.017322835                 0.018
## 127 Branche sud aval 03 2021-10-05          0.000000000                 0.015
## 128 McConnell Six Rd 05 2021-10-05          0.000000000                 0.025
## 129          Pollard 10 2021-10-05          0.000000000                 0.037
## 130    br. sud amont 01 2021-10-05          0.000000000                 0.019
## 131        Pok amont 04 2021-10-05          0.121775485                 0.008
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000                 0.011
## 133             Malt 11 2021-10-28          0.000000000                 0.009
## 134          Suggary 02 2021-10-28          0.379288833                 0.009
## 135    br. sud amont 01 2021-10-28          0.001886792                 0.013
## 136         Morrison 06 2021-10-28          0.017322835                 0.011
## 137 Branche sud aval 03 2021-10-28          0.000000000                 0.022
## 138           Sewell 08 2021-10-28          0.000000000                 0.020
## 139     Waugh sanct. 07 2021-10-28          0.000000000                 0.018
## 140          Dempsey 12 2021-10-28          0.000000000                 0.015
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000                 0.010
## 142 McConnell Six Rd 05 2021-10-28          0.000000000                 0.018
## 143          Pollard 10 2021-10-28          0.000000000                 0.033
## 144        Pok amont 04 2021-10-28          0.121775485                 0.013
## 145          Pollard 10 2022-07-28          0.001886792                 0.034
## 146         Morrison 06 2022-07-28          0.121775485                 0.014
## 147             Malt 11 2022-07-28          0.000000000                 0.008
## 148          Suggary 02 2022-07-28          0.379288833                 0.009
## 149    br. sud amont 01 2022-07-28          0.000000000                 0.016
## 150          Dempsey 12 2022-07-28          0.017322835                 0.017
## 151 Branche sud aval 03 2022-07-28          0.000000000                 0.013
## 152           Sewell 08 2022-07-28          0.000000000                 0.019
## 153     Waugh sanct. 07 2022-07-28          0.000000000                 0.011
## 154        Pok amont 04 2022-07-28          0.000000000                 0.009
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000                 0.009
## 156 McConnell Six Rd 05 2022-07-28          0.000000000                 0.019
## 157 McConnell Six Rd 05 2022-09-01          0.379288833                 0.024
## 158          Pollard 10 2022-09-01          0.001886792                 0.075
## 159    br. sud amont 01 2022-09-01          0.000000000                 0.015
## 160         Morrison 06 2022-09-01          0.121775485                 0.021
## 161             Malt 11 2022-09-01          0.000000000                 0.008
## 162          Suggary 02 2022-09-01          0.000000000                 0.010
## 163     Waugh sanct. 07 2022-09-01          0.000000000                 0.021
## 164          Dempsey 12 2022-09-01          0.017322835                 0.021
## 165 Branche sud aval 03 2022-09-01          0.000000000                 0.016
## 166           Sewell 08 2022-09-01          0.000000000                 0.019
## 167        Pok amont 04 2022-09-01          0.000000000                 0.010
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000                 0.012
## 169           Sewell 08 2022-10-03          0.001886792                 0.016
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000                 0.019
## 171 McConnell Six Rd 05 2022-10-03          0.379288833                 0.022
## 172          Pollard 10 2022-10-03          0.000000000                 0.049
## 173    br. sud amont 01 2022-10-03          0.000000000                 0.016
## 174         Morrison 06 2022-10-03          0.121775485                 0.014
## 175             Malt 11 2022-10-03          0.000000000                 0.007
## 176          Suggary 02 2022-10-03          0.000000000                 0.005
## 177     Waugh sanct. 07 2022-10-03          0.000000000                 0.013
## 178          Dempsey 12 2022-10-03          0.017322835                 0.013
## 179 Branche sud aval 03 2022-10-03          0.000000000                 0.009
## 180        Pok amont 04 2022-10-03          0.000000000                 0.013
## 181 Branche sud aval 03 2022-11-01          0.379288833                 0.013
## 182           Sewell 08 2022-11-01          0.001886792                 0.021
## 183        Pok amont 04 2022-11-01          0.121775485                 0.011
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000                 0.017
## 185 McConnell Six Rd 05 2022-11-01          0.000000000                 0.020
## 186          Pollard 10 2022-11-01          0.000000000                 0.041
## 187    br. sud amont 01 2022-11-01          0.000000000                 0.020
## 188         Morrison 06 2022-11-01          0.017322835                 0.018
## 189             Malt 11 2022-11-01          0.000000000                 0.009
## 190          Suggary 02 2022-11-01          0.000000000                 0.010
## 191     Waugh sanct. 07 2022-11-01          0.000000000                 0.017
## 192          Dempsey 12 2022-11-01          0.000000000                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Boisé_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctB_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctB_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01           0.00000000            0.0500
## 2          Morrison 06 2001-08-01           0.02152231            0.0940
## 3              Malt 11 2001-08-01           0.00000000            0.0500
## 4           Suggary 02 2001-08-01           0.00000000            0.0500
## 5      Waugh sanct. 07 2001-08-01           0.00000000            0.0500
## 6           Dempsey 12 2001-08-01           0.00000000            0.0500
## 7  Branche sud aval 03 2001-08-01           0.18484255            0.0500
## 8            Sewell 08 2001-08-01           0.00000000            0.1360
## 9         Pok amont 04 2001-08-01           0.49407361            0.0500
## 10 Trout Val-Doucet 09 2001-08-01           0.01273585            0.0500
## 11 McConnell Six Rd 05 2001-08-01           0.00000000            0.2510
## 12          Pollard 10 2001-08-01           0.00000000            0.2600
## 13 Trout Val-Doucet 09 2001-08-28           0.01273585            0.0500
## 14          Pollard 10 2001-08-28           0.00000000            0.3010
## 15    br. sud amont 01 2001-08-28           0.00000000            0.0500
## 16         Morrison 06 2001-08-28           0.02152231            0.0910
## 17             Malt 11 2001-08-28           0.00000000            0.0500
## 18          Suggary 02 2001-08-28           0.00000000            0.0500
## 19     Waugh sanct. 07 2001-08-28           0.00000000            0.0500
## 20          Dempsey 12 2001-08-28           0.00000000            0.0500
## 21 Branche sud aval 03 2001-08-28           0.18484255            0.0500
## 22           Sewell 08 2001-08-28           0.00000000            0.1330
## 23        Pok amont 04 2001-08-28           0.49407361            0.0500
## 24 McConnell Six Rd 05 2001-08-28           0.00000000            0.2810
## 25        Pok amont 04 2001-09-26           0.49407361            0.0500
## 26 Trout Val-Doucet 09 2001-09-26           0.01273585            0.0500
## 27 McConnell Six Rd 05 2001-09-26           0.00000000            0.2110
## 28          Pollard 10 2001-09-26           0.00000000            0.1845
## 29    br. sud amont 01 2001-09-26           0.00000000            0.0770
## 30         Morrison 06 2001-09-26           0.02152231            0.0500
## 31             Malt 11 2001-09-26           0.00000000            0.0500
## 32          Suggary 02 2001-09-26           0.00000000            0.0500
## 33     Waugh sanct. 07 2001-09-26           0.00000000            0.0500
## 34          Dempsey 12 2001-09-26           0.00000000            0.0500
## 35 Branche sud aval 03 2001-09-26           0.18484255            0.0500
## 36           Sewell 08 2001-09-26           0.00000000            0.0500
## 37           Sewell 08 2001-10-31           0.00000000            0.0500
## 38        Pok amont 04 2001-10-31           0.49407361            0.0500
## 39 Trout Val-Doucet 09 2001-10-31           0.01273585            0.0500
## 40         Morrison 06 2001-10-31           0.02152231            0.0500
## 41 McConnell Six Rd 05 2001-10-31           0.00000000            0.0500
## 42          Pollard 10 2001-10-31           0.00000000            0.2300
## 43    br. sud amont 01 2001-10-31           0.00000000            0.0500
## 44          Dempsey 12 2001-10-31           0.00000000            0.0500
## 45             Malt 11 2001-10-31           0.00000000            0.0500
## 46          Suggary 02 2001-10-31           0.00000000            0.0500
## 47     Waugh sanct. 07 2001-10-31           0.00000000            0.0500
## 48 Branche sud aval 03 2001-10-31           0.18484255            0.0500
## 49 Trout Val-Doucet 09 2002-07-29           0.01273585            0.0500
## 50 Branche sud aval 03 2002-07-29           0.18484255            0.0500
## 51           Sewell 08 2002-07-29           0.00000000            0.2200
## 52        Pok amont 04 2002-07-29           0.49407361            0.0700
## 53    br. sud amont 01 2002-07-29           0.00000000            0.0500
## 54         Morrison 06 2002-07-29           0.02152231            0.0700
## 55 McConnell Six Rd 05 2002-07-29           0.00000000            0.2800
## 56          Pollard 10 2002-07-29           0.00000000            0.3300
## 57     Waugh sanct. 07 2002-07-29           0.00000000            0.0500
## 58          Dempsey 12 2002-07-29           0.00000000            0.0500
## 59             Malt 11 2002-07-29           0.00000000            0.0500
## 60          Suggary 02 2002-07-29           0.00000000            0.1900
## 61        Pok amont 04 2002-08-28           0.49407361            0.0700
## 62 Trout Val-Doucet 09 2002-08-28           0.01273585            0.0500
## 63          Dempsey 12 2002-08-28           0.00000000            0.0500
## 64 Branche sud aval 03 2002-08-28           0.18484255            0.0500
## 65           Sewell 08 2002-08-28           0.00000000            0.0500
## 66          Pollard 10 2002-08-28           0.00000000            0.1800
## 67    br. sud amont 01 2002-08-28           0.00000000            0.0500
## 68         Morrison 06 2002-08-28           0.02152231            0.0700
## 69 McConnell Six Rd 05 2002-08-28           0.00000000            0.3000
## 70          Suggary 02 2002-08-28           0.00000000            0.1750
## 71     Waugh sanct. 07 2002-08-28           0.00000000            0.0500
## 72             Malt 11 2002-08-28           0.00000000            0.0500
## 73 Trout Val-Doucet 09 2002-10-02           0.01273585            0.0500
## 74           Sewell 08 2002-10-02           0.00000000            0.0500
## 75        Pok amont 04 2002-10-02           0.49407361            0.0500
## 76     Waugh sanct. 07 2002-10-02           0.00000000            0.0500
## 77          Dempsey 12 2002-10-02           0.00000000            0.0500
## 78 Branche sud aval 03 2002-10-02           0.18484255            0.0500
## 79 McConnell Six Rd 05 2002-10-02           0.00000000            0.1900
## 80          Pollard 10 2002-10-02           0.00000000            0.1300
## 81    br. sud amont 01 2002-10-02           0.00000000            0.0500
## 82         Morrison 06 2002-10-02           0.02152231            0.0500
## 83             Malt 11 2002-10-02           0.00000000            0.0500
## 84          Suggary 02 2002-10-02           0.00000000            0.1300
## 85        Pok amont 04 2002-10-31           0.49407361            0.0500
## 86 Trout Val-Doucet 09 2002-10-31           0.01273585            0.0500
## 87 Branche sud aval 03 2002-10-31           0.18484255            0.0500
## 88           Sewell 08 2002-10-31           0.00000000            0.2300
## 89          Suggary 02 2002-10-31           0.00000000            0.1500
## 90     Waugh sanct. 07 2002-10-31           0.00000000            0.0800
## 91          Dempsey 12 2002-10-31           0.00000000            0.0500
## 92         Morrison 06 2002-10-31           0.02152231            0.0700
## 93 McConnell Six Rd 05 2002-10-31           0.00000000            0.2200
## 94          Pollard 10 2002-10-31           0.00000000            0.1900
## 95    br. sud amont 01 2002-10-31           0.00000000            0.0500
## 96             Malt 11 2002-10-31           0.00000000            0.1300
subset(Period2, select=c(Station2, Date, pctB_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctB_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28          0.000000000              0.11
## 98           Dempsey 12 2021-07-28          0.017322835              0.08
## 99  Branche sud aval 03 2021-07-28          0.000000000              0.05
## 100           Sewell 08 2021-07-28          0.000000000              0.17
## 101     Waugh sanct. 07 2021-07-28          0.000000000              0.06
## 102    br. sud amont 01 2021-07-28          0.000000000              0.08
## 103         Morrison 06 2021-07-28          0.121775485              0.05
## 104             Malt 11 2021-07-28          0.000000000              0.06
## 105 McConnell Six Rd 05 2021-07-28          0.379288833              0.21
## 106          Pollard 10 2021-07-28          0.001886792              0.40
## 107        Pok amont 04 2021-07-28          0.000000000              0.12
## 108 Trout Val-Doucet 09 2021-07-28          0.000000000              0.18
## 109             Malt 11 2021-08-31          0.001886792              0.06
## 110          Suggary 02 2021-08-31          0.000000000              0.12
## 111     Waugh sanct. 07 2021-08-31          0.000000000              0.05
## 112          Dempsey 12 2021-08-31          0.017322835              0.08
## 113 Branche sud aval 03 2021-08-31          0.000000000              0.06
## 114           Sewell 08 2021-08-31          0.000000000              0.12
## 115          Pollard 10 2021-08-31          0.000000000              0.32
## 116    br. sud amont 01 2021-08-31          0.000000000              0.05
## 117         Morrison 06 2021-08-31          0.121775485              0.05
## 118 Trout Val-Doucet 09 2021-08-31          0.000000000              0.14
## 119 McConnell Six Rd 05 2021-08-31          0.379288833              0.21
## 120        Pok amont 04 2021-08-31          0.000000000              0.10
## 121          Suggary 02 2021-10-05          0.379288833              0.17
## 122         Morrison 06 2021-10-05          0.001886792              0.06
## 123             Malt 11 2021-10-05          0.000000000              0.12
## 124           Sewell 08 2021-10-05          0.000000000              0.13
## 125     Waugh sanct. 07 2021-10-05          0.000000000              0.05
## 126          Dempsey 12 2021-10-05          0.017322835              0.09
## 127 Branche sud aval 03 2021-10-05          0.000000000              0.05
## 128 McConnell Six Rd 05 2021-10-05          0.000000000              0.33
## 129          Pollard 10 2021-10-05          0.000000000              0.38
## 130    br. sud amont 01 2021-10-05          0.000000000              0.05
## 131        Pok amont 04 2021-10-05          0.121775485              0.11
## 132 Trout Val-Doucet 09 2021-10-05          0.000000000              0.22
## 133             Malt 11 2021-10-28          0.000000000              0.07
## 134          Suggary 02 2021-10-28          0.379288833              0.15
## 135    br. sud amont 01 2021-10-28          0.001886792              0.05
## 136         Morrison 06 2021-10-28          0.017322835              0.08
## 137 Branche sud aval 03 2021-10-28          0.000000000              0.07
## 138           Sewell 08 2021-10-28          0.000000000              0.14
## 139     Waugh sanct. 07 2021-10-28          0.000000000              0.05
## 140          Dempsey 12 2021-10-28          0.000000000              0.10
## 141 Trout Val-Doucet 09 2021-10-28          0.000000000              0.27
## 142 McConnell Six Rd 05 2021-10-28          0.000000000              0.36
## 143          Pollard 10 2021-10-28          0.000000000              0.38
## 144        Pok amont 04 2021-10-28          0.121775485              0.13
## 145          Pollard 10 2022-07-28          0.001886792              0.40
## 146         Morrison 06 2022-07-28          0.121775485              0.08
## 147             Malt 11 2022-07-28          0.000000000              0.06
## 148          Suggary 02 2022-07-28          0.379288833              0.11
## 149    br. sud amont 01 2022-07-28          0.000000000              0.05
## 150          Dempsey 12 2022-07-28          0.017322835              0.11
## 151 Branche sud aval 03 2022-07-28          0.000000000              0.07
## 152           Sewell 08 2022-07-28          0.000000000              0.17
## 153     Waugh sanct. 07 2022-07-28          0.000000000              0.05
## 154        Pok amont 04 2022-07-28          0.000000000              0.07
## 155 Trout Val-Doucet 09 2022-07-28          0.000000000              0.15
## 156 McConnell Six Rd 05 2022-07-28          0.000000000              0.36
## 157 McConnell Six Rd 05 2022-09-01          0.379288833              0.26
## 158          Pollard 10 2022-09-01          0.001886792              0.53
## 159    br. sud amont 01 2022-09-01          0.000000000              0.05
## 160         Morrison 06 2022-09-01          0.121775485              0.06
## 161             Malt 11 2022-09-01          0.000000000              0.10
## 162          Suggary 02 2022-09-01          0.000000000              0.13
## 163     Waugh sanct. 07 2022-09-01          0.000000000              0.10
## 164          Dempsey 12 2022-09-01          0.017322835              0.15
## 165 Branche sud aval 03 2022-09-01          0.000000000              0.06
## 166           Sewell 08 2022-09-01          0.000000000              0.17
## 167        Pok amont 04 2022-09-01          0.000000000              0.06
## 168 Trout Val-Doucet 09 2022-09-01          0.000000000              0.12
## 169           Sewell 08 2022-10-03          0.001886792              0.08
## 170 Trout Val-Doucet 09 2022-10-03          0.000000000              0.11
## 171 McConnell Six Rd 05 2022-10-03          0.379288833              0.27
## 172          Pollard 10 2022-10-03          0.000000000              0.50
## 173    br. sud amont 01 2022-10-03          0.000000000              0.06
## 174         Morrison 06 2022-10-03          0.121775485              0.05
## 175             Malt 11 2022-10-03          0.000000000              0.06
## 176          Suggary 02 2022-10-03          0.000000000              0.15
## 177     Waugh sanct. 07 2022-10-03          0.000000000              0.09
## 178          Dempsey 12 2022-10-03          0.017322835              0.09
## 179 Branche sud aval 03 2022-10-03          0.000000000              0.05
## 180        Pok amont 04 2022-10-03          0.000000000              0.05
## 181 Branche sud aval 03 2022-11-01          0.379288833              0.05
## 182           Sewell 08 2022-11-01          0.001886792              0.15
## 183        Pok amont 04 2022-11-01          0.121775485              0.07
## 184 Trout Val-Doucet 09 2022-11-01          0.000000000              0.14
## 185 McConnell Six Rd 05 2022-11-01          0.000000000              0.25
## 186          Pollard 10 2022-11-01          0.000000000              0.54
## 187    br. sud amont 01 2022-11-01          0.000000000              0.07
## 188         Morrison 06 2022-11-01          0.017322835              0.09
## 189             Malt 11 2022-11-01          0.000000000              0.07
## 190          Suggary 02 2022-11-01          0.000000000              0.16
## 191     Waugh sanct. 07 2022-11-01          0.000000000              0.06
## 192          Dempsey 12 2022-11-01          0.000000000              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctB_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctB_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctB_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctB_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les superficies boisés",
x=" Les superficies boisés (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

c: superficie de succession naturelle

# Crée la variable pourcentage


Period1$pctN_supdrainee_1990 = Period1$N_km2_supdrainee_1990 /
Period1$sup_drainee_km2_sbv

Period2$pctN_supdrainee_2020 = Period1$N_km2_supdrainee_2020 /
Period1$sup_drainee_km2_sbv

superficie_naturels_vs_température

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Temp_eau_YSI_degC))
##               Station2       Date pctN_supdrainee_1990 Temp_eau_YSI_degC
## 1     br. sud amont 01 2001-08-01          0.001041124              11.5
## 2          Morrison 06 2001-08-01          0.002099738              10.2
## 3              Malt 11 2001-08-01          0.008588298              25.2
## 4           Suggary 02 2001-08-01          0.000000000              14.4
## 5      Waugh sanct. 07 2001-08-01          0.015444015              10.8
## 6           Dempsey 12 2001-08-01          0.003407984              20.4
## 7  Branche sud aval 03 2001-08-01          0.002134851              13.5
## 8            Sewell 08 2001-08-01          0.002027027              12.8
## 9         Pok amont 04 2001-08-01          0.004366812              11.4
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189              14.5
## 11 McConnell Six Rd 05 2001-08-01          0.000000000               9.0
## 12          Pollard 10 2001-08-01          0.000000000              15.1
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189               9.3
## 14          Pollard 10 2001-08-28          0.000000000              12.0
## 15    br. sud amont 01 2001-08-28          0.001041124              10.0
## 16         Morrison 06 2001-08-28          0.002099738               NaN
## 17             Malt 11 2001-08-28          0.008588298               8.8
## 18          Suggary 02 2001-08-28          0.000000000              13.0
## 19     Waugh sanct. 07 2001-08-28          0.015444015              10.6
## 20          Dempsey 12 2001-08-28          0.003407984              13.5
## 21 Branche sud aval 03 2001-08-28          0.002134851              11.5
## 22           Sewell 08 2001-08-28          0.002027027              13.5
## 23        Pok amont 04 2001-08-28          0.004366812               8.4
## 24 McConnell Six Rd 05 2001-08-28          0.000000000              10.9
## 25        Pok amont 04 2001-09-26          0.004366812               9.8
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189              10.7
## 27 McConnell Six Rd 05 2001-09-26          0.000000000              11.8
## 28          Pollard 10 2001-09-26          0.000000000              12.7
## 29    br. sud amont 01 2001-09-26          0.001041124              11.5
## 30         Morrison 06 2001-09-26          0.002099738              11.2
## 31             Malt 11 2001-09-26          0.008588298               9.3
## 32          Suggary 02 2001-09-26          0.000000000              12.9
## 33     Waugh sanct. 07 2001-09-26          0.015444015              10.4
## 34          Dempsey 12 2001-09-26          0.003407984              13.4
## 35 Branche sud aval 03 2001-09-26          0.002134851              12.0
## 36           Sewell 08 2001-09-26          0.002027027              12.9
## 37           Sewell 08 2001-10-31          0.002027027               1.4
## 38        Pok amont 04 2001-10-31          0.004366812               4.8
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189               3.0
## 40         Morrison 06 2001-10-31          0.002099738               1.8
## 41 McConnell Six Rd 05 2001-10-31          0.000000000               2.1
## 42          Pollard 10 2001-10-31          0.000000000               3.3
## 43    br. sud amont 01 2001-10-31          0.001041124               2.7
## 44          Dempsey 12 2001-10-31          0.003407984               3.9
## 45             Malt 11 2001-10-31          0.008588298               4.8
## 46          Suggary 02 2001-10-31          0.000000000               2.1
## 47     Waugh sanct. 07 2001-10-31          0.015444015               2.7
## 48 Branche sud aval 03 2001-10-31          0.002134851               2.3
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189              17.5
## 50 Branche sud aval 03 2002-07-29          0.002134851              15.7
## 51           Sewell 08 2002-07-29          0.002027027              16.8
## 52        Pok amont 04 2002-07-29          0.004366812              13.3
## 53    br. sud amont 01 2002-07-29          0.001041124              14.7
## 54         Morrison 06 2002-07-29          0.002099738              17.3
## 55 McConnell Six Rd 05 2002-07-29          0.000000000              17.4
## 56          Pollard 10 2002-07-29          0.000000000              17.0
## 57     Waugh sanct. 07 2002-07-29          0.015444015              16.4
## 58          Dempsey 12 2002-07-29          0.003407984              15.6
## 59             Malt 11 2002-07-29          0.008588298              14.9
## 60          Suggary 02 2002-07-29          0.000000000              17.9
## 61        Pok amont 04 2002-08-28          0.004366812               8.0
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189              10.2
## 63          Dempsey 12 2002-08-28          0.003407984              13.2
## 64 Branche sud aval 03 2002-08-28          0.002134851              11.3
## 65           Sewell 08 2002-08-28          0.002027027              13.1
## 66          Pollard 10 2002-08-28          0.000000000              11.1
## 67    br. sud amont 01 2002-08-28          0.001041124              11.1
## 68         Morrison 06 2002-08-28          0.002099738               9.9
## 69 McConnell Six Rd 05 2002-08-28          0.000000000              12.9
## 70          Suggary 02 2002-08-28          0.000000000              10.6
## 71     Waugh sanct. 07 2002-08-28          0.015444015              10.1
## 72             Malt 11 2002-08-28          0.008588298               7.9
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189              10.7
## 74           Sewell 08 2002-10-02          0.002027027              12.7
## 75        Pok amont 04 2002-10-02          0.004366812               7.8
## 76     Waugh sanct. 07 2002-10-02          0.015444015              10.7
## 77          Dempsey 12 2002-10-02          0.003407984              11.1
## 78 Branche sud aval 03 2002-10-02          0.002134851              10.9
## 79 McConnell Six Rd 05 2002-10-02          0.000000000              12.9
## 80          Pollard 10 2002-10-02          0.000000000              10.8
## 81    br. sud amont 01 2002-10-02          0.001041124              11.0
## 82         Morrison 06 2002-10-02          0.002099738              10.5
## 83             Malt 11 2002-10-02          0.008588298               7.8
## 84          Suggary 02 2002-10-02          0.000000000              10.3
## 85        Pok amont 04 2002-10-31          0.004366812               4.6
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189               2.7
## 87 Branche sud aval 03 2002-10-31          0.002134851               NaN
## 88           Sewell 08 2002-10-31          0.002027027               1.6
## 89          Suggary 02 2002-10-31          0.000000000               2.7
## 90     Waugh sanct. 07 2002-10-31          0.015444015               2.7
## 91          Dempsey 12 2002-10-31          0.003407984               3.3
## 92         Morrison 06 2002-10-31          0.002099738               1.7
## 93 McConnell Six Rd 05 2002-10-31          0.000000000               2.3
## 94          Pollard 10 2002-10-31          0.000000000               2.7
## 95    br. sud amont 01 2002-10-31          0.001041124               2.5
## 96             Malt 11 2002-10-31          0.008588298               4.4
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Temp_eau_YSI_degC))
##                Station2       Date pctN_supdrainee_2020 Temp_eau_YSI_degC
## 97           Suggary 02 2021-07-28         0.0015616866              11.5
## 98           Dempsey 12 2021-07-28         0.0020997375              16.1
## 99  Branche sud aval 03 2021-07-28         0.0010735373              15.5
## 100           Sewell 08 2021-07-28         0.0000000000              14.2
## 101     Waugh sanct. 07 2021-07-28         0.0034749035              12.1
## 102    br. sud amont 01 2021-07-28         0.0009737098              14.0
## 103         Morrison 06 2021-07-28         0.0021348514              15.7
## 104             Malt 11 2021-07-28         0.0016891892              11.7
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122              16.9
## 106          Pollard 10 2021-07-28         0.0028301887              14.6
## 107        Pok amont 04 2021-07-28         0.0000000000              11.2
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000              11.9
## 109             Malt 11 2021-08-31         0.0028301887              12.0
## 110          Suggary 02 2021-08-31         0.0000000000              11.0
## 111     Waugh sanct. 07 2021-08-31         0.0015616866              12.8
## 112          Dempsey 12 2021-08-31         0.0020997375              15.0
## 113 Branche sud aval 03 2021-08-31         0.0010735373              15.0
## 114           Sewell 08 2021-08-31         0.0000000000              14.6
## 115          Pollard 10 2021-08-31         0.0034749035              15.7
## 116    br. sud amont 01 2021-08-31         0.0009737098              13.7
## 117         Morrison 06 2021-08-31         0.0021348514              14.9
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892              11.7
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122              16.4
## 120        Pok amont 04 2021-08-31         0.0000000000              10.8
## 121          Suggary 02 2021-10-05         0.0043668122               6.3
## 122         Morrison 06 2021-10-05         0.0028301887               7.0
## 123             Malt 11 2021-10-05         0.0000000000               8.5
## 124           Sewell 08 2021-10-05         0.0000000000               8.0
## 125     Waugh sanct. 07 2021-10-05         0.0015616866               9.0
## 126          Dempsey 12 2021-10-05         0.0020997375               8.7
## 127 Branche sud aval 03 2021-10-05         0.0010735373               7.9
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000               7.9
## 129          Pollard 10 2021-10-05         0.0034749035               8.7
## 130    br. sud amont 01 2021-10-05         0.0009737098               7.3
## 131        Pok amont 04 2021-10-05         0.0021348514               7.4
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892               6.4
## 133             Malt 11 2021-10-28         0.0016891892               7.1
## 134          Suggary 02 2021-10-28         0.0043668122               6.7
## 135    br. sud amont 01 2021-10-28         0.0028301887               7.0
## 136         Morrison 06 2021-10-28         0.0020997375               6.4
## 137 Branche sud aval 03 2021-10-28         0.0000000000               6.7
## 138           Sewell 08 2021-10-28         0.0000000000               7.4
## 139     Waugh sanct. 07 2021-10-28         0.0015616866               7.3
## 140          Dempsey 12 2021-10-28         0.0009737098               7.3
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373               6.7
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000               7.2
## 143          Pollard 10 2021-10-28         0.0034749035               7.5
## 144        Pok amont 04 2021-10-28         0.0021348514               7.2
## 145          Pollard 10 2022-07-28         0.0028301887              14.2
## 146         Morrison 06 2022-07-28         0.0021348514              13.3
## 147             Malt 11 2022-07-28         0.0016891892              12.9
## 148          Suggary 02 2022-07-28         0.0043668122              11.4
## 149    br. sud amont 01 2022-07-28         0.0015616866              14.9
## 150          Dempsey 12 2022-07-28         0.0020997375              15.3
## 151 Branche sud aval 03 2022-07-28         0.0000000000              15.5
## 152           Sewell 08 2022-07-28         0.0000000000              15.1
## 153     Waugh sanct. 07 2022-07-28         0.0034749035              13.1
## 154        Pok amont 04 2022-07-28         0.0009737098              11.9
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373              11.1
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000              13.8
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122              16.2
## 158          Pollard 10 2022-09-01         0.0028301887              15.1
## 159    br. sud amont 01 2022-09-01         0.0009737098              14.8
## 160         Morrison 06 2022-09-01         0.0021348514              15.0
## 161             Malt 11 2022-09-01         0.0016891892              12.3
## 162          Suggary 02 2022-09-01         0.0000000000              11.9
## 163     Waugh sanct. 07 2022-09-01         0.0015616866              14.0
## 164          Dempsey 12 2022-09-01         0.0020997375              15.0
## 165 Branche sud aval 03 2022-09-01         0.0000000000              16.2
## 166           Sewell 08 2022-09-01         0.0000000000              15.9
## 167        Pok amont 04 2022-09-01         0.0034749035              12.1
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373              12.9
## 169           Sewell 08 2022-10-03         0.0028301887               6.2
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892               4.7
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122               6.5
## 172          Pollard 10 2022-10-03         0.0034749035               6.5
## 173    br. sud amont 01 2022-10-03         0.0009737098               5.6
## 174         Morrison 06 2022-10-03         0.0021348514               4.7
## 175             Malt 11 2022-10-03         0.0000000000               7.9
## 176          Suggary 02 2022-10-03         0.0000000000               4.5
## 177     Waugh sanct. 07 2022-10-03         0.0015616866               6.3
## 178          Dempsey 12 2022-10-03         0.0020997375               6.0
## 179 Branche sud aval 03 2022-10-03         0.0010735373               6.2
## 180        Pok amont 04 2022-10-03         0.0000000000               6.5
## 181 Branche sud aval 03 2022-11-01         0.0043668122               6.5
## 182           Sewell 08 2022-11-01         0.0028301887               7.1
## 183        Pok amont 04 2022-11-01         0.0021348514               6.3
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892               6.1
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000               7.4
## 186          Pollard 10 2022-11-01         0.0034749035               8.0
## 187    br. sud amont 01 2022-11-01         0.0009737098               7.0
## 188         Morrison 06 2022-11-01         0.0020997375               5.9
## 189             Malt 11 2022-11-01         0.0000000000               7.6
## 190          Suggary 02 2022-11-01         0.0000000000               6.5
## 191     Waugh sanct. 07 2022-11-01         0.0015616866               7.3
## 192          Dempsey 12 2022-11-01         0.0010735373               7.8
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la température et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Temp_eau_YSI_degC") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

superficie_naturels_vs_oxygène

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Oxyg_dissous_YSI_mg_L))
##               Station2       Date pctN_supdrainee_1990 Oxyg_dissous_YSI_mg_L
## 1     br. sud amont 01 2001-08-01          0.001041124                 11.30
## 2          Morrison 06 2001-08-01          0.002099738                 10.60
## 3              Malt 11 2001-08-01          0.008588298                 11.80
## 4           Suggary 02 2001-08-01          0.000000000                 10.50
## 5      Waugh sanct. 07 2001-08-01          0.015444015                 10.40
## 6           Dempsey 12 2001-08-01          0.003407984                  8.10
## 7  Branche sud aval 03 2001-08-01          0.002134851                 11.00
## 8            Sewell 08 2001-08-01          0.002027027                 11.10
## 9         Pok amont 04 2001-08-01          0.004366812                  9.70
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189                 10.50
## 11 McConnell Six Rd 05 2001-08-01          0.000000000                 12.10
## 12          Pollard 10 2001-08-01          0.000000000                  9.50
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189                 10.60
## 14          Pollard 10 2001-08-28          0.000000000                  9.60
## 15    br. sud amont 01 2001-08-28          0.001041124                 10.12
## 16         Morrison 06 2001-08-28          0.002099738                   NaN
## 17             Malt 11 2001-08-28          0.008588298                 10.60
## 18          Suggary 02 2001-08-28          0.000000000                  9.45
## 19     Waugh sanct. 07 2001-08-28          0.015444015                 10.00
## 20          Dempsey 12 2001-08-28          0.003407984                  8.80
## 21 Branche sud aval 03 2001-08-28          0.002134851                 10.00
## 22           Sewell 08 2001-08-28          0.002027027                  9.40
## 23        Pok amont 04 2001-08-28          0.004366812                 10.50
## 24 McConnell Six Rd 05 2001-08-28          0.000000000                 10.00
## 25        Pok amont 04 2001-09-26          0.004366812                  8.00
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189                  9.00
## 27 McConnell Six Rd 05 2001-09-26          0.000000000                  8.51
## 28          Pollard 10 2001-09-26          0.000000000                  8.40
## 29    br. sud amont 01 2001-09-26          0.001041124                  8.50
## 30         Morrison 06 2001-09-26          0.002099738                  8.60
## 31             Malt 11 2001-09-26          0.008588298                  9.00
## 32          Suggary 02 2001-09-26          0.000000000                  8.44
## 33     Waugh sanct. 07 2001-09-26          0.015444015                  8.62
## 34          Dempsey 12 2001-09-26          0.003407984                  8.30
## 35 Branche sud aval 03 2001-09-26          0.002134851                  9.20
## 36           Sewell 08 2001-09-26          0.002027027                  7.92
## 37           Sewell 08 2001-10-31          0.002027027                  7.70
## 38        Pok amont 04 2001-10-31          0.004366812                  8.40
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189                  9.46
## 40         Morrison 06 2001-10-31          0.002099738                  9.84
## 41 McConnell Six Rd 05 2001-10-31          0.000000000                  8.70
## 42          Pollard 10 2001-10-31          0.000000000                  8.85
## 43    br. sud amont 01 2001-10-31          0.001041124                  7.80
## 44          Dempsey 12 2001-10-31          0.003407984                  8.43
## 45             Malt 11 2001-10-31          0.008588298                  9.20
## 46          Suggary 02 2001-10-31          0.000000000                  7.30
## 47     Waugh sanct. 07 2001-10-31          0.015444015                  8.00
## 48 Branche sud aval 03 2001-10-31          0.002134851                  9.57
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189                  8.01
## 50 Branche sud aval 03 2002-07-29          0.002134851                  8.50
## 51           Sewell 08 2002-07-29          0.002027027                  7.60
## 52        Pok amont 04 2002-07-29          0.004366812                  8.17
## 53    br. sud amont 01 2002-07-29          0.001041124                  8.65
## 54         Morrison 06 2002-07-29          0.002099738                  9.76
## 55 McConnell Six Rd 05 2002-07-29          0.000000000                  7.10
## 56          Pollard 10 2002-07-29          0.000000000                  7.45
## 57     Waugh sanct. 07 2002-07-29          0.015444015                  7.90
## 58          Dempsey 12 2002-07-29          0.003407984                  8.30
## 59             Malt 11 2002-07-29          0.008588298                  8.90
## 60          Suggary 02 2002-07-29          0.000000000                  8.20
## 61        Pok amont 04 2002-08-28          0.004366812                 10.65
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189                  9.46
## 63          Dempsey 12 2002-08-28          0.003407984                  8.20
## 64 Branche sud aval 03 2002-08-28          0.002134851                 10.41
## 65           Sewell 08 2002-08-28          0.002027027                  9.80
## 66          Pollard 10 2002-08-28          0.000000000                  9.02
## 67    br. sud amont 01 2002-08-28          0.001041124                 10.20
## 68         Morrison 06 2002-08-28          0.002099738                 11.17
## 69 McConnell Six Rd 05 2002-08-28          0.000000000                 11.05
## 70          Suggary 02 2002-08-28          0.000000000                 11.24
## 71     Waugh sanct. 07 2002-08-28          0.015444015                 10.00
## 72             Malt 11 2002-08-28          0.008588298                 10.00
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189                  4.42
## 74           Sewell 08 2002-10-02          0.002027027                  6.84
## 75        Pok amont 04 2002-10-02          0.004366812                  7.20
## 76     Waugh sanct. 07 2002-10-02          0.015444015                  6.10
## 77          Dempsey 12 2002-10-02          0.003407984                  5.70
## 78 Branche sud aval 03 2002-10-02          0.002134851                  7.10
## 79 McConnell Six Rd 05 2002-10-02          0.000000000                  7.49
## 80          Pollard 10 2002-10-02          0.000000000                  6.80
## 81    br. sud amont 01 2002-10-02          0.001041124                  7.16
## 82         Morrison 06 2002-10-02          0.002099738                  7.60
## 83             Malt 11 2002-10-02          0.008588298                  6.40
## 84          Suggary 02 2002-10-02          0.000000000                  8.08
## 85        Pok amont 04 2002-10-31          0.004366812                  7.50
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189                  8.50
## 87 Branche sud aval 03 2002-10-31          0.002134851                   NaN
## 88           Sewell 08 2002-10-31          0.002027027                  8.30
## 89          Suggary 02 2002-10-31          0.000000000                  8.60
## 90     Waugh sanct. 07 2002-10-31          0.015444015                  7.00
## 91          Dempsey 12 2002-10-31          0.003407984                  7.40
## 92         Morrison 06 2002-10-31          0.002099738                  8.30
## 93 McConnell Six Rd 05 2002-10-31          0.000000000                  7.60
## 94          Pollard 10 2002-10-31          0.000000000                  7.60
## 95    br. sud amont 01 2002-10-31          0.001041124                  8.20
## 96             Malt 11 2002-10-31          0.008588298                  8.00
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Oxyg_dissous_YSI_mg_L))
##                Station2       Date pctN_supdrainee_2020 Oxyg_dissous_YSI_mg_L
## 97           Suggary 02 2021-07-28         0.0015616866                  9.68
## 98           Dempsey 12 2021-07-28         0.0020997375                  9.38
## 99  Branche sud aval 03 2021-07-28         0.0010735373                  8.51
## 100           Sewell 08 2021-07-28         0.0000000000                  9.29
## 101     Waugh sanct. 07 2021-07-28         0.0034749035                  9.84
## 102    br. sud amont 01 2021-07-28         0.0009737098                  8.43
## 103         Morrison 06 2021-07-28         0.0021348514                  9.04
## 104             Malt 11 2021-07-28         0.0016891892                  9.73
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122                  8.70
## 106          Pollard 10 2021-07-28         0.0028301887                  9.81
## 107        Pok amont 04 2021-07-28         0.0000000000                  9.22
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000                 10.29
## 109             Malt 11 2021-08-31         0.0028301887                 11.07
## 110          Suggary 02 2021-08-31         0.0000000000                 10.16
## 111     Waugh sanct. 07 2021-08-31         0.0015616866                 10.03
## 112          Dempsey 12 2021-08-31         0.0020997375                  9.51
## 113 Branche sud aval 03 2021-08-31         0.0010735373                  8.83
## 114           Sewell 08 2021-08-31         0.0000000000                  8.18
## 115          Pollard 10 2021-08-31         0.0034749035                  8.15
## 116    br. sud amont 01 2021-08-31         0.0009737098                  7.94
## 117         Morrison 06 2021-08-31         0.0021348514                  9.14
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892                 10.42
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122                  8.54
## 120        Pok amont 04 2021-08-31         0.0000000000                  8.70
## 121          Suggary 02 2021-10-05         0.0043668122                 12.14
## 122         Morrison 06 2021-10-05         0.0028301887                 11.19
## 123             Malt 11 2021-10-05         0.0000000000                 10.27
## 124           Sewell 08 2021-10-05         0.0000000000                 11.17
## 125     Waugh sanct. 07 2021-10-05         0.0015616866                 10.42
## 126          Dempsey 12 2021-10-05         0.0020997375                 10.86
## 127 Branche sud aval 03 2021-10-05         0.0010735373                 10.40
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000                 10.87
## 129          Pollard 10 2021-10-05         0.0034749035                 11.29
## 130    br. sud amont 01 2021-10-05         0.0009737098                 10.74
## 131        Pok amont 04 2021-10-05         0.0021348514                 10.75
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892                 11.40
## 133             Malt 11 2021-10-28         0.0016891892                 10.50
## 134          Suggary 02 2021-10-28         0.0043668122                 11.68
## 135    br. sud amont 01 2021-10-28         0.0028301887                 10.93
## 136         Morrison 06 2021-10-28         0.0020997375                 11.66
## 137 Branche sud aval 03 2021-10-28         0.0000000000                 11.22
## 138           Sewell 08 2021-10-28         0.0000000000                 11.44
## 139     Waugh sanct. 07 2021-10-28         0.0015616866                 10.96
## 140          Dempsey 12 2021-10-28         0.0009737098                  8.77
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373                 11.26
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000                 10.41
## 143          Pollard 10 2021-10-28         0.0034749035                 10.54
## 144        Pok amont 04 2021-10-28         0.0021348514                 10.80
## 145          Pollard 10 2022-07-28         0.0028301887                 10.75
## 146         Morrison 06 2022-07-28         0.0021348514                 10.00
## 147             Malt 11 2022-07-28         0.0016891892                 11.60
## 148          Suggary 02 2022-07-28         0.0043668122                 11.40
## 149    br. sud amont 01 2022-07-28         0.0015616866                  8.64
## 150          Dempsey 12 2022-07-28         0.0020997375                  9.34
## 151 Branche sud aval 03 2022-07-28         0.0000000000                  9.55
## 152           Sewell 08 2022-07-28         0.0000000000                  9.50
## 153     Waugh sanct. 07 2022-07-28         0.0034749035                  9.90
## 154        Pok amont 04 2022-07-28         0.0009737098                  9.52
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373                 11.52
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000                 10.40
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122                  9.19
## 158          Pollard 10 2022-09-01         0.0028301887                 10.25
## 159    br. sud amont 01 2022-09-01         0.0009737098                  8.28
## 160         Morrison 06 2022-09-01         0.0021348514                  9.52
## 161             Malt 11 2022-09-01         0.0016891892                 11.08
## 162          Suggary 02 2022-09-01         0.0000000000                 10.24
## 163     Waugh sanct. 07 2022-09-01         0.0015616866                  9.22
## 164          Dempsey 12 2022-09-01         0.0020997375                  9.44
## 165 Branche sud aval 03 2022-09-01         0.0000000000                  8.95
## 166           Sewell 08 2022-09-01         0.0000000000                  9.02
## 167        Pok amont 04 2022-09-01         0.0034749035                  8.82
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373                 10.06
## 169           Sewell 08 2022-10-03         0.0028301887                 10.03
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892                 12.38
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122                 12.20
## 172          Pollard 10 2022-10-03         0.0034749035                 13.04
## 173    br. sud amont 01 2022-10-03         0.0009737098                 11.04
## 174         Morrison 06 2022-10-03         0.0021348514                 12.92
## 175             Malt 11 2022-10-03         0.0000000000                 12.67
## 176          Suggary 02 2022-10-03         0.0000000000                 13.13
## 177     Waugh sanct. 07 2022-10-03         0.0015616866                 12.07
## 178          Dempsey 12 2022-10-03         0.0020997375                 11.87
## 179 Branche sud aval 03 2022-10-03         0.0010735373                 12.21
## 180        Pok amont 04 2022-10-03         0.0000000000                 10.04
## 181 Branche sud aval 03 2022-11-01         0.0043668122                 12.07
## 182           Sewell 08 2022-11-01         0.0028301887                 12.13
## 183        Pok amont 04 2022-11-01         0.0021348514                 10.55
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892                 12.12
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000                 11.17
## 186          Pollard 10 2022-11-01         0.0034749035                 10.85
## 187    br. sud amont 01 2022-11-01         0.0009737098                 11.78
## 188         Morrison 06 2022-11-01         0.0020997375                 12.66
## 189             Malt 11 2022-11-01         0.0000000000                 11.63
## 190          Suggary 02 2022-11-01         0.0000000000                 12.35
## 191     Waugh sanct. 07 2022-11-01         0.0015616866                  9.42
## 192          Dempsey 12 2022-11-01         0.0010735373                 11.07
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Oxyg_dissous_YSI_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Oxyg_dissous_YSI_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre l'oxygène et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Oxyg_dissous_YSI_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

superficie_naturels_vs_conductivité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Conductivity_microS_cm))
##               Station2       Date pctN_supdrainee_1990 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01          0.001041124                  171.0
## 2          Morrison 06 2001-08-01          0.002099738                  114.0
## 3              Malt 11 2001-08-01          0.008588298                  108.0
## 4           Suggary 02 2001-08-01          0.000000000                  118.0
## 5      Waugh sanct. 07 2001-08-01          0.015444015                  133.0
## 6           Dempsey 12 2001-08-01          0.003407984                  128.0
## 7  Branche sud aval 03 2001-08-01          0.002134851                  115.0
## 8            Sewell 08 2001-08-01          0.002027027                  134.0
## 9         Pok amont 04 2001-08-01          0.004366812                   56.6
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189                  106.0
## 11 McConnell Six Rd 05 2001-08-01          0.000000000                  100.0
## 12          Pollard 10 2001-08-01          0.000000000                  156.0
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189                  105.0
## 14          Pollard 10 2001-08-28          0.000000000                  162.0
## 15    br. sud amont 01 2001-08-28          0.001041124                  177.0
## 16         Morrison 06 2001-08-28          0.002099738                  115.0
## 17             Malt 11 2001-08-28          0.008588298                   90.3
## 18          Suggary 02 2001-08-28          0.000000000                  119.0
## 19     Waugh sanct. 07 2001-08-28          0.015444015                  132.0
## 20          Dempsey 12 2001-08-28          0.003407984                  129.0
## 21 Branche sud aval 03 2001-08-28          0.002134851                  113.0
## 22           Sewell 08 2001-08-28          0.002027027                  150.0
## 23        Pok amont 04 2001-08-28          0.004366812                   60.0
## 24 McConnell Six Rd 05 2001-08-28          0.000000000                  112.0
## 25        Pok amont 04 2001-09-26          0.004366812                   72.1
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189                  115.0
## 27 McConnell Six Rd 05 2001-09-26          0.000000000                  111.0
## 28          Pollard 10 2001-09-26          0.000000000                  153.5
## 29    br. sud amont 01 2001-09-26          0.001041124                  158.0
## 30         Morrison 06 2001-09-26          0.002099738                  117.0
## 31             Malt 11 2001-09-26          0.008588298                   97.7
## 32          Suggary 02 2001-09-26          0.000000000                  139.0
## 33     Waugh sanct. 07 2001-09-26          0.015444015                  136.0
## 34          Dempsey 12 2001-09-26          0.003407984                  137.0
## 35 Branche sud aval 03 2001-09-26          0.002134851                  123.0
## 36           Sewell 08 2001-09-26          0.002027027                  173.0
## 37           Sewell 08 2001-10-31          0.002027027                  111.0
## 38        Pok amont 04 2001-10-31          0.004366812                   68.3
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189                  112.0
## 40         Morrison 06 2001-10-31          0.002099738                  123.0
## 41 McConnell Six Rd 05 2001-10-31          0.000000000                   87.2
## 42          Pollard 10 2001-10-31          0.000000000                  164.0
## 43    br. sud amont 01 2001-10-31          0.001041124                  162.0
## 44          Dempsey 12 2001-10-31          0.003407984                  128.0
## 45             Malt 11 2001-10-31          0.008588298                   98.8
## 46          Suggary 02 2001-10-31          0.000000000                  120.0
## 47     Waugh sanct. 07 2001-10-31          0.015444015                  102.0
## 48 Branche sud aval 03 2001-10-31          0.002134851                  115.0
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189                  112.0
## 50 Branche sud aval 03 2002-07-29          0.002134851                  116.0
## 51           Sewell 08 2002-07-29          0.002027027                  139.0
## 52        Pok amont 04 2002-07-29          0.004366812                   57.1
## 53    br. sud amont 01 2002-07-29          0.001041124                  148.0
## 54         Morrison 06 2002-07-29          0.002099738                  123.0
## 55 McConnell Six Rd 05 2002-07-29          0.000000000                  105.0
## 56          Pollard 10 2002-07-29          0.000000000                  162.0
## 57     Waugh sanct. 07 2002-07-29          0.015444015                  133.0
## 58          Dempsey 12 2002-07-29          0.003407984                  143.0
## 59             Malt 11 2002-07-29          0.008588298                   96.6
## 60          Suggary 02 2002-07-29          0.000000000                  110.0
## 61        Pok amont 04 2002-08-28          0.004366812                   60.3
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189                  115.0
## 63          Dempsey 12 2002-08-28          0.003407984                  144.0
## 64 Branche sud aval 03 2002-08-28          0.002134851                  121.0
## 65           Sewell 08 2002-08-28          0.002027027                  168.0
## 66          Pollard 10 2002-08-28          0.000000000                  164.0
## 67    br. sud amont 01 2002-08-28          0.001041124                  185.0
## 68         Morrison 06 2002-08-28          0.002099738                  125.0
## 69 McConnell Six Rd 05 2002-08-28          0.000000000                  111.0
## 70          Suggary 02 2002-08-28          0.000000000                  110.5
## 71     Waugh sanct. 07 2002-08-28          0.015444015                  135.0
## 72             Malt 11 2002-08-28          0.008588298                  101.0
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189                  120.0
## 74           Sewell 08 2002-10-02          0.002027027                  158.0
## 75        Pok amont 04 2002-10-02          0.004366812                   69.4
## 76     Waugh sanct. 07 2002-10-02          0.015444015                  148.0
## 77          Dempsey 12 2002-10-02          0.003407984                  145.0
## 78 Branche sud aval 03 2002-10-02          0.002134851                  126.0
## 79 McConnell Six Rd 05 2002-10-02          0.000000000                  108.0
## 80          Pollard 10 2002-10-02          0.000000000                  176.0
## 81    br. sud amont 01 2002-10-02          0.001041124                  194.0
## 82         Morrison 06 2002-10-02          0.002099738                  128.0
## 83             Malt 11 2002-10-02          0.008588298                  106.0
## 84          Suggary 02 2002-10-02          0.000000000                  114.0
## 85        Pok amont 04 2002-10-31          0.004366812                   70.9
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189                  122.0
## 87 Branche sud aval 03 2002-10-31          0.002134851                  126.0
## 88           Sewell 08 2002-10-31          0.002027027                  120.0
## 89          Suggary 02 2002-10-31          0.000000000                  118.0
## 90     Waugh sanct. 07 2002-10-31          0.015444015                  129.0
## 91          Dempsey 12 2002-10-31          0.003407984                  141.0
## 92         Morrison 06 2002-10-31          0.002099738                  130.0
## 93 McConnell Six Rd 05 2002-10-31          0.000000000                  103.0
## 94          Pollard 10 2002-10-31          0.000000000                  176.0
## 95    br. sud amont 01 2002-10-31          0.001041124                  175.5
## 96             Malt 11 2002-10-31          0.008588298                  107.0
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Conductivity_microS_cm))
##                Station2       Date pctN_supdrainee_2020 Conductivity_microS_cm
## 97           Suggary 02 2021-07-28         0.0015616866                    109
## 98           Dempsey 12 2021-07-28         0.0020997375                    139
## 99  Branche sud aval 03 2021-07-28         0.0010735373                    119
## 100           Sewell 08 2021-07-28         0.0000000000                    131
## 101     Waugh sanct. 07 2021-07-28         0.0034749035                    128
## 102    br. sud amont 01 2021-07-28         0.0009737098                    177
## 103         Morrison 06 2021-07-28         0.0021348514                    122
## 104             Malt 11 2021-07-28         0.0016891892                     90
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122                    115
## 106          Pollard 10 2021-07-28         0.0028301887                    166
## 107        Pok amont 04 2021-07-28         0.0000000000                     60
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000                    109
## 109             Malt 11 2021-08-31         0.0028301887                     96
## 110          Suggary 02 2021-08-31         0.0000000000                    116
## 111     Waugh sanct. 07 2021-08-31         0.0015616866                    138
## 112          Dempsey 12 2021-08-31         0.0020997375                    152
## 113 Branche sud aval 03 2021-08-31         0.0010735373                    125
## 114           Sewell 08 2021-08-31         0.0000000000                    161
## 115          Pollard 10 2021-08-31         0.0034749035                    196
## 116    br. sud amont 01 2021-08-31         0.0009737098                    199
## 117         Morrison 06 2021-08-31         0.0021348514                    129
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892                    118
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122                    114
## 120        Pok amont 04 2021-08-31         0.0000000000                     70
## 121          Suggary 02 2021-10-05         0.0043668122                     98
## 122         Morrison 06 2021-10-05         0.0028301887                    114
## 123             Malt 11 2021-10-05         0.0000000000                     74
## 124           Sewell 08 2021-10-05         0.0000000000                     72
## 125     Waugh sanct. 07 2021-10-05         0.0015616866                     70
## 126          Dempsey 12 2021-10-05         0.0020997375                     96
## 127 Branche sud aval 03 2021-10-05         0.0010735373                     86
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000                     90
## 129          Pollard 10 2021-10-05         0.0034749035                    128
## 130    br. sud amont 01 2021-10-05         0.0009737098                     91
## 131        Pok amont 04 2021-10-05         0.0021348514                     52
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892                     95
## 133             Malt 11 2021-10-28         0.0016891892                     80
## 134          Suggary 02 2021-10-28         0.0043668122                    100
## 135    br. sud amont 01 2021-10-28         0.0028301887                    114
## 136         Morrison 06 2021-10-28         0.0020997375                    118
## 137 Branche sud aval 03 2021-10-28         0.0000000000                     97
## 138           Sewell 08 2021-10-28         0.0000000000                     81
## 139     Waugh sanct. 07 2021-10-28         0.0015616866                     88
## 140          Dempsey 12 2021-10-28         0.0009737098                    113
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373                    102
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000                     97
## 143          Pollard 10 2021-10-28         0.0034749035                    139
## 144        Pok amont 04 2021-10-28         0.0021348514                     54
## 145          Pollard 10 2022-07-28         0.0028301887                    163
## 146         Morrison 06 2022-07-28         0.0021348514                    119
## 147             Malt 11 2022-07-28         0.0016891892                     88
## 148          Suggary 02 2022-07-28         0.0043668122                    107
## 149    br. sud amont 01 2022-07-28         0.0015616866                    161
## 150          Dempsey 12 2022-07-28         0.0020997375                    134
## 151 Branche sud aval 03 2022-07-28         0.0000000000                    113
## 152           Sewell 08 2022-07-28         0.0000000000                    113
## 153     Waugh sanct. 07 2022-07-28         0.0034749035                    126
## 154        Pok amont 04 2022-07-28         0.0009737098                     59
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373                    108
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000                    113
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122                    107
## 158          Pollard 10 2022-09-01         0.0028301887                    178
## 159    br. sud amont 01 2022-09-01         0.0009737098                    180
## 160         Morrison 06 2022-09-01         0.0021348514                    117
## 161             Malt 11 2022-09-01         0.0016891892                     88
## 162          Suggary 02 2022-09-01         0.0000000000                    104
## 163     Waugh sanct. 07 2022-09-01         0.0015616866                    114
## 164          Dempsey 12 2022-09-01         0.0020997375                    137
## 165 Branche sud aval 03 2022-09-01         0.0000000000                    117
## 166           Sewell 08 2022-09-01         0.0000000000                    116
## 167        Pok amont 04 2022-09-01         0.0034749035                     63
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373                    108
## 169           Sewell 08 2022-10-03         0.0028301887                    114
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892                    113
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122                     94
## 172          Pollard 10 2022-10-03         0.0034749035                    179
## 173    br. sud amont 01 2022-10-03         0.0009737098                    182
## 174         Morrison 06 2022-10-03         0.0021348514                    120
## 175             Malt 11 2022-10-03         0.0000000000                     95
## 176          Suggary 02 2022-10-03         0.0000000000                    107
## 177     Waugh sanct. 07 2022-10-03         0.0015616866                    114
## 178          Dempsey 12 2022-10-03         0.0020997375                    143
## 179 Branche sud aval 03 2022-10-03         0.0010735373                    118
## 180        Pok amont 04 2022-10-03         0.0000000000                     64
## 181 Branche sud aval 03 2022-11-01         0.0043668122                    112
## 182           Sewell 08 2022-11-01         0.0028301887                     92
## 183        Pok amont 04 2022-11-01         0.0021348514                     69
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892                    112
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000                     92
## 186          Pollard 10 2022-11-01         0.0034749035                    177
## 187    br. sud amont 01 2022-11-01         0.0009737098                    144
## 188         Morrison 06 2022-11-01         0.0020997375                    125
## 189             Malt 11 2022-11-01         0.0000000000                     91
## 190          Suggary 02 2022-11-01         0.0000000000                    108
## 191     Waugh sanct. 07 2022-11-01         0.0015616866                     92
## 192          Dempsey 12 2022-11-01         0.0010735373                    136
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Conductivity_microS_cm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Conductivity_microS_cm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Conductivity_microS_cm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_naturels_vs_pH

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,pH_units))
##               Station2       Date pctN_supdrainee_1990 pH_units
## 1     br. sud amont 01 2001-08-01          0.001041124    8.200
## 2          Morrison 06 2001-08-01          0.002099738    7.950
## 3              Malt 11 2001-08-01          0.008588298    7.860
## 4           Suggary 02 2001-08-01          0.000000000    8.020
## 5      Waugh sanct. 07 2001-08-01          0.015444015    7.970
## 6           Dempsey 12 2001-08-01          0.003407984    7.960
## 7  Branche sud aval 03 2001-08-01          0.002134851    8.030
## 8            Sewell 08 2001-08-01          0.002027027    8.020
## 9         Pok amont 04 2001-08-01          0.004366812    7.590
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189    8.010
## 11 McConnell Six Rd 05 2001-08-01          0.000000000    7.860
## 12          Pollard 10 2001-08-01          0.000000000    7.890
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189    7.910
## 14          Pollard 10 2001-08-28          0.000000000    7.860
## 15    br. sud amont 01 2001-08-28          0.001041124    7.980
## 16         Morrison 06 2001-08-28          0.002099738    7.940
## 17             Malt 11 2001-08-28          0.008588298    7.460
## 18          Suggary 02 2001-08-28          0.000000000    7.880
## 19     Waugh sanct. 07 2001-08-28          0.015444015    7.890
## 20          Dempsey 12 2001-08-28          0.003407984    7.760
## 21 Branche sud aval 03 2001-08-28          0.002134851    7.890
## 22           Sewell 08 2001-08-28          0.002027027    7.900
## 23        Pok amont 04 2001-08-28          0.004366812    7.490
## 24 McConnell Six Rd 05 2001-08-28          0.000000000    7.770
## 25        Pok amont 04 2001-09-26          0.004366812    7.640
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189    7.960
## 27 McConnell Six Rd 05 2001-09-26          0.000000000    7.870
## 28          Pollard 10 2001-09-26          0.000000000    7.850
## 29    br. sud amont 01 2001-09-26          0.001041124    8.050
## 30         Morrison 06 2001-09-26          0.002099738    8.020
## 31             Malt 11 2001-09-26          0.008588298    7.710
## 32          Suggary 02 2001-09-26          0.000000000    8.080
## 33     Waugh sanct. 07 2001-09-26          0.015444015    8.020
## 34          Dempsey 12 2001-09-26          0.003407984    7.950
## 35 Branche sud aval 03 2001-09-26          0.002134851    8.040
## 36           Sewell 08 2001-09-26          0.002027027    8.060
## 37           Sewell 08 2001-10-31          0.002027027    7.740
## 38        Pok amont 04 2001-10-31          0.004366812    7.420
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189    7.950
## 40         Morrison 06 2001-10-31          0.002099738    8.010
## 41 McConnell Six Rd 05 2001-10-31          0.000000000    7.500
## 42          Pollard 10 2001-10-31          0.000000000    7.870
## 43    br. sud amont 01 2001-10-31          0.001041124    7.960
## 44          Dempsey 12 2001-10-31          0.003407984    7.820
## 45             Malt 11 2001-10-31          0.008588298    7.530
## 46          Suggary 02 2001-10-31          0.000000000    7.650
## 47     Waugh sanct. 07 2001-10-31          0.015444015    7.410
## 48 Branche sud aval 03 2001-10-31          0.002134851    7.890
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189    7.840
## 50 Branche sud aval 03 2002-07-29          0.002134851    7.870
## 51           Sewell 08 2002-07-29          0.002027027    7.840
## 52        Pok amont 04 2002-07-29          0.004366812    7.180
## 53    br. sud amont 01 2002-07-29          0.001041124    7.840
## 54         Morrison 06 2002-07-29          0.002099738    7.920
## 55 McConnell Six Rd 05 2002-07-29          0.000000000    7.580
## 56          Pollard 10 2002-07-29          0.000000000    7.730
## 57     Waugh sanct. 07 2002-07-29          0.015444015    7.700
## 58          Dempsey 12 2002-07-29          0.003407984    7.755
## 59             Malt 11 2002-07-29          0.008588298    7.420
## 60          Suggary 02 2002-07-29          0.000000000    7.740
## 61        Pok amont 04 2002-08-28          0.004366812    7.250
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189    7.800
## 63          Dempsey 12 2002-08-28          0.003407984    7.690
## 64 Branche sud aval 03 2002-08-28          0.002134851    7.850
## 65           Sewell 08 2002-08-28          0.002027027    7.920
## 66          Pollard 10 2002-08-28          0.000000000    7.730
## 67    br. sud amont 01 2002-08-28          0.001041124    8.070
## 68         Morrison 06 2002-08-28          0.002099738    7.900
## 69 McConnell Six Rd 05 2002-08-28          0.000000000    7.790
## 70          Suggary 02 2002-08-28          0.000000000    7.815
## 71     Waugh sanct. 07 2002-08-28          0.015444015    7.750
## 72             Malt 11 2002-08-28          0.008588298    7.380
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189    7.830
## 74           Sewell 08 2002-10-02          0.002027027    7.820
## 75        Pok amont 04 2002-10-02          0.004366812    7.270
## 76     Waugh sanct. 07 2002-10-02          0.015444015    7.760
## 77          Dempsey 12 2002-10-02          0.003407984    7.640
## 78 Branche sud aval 03 2002-10-02          0.002134851    7.820
## 79 McConnell Six Rd 05 2002-10-02          0.000000000    7.650
## 80          Pollard 10 2002-10-02          0.000000000    7.720
## 81    br. sud amont 01 2002-10-02          0.001041124    7.970
## 82         Morrison 06 2002-10-02          0.002099738    7.890
## 83             Malt 11 2002-10-02          0.008588298    7.380
## 84          Suggary 02 2002-10-02          0.000000000    7.830
## 85        Pok amont 04 2002-10-31          0.004366812    7.360
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189    7.820
## 87 Branche sud aval 03 2002-10-31          0.002134851      NaN
## 88           Sewell 08 2002-10-31          0.002027027    7.550
## 89          Suggary 02 2002-10-31          0.000000000    7.770
## 90     Waugh sanct. 07 2002-10-31          0.015444015    7.580
## 91          Dempsey 12 2002-10-31          0.003407984    7.690
## 92         Morrison 06 2002-10-31          0.002099738    7.870
## 93 McConnell Six Rd 05 2002-10-31          0.000000000    7.440
## 94          Pollard 10 2002-10-31          0.000000000    7.780
## 95    br. sud amont 01 2002-10-31          0.001041124    7.865
## 96             Malt 11 2002-10-31          0.008588298    7.560
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,pH_units))
##                Station2       Date pctN_supdrainee_2020 pH_units
## 97           Suggary 02 2021-07-28         0.0015616866      7.5
## 98           Dempsey 12 2021-07-28         0.0020997375      7.6
## 99  Branche sud aval 03 2021-07-28         0.0010735373      7.6
## 100           Sewell 08 2021-07-28         0.0000000000      7.7
## 101     Waugh sanct. 07 2021-07-28         0.0034749035      7.6
## 102    br. sud amont 01 2021-07-28         0.0009737098      7.6
## 103         Morrison 06 2021-07-28         0.0021348514      7.4
## 104             Malt 11 2021-07-28         0.0016891892      7.2
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122      7.6
## 106          Pollard 10 2021-07-28         0.0028301887      7.6
## 107        Pok amont 04 2021-07-28         0.0000000000      6.8
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000      7.6
## 109             Malt 11 2021-08-31         0.0028301887      7.3
## 110          Suggary 02 2021-08-31         0.0000000000      7.6
## 111     Waugh sanct. 07 2021-08-31         0.0015616866      7.8
## 112          Dempsey 12 2021-08-31         0.0020997375      7.6
## 113 Branche sud aval 03 2021-08-31         0.0010735373      7.8
## 114           Sewell 08 2021-08-31         0.0000000000      7.8
## 115          Pollard 10 2021-08-31         0.0034749035      7.8
## 116    br. sud amont 01 2021-08-31         0.0009737098      7.5
## 117         Morrison 06 2021-08-31         0.0021348514      7.8
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892      7.8
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122      7.7
## 120        Pok amont 04 2021-08-31         0.0000000000      7.1
## 121          Suggary 02 2021-10-05         0.0043668122      7.6
## 122         Morrison 06 2021-10-05         0.0028301887      7.1
## 123             Malt 11 2021-10-05         0.0000000000      7.1
## 124           Sewell 08 2021-10-05         0.0000000000      7.5
## 125     Waugh sanct. 07 2021-10-05         0.0015616866      7.2
## 126          Dempsey 12 2021-10-05         0.0020997375      7.3
## 127 Branche sud aval 03 2021-10-05         0.0010735373      7.6
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000      7.4
## 129          Pollard 10 2021-10-05         0.0034749035      7.5
## 130    br. sud amont 01 2021-10-05         0.0009737098      7.2
## 131        Pok amont 04 2021-10-05         0.0021348514      6.8
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892      7.2
## 133             Malt 11 2021-10-28         0.0016891892      7.0
## 134          Suggary 02 2021-10-28         0.0043668122      7.6
## 135    br. sud amont 01 2021-10-28         0.0028301887      7.5
## 136         Morrison 06 2021-10-28         0.0020997375      7.6
## 137 Branche sud aval 03 2021-10-28         0.0000000000      7.6
## 138           Sewell 08 2021-10-28         0.0000000000      7.5
## 139     Waugh sanct. 07 2021-10-28         0.0015616866      7.5
## 140          Dempsey 12 2021-10-28         0.0009737098      7.6
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373      7.5
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000      7.5
## 143          Pollard 10 2021-10-28         0.0034749035      7.7
## 144        Pok amont 04 2021-10-28         0.0021348514      7.5
## 145          Pollard 10 2022-07-28         0.0028301887      7.7
## 146         Morrison 06 2022-07-28         0.0021348514      7.8
## 147             Malt 11 2022-07-28         0.0016891892      7.6
## 148          Suggary 02 2022-07-28         0.0043668122      7.7
## 149    br. sud amont 01 2022-07-28         0.0015616866      7.9
## 150          Dempsey 12 2022-07-28         0.0020997375      7.8
## 151 Branche sud aval 03 2022-07-28         0.0000000000      7.8
## 152           Sewell 08 2022-07-28         0.0000000000      7.7
## 153     Waugh sanct. 07 2022-07-28         0.0034749035      7.8
## 154        Pok amont 04 2022-07-28         0.0009737098      7.5
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373      7.8
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000      7.7
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122      7.8
## 158          Pollard 10 2022-09-01         0.0028301887      7.8
## 159    br. sud amont 01 2022-09-01         0.0009737098      8.0
## 160         Morrison 06 2022-09-01         0.0021348514      8.0
## 161             Malt 11 2022-09-01         0.0016891892      7.7
## 162          Suggary 02 2022-09-01         0.0000000000      7.8
## 163     Waugh sanct. 07 2022-09-01         0.0015616866      7.9
## 164          Dempsey 12 2022-09-01         0.0020997375      7.9
## 165 Branche sud aval 03 2022-09-01         0.0000000000      7.9
## 166           Sewell 08 2022-09-01         0.0000000000      7.9
## 167        Pok amont 04 2022-09-01         0.0034749035      7.2
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373      7.8
## 169           Sewell 08 2022-10-03         0.0028301887      7.7
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892      7.8
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122      7.5
## 172          Pollard 10 2022-10-03         0.0034749035      7.8
## 173    br. sud amont 01 2022-10-03         0.0009737098      7.9
## 174         Morrison 06 2022-10-03         0.0021348514      7.9
## 175             Malt 11 2022-10-03         0.0000000000      7.5
## 176          Suggary 02 2022-10-03         0.0000000000      7.7
## 177     Waugh sanct. 07 2022-10-03         0.0015616866      7.6
## 178          Dempsey 12 2022-10-03         0.0020997375      7.7
## 179 Branche sud aval 03 2022-10-03         0.0010735373      7.8
## 180        Pok amont 04 2022-10-03         0.0000000000      7.1
## 181 Branche sud aval 03 2022-11-01         0.0043668122      7.6
## 182           Sewell 08 2022-11-01         0.0028301887      7.5
## 183        Pok amont 04 2022-11-01         0.0021348514      7.0
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892      7.5
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000      7.3
## 186          Pollard 10 2022-11-01         0.0034749035      7.6
## 187    br. sud amont 01 2022-11-01         0.0009737098      7.5
## 188         Morrison 06 2022-11-01         0.0020997375      7.8
## 189             Malt 11 2022-11-01         0.0000000000      7.0
## 190          Suggary 02 2022-11-01         0.0000000000      7.5
## 191     Waugh sanct. 07 2022-11-01         0.0015616866      7.2
## 192          Dempsey 12 2022-11-01         0.0010735373      7.4
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=pH_units,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=pH_units),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=pH_units,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=pH_units),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le pH et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="pH_units") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_naturels_vs_Turbidité

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Turbidity_NTU))
##               Station2       Date pctN_supdrainee_1990 Turbidity_NTU
## 1     br. sud amont 01 2001-08-01          0.001041124         6.400
## 2          Morrison 06 2001-08-01          0.002099738         0.600
## 3              Malt 11 2001-08-01          0.008588298         1.600
## 4           Suggary 02 2001-08-01          0.000000000         0.700
## 5      Waugh sanct. 07 2001-08-01          0.015444015         1.200
## 6           Dempsey 12 2001-08-01          0.003407984         1.300
## 7  Branche sud aval 03 2001-08-01          0.002134851         0.500
## 8            Sewell 08 2001-08-01          0.002027027         1.500
## 9         Pok amont 04 2001-08-01          0.004366812         0.000
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189         0.700
## 11 McConnell Six Rd 05 2001-08-01          0.000000000         0.100
## 12          Pollard 10 2001-08-01          0.000000000         0.500
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189         1.200
## 14          Pollard 10 2001-08-28          0.000000000         0.800
## 15    br. sud amont 01 2001-08-28          0.001041124         6.100
## 16         Morrison 06 2001-08-28          0.002099738         0.700
## 17             Malt 11 2001-08-28          0.008588298         0.500
## 18          Suggary 02 2001-08-28          0.000000000         3.500
## 19     Waugh sanct. 07 2001-08-28          0.015444015         1.000
## 20          Dempsey 12 2001-08-28          0.003407984         1.700
## 21 Branche sud aval 03 2001-08-28          0.002134851         0.900
## 22           Sewell 08 2001-08-28          0.002027027         6.500
## 23        Pok amont 04 2001-08-28          0.004366812         0.000
## 24 McConnell Six Rd 05 2001-08-28          0.000000000         1.000
## 25        Pok amont 04 2001-09-26          0.004366812         0.800
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189         9.500
## 27 McConnell Six Rd 05 2001-09-26          0.000000000         1.200
## 28          Pollard 10 2001-09-26          0.000000000         1.150
## 29    br. sud amont 01 2001-09-26          0.001041124        44.800
## 30         Morrison 06 2001-09-26          0.002099738         0.900
## 31             Malt 11 2001-09-26          0.008588298         7.800
## 32          Suggary 02 2001-09-26          0.000000000         1.700
## 33     Waugh sanct. 07 2001-09-26          0.015444015         1.200
## 34          Dempsey 12 2001-09-26          0.003407984         1.500
## 35 Branche sud aval 03 2001-09-26          0.002134851         2.400
## 36           Sewell 08 2001-09-26          0.002027027         3.000
## 37           Sewell 08 2001-10-31          0.002027027         5.500
## 38        Pok amont 04 2001-10-31          0.004366812         0.200
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189         1.000
## 40         Morrison 06 2001-10-31          0.002099738         0.500
## 41 McConnell Six Rd 05 2001-10-31          0.000000000         1.400
## 42          Pollard 10 2001-10-31          0.000000000         0.600
## 43    br. sud amont 01 2001-10-31          0.001041124         1.100
## 44          Dempsey 12 2001-10-31          0.003407984         1.700
## 45             Malt 11 2001-10-31          0.008588298         0.800
## 46          Suggary 02 2001-10-31          0.000000000         2.050
## 47     Waugh sanct. 07 2001-10-31          0.015444015         1.200
## 48 Branche sud aval 03 2001-10-31          0.002134851         0.800
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189         0.780
## 50 Branche sud aval 03 2002-07-29          0.002134851         1.170
## 51           Sewell 08 2002-07-29          0.002027027         4.960
## 52        Pok amont 04 2002-07-29          0.004366812         0.190
## 53    br. sud amont 01 2002-07-29          0.001041124         0.900
## 54         Morrison 06 2002-07-29          0.002099738         0.690
## 55 McConnell Six Rd 05 2002-07-29          0.000000000         1.520
## 56          Pollard 10 2002-07-29          0.000000000         1.630
## 57     Waugh sanct. 07 2002-07-29          0.015444015         1.110
## 58          Dempsey 12 2002-07-29          0.003407984         1.970
## 59             Malt 11 2002-07-29          0.008588298         0.400
## 60          Suggary 02 2002-07-29          0.000000000         0.430
## 61        Pok amont 04 2002-08-28          0.004366812         0.390
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189         1.320
## 63          Dempsey 12 2002-08-28          0.003407984         4.440
## 64 Branche sud aval 03 2002-08-28          0.002134851         1.150
## 65           Sewell 08 2002-08-28          0.002027027         2.960
## 66          Pollard 10 2002-08-28          0.000000000         0.950
## 67    br. sud amont 01 2002-08-28          0.001041124         0.570
## 68         Morrison 06 2002-08-28          0.002099738         0.940
## 69 McConnell Six Rd 05 2002-08-28          0.000000000         1.340
## 70          Suggary 02 2002-08-28          0.000000000         0.820
## 71     Waugh sanct. 07 2002-08-28          0.015444015         1.510
## 72             Malt 11 2002-08-28          0.008588298         0.480
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189         0.940
## 74           Sewell 08 2002-10-02          0.002027027         5.255
## 75        Pok amont 04 2002-10-02          0.004366812         0.280
## 76     Waugh sanct. 07 2002-10-02          0.015444015         1.280
## 77          Dempsey 12 2002-10-02          0.003407984         3.770
## 78 Branche sud aval 03 2002-10-02          0.002134851         1.070
## 79 McConnell Six Rd 05 2002-10-02          0.000000000         2.110
## 80          Pollard 10 2002-10-02          0.000000000         0.690
## 81    br. sud amont 01 2002-10-02          0.001041124         0.740
## 82         Morrison 06 2002-10-02          0.002099738         0.770
## 83             Malt 11 2002-10-02          0.008588298         0.600
## 84          Suggary 02 2002-10-02          0.000000000         0.480
## 85        Pok amont 04 2002-10-31          0.004366812         0.580
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189         0.870
## 87 Branche sud aval 03 2002-10-31          0.002134851           NaN
## 88           Sewell 08 2002-10-31          0.002027027         8.740
## 89          Suggary 02 2002-10-31          0.000000000         0.410
## 90     Waugh sanct. 07 2002-10-31          0.015444015         1.440
## 91          Dempsey 12 2002-10-31          0.003407984         2.880
## 92         Morrison 06 2002-10-31          0.002099738         0.620
## 93 McConnell Six Rd 05 2002-10-31          0.000000000         1.500
## 94          Pollard 10 2002-10-31          0.000000000         1.060
## 95    br. sud amont 01 2002-10-31          0.001041124         1.220
## 96             Malt 11 2002-10-31          0.008588298         0.900
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Turbidity_NTU))
##                Station2       Date pctN_supdrainee_2020 Turbidity_NTU
## 97           Suggary 02 2021-07-28         0.0015616866           1.2
## 98           Dempsey 12 2021-07-28         0.0020997375           1.6
## 99  Branche sud aval 03 2021-07-28         0.0010735373           1.8
## 100           Sewell 08 2021-07-28         0.0000000000           3.5
## 101     Waugh sanct. 07 2021-07-28         0.0034749035           1.1
## 102    br. sud amont 01 2021-07-28         0.0009737098           2.3
## 103         Morrison 06 2021-07-28         0.0021348514           1.4
## 104             Malt 11 2021-07-28         0.0016891892           0.7
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122           1.9
## 106          Pollard 10 2021-07-28         0.0028301887           1.2
## 107        Pok amont 04 2021-07-28         0.0000000000           0.9
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000           1.7
## 109             Malt 11 2021-08-31         0.0028301887           0.5
## 110          Suggary 02 2021-08-31         0.0000000000           0.7
## 111     Waugh sanct. 07 2021-08-31         0.0015616866           1.1
## 112          Dempsey 12 2021-08-31         0.0020997375           1.7
## 113 Branche sud aval 03 2021-08-31         0.0010735373           1.7
## 114           Sewell 08 2021-08-31         0.0000000000           3.0
## 115          Pollard 10 2021-08-31         0.0034749035           1.7
## 116    br. sud amont 01 2021-08-31         0.0009737098           5.6
## 117         Morrison 06 2021-08-31         0.0021348514           2.6
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892           2.0
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122           3.2
## 120        Pok amont 04 2021-08-31         0.0000000000           1.5
## 121          Suggary 02 2021-10-05         0.0043668122           0.7
## 122         Morrison 06 2021-10-05         0.0028301887           1.4
## 123             Malt 11 2021-10-05         0.0000000000           0.9
## 124           Sewell 08 2021-10-05         0.0000000000           4.2
## 125     Waugh sanct. 07 2021-10-05         0.0015616866           1.2
## 126          Dempsey 12 2021-10-05         0.0020997375           1.8
## 127 Branche sud aval 03 2021-10-05         0.0010735373           1.7
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000           1.8
## 129          Pollard 10 2021-10-05         0.0034749035           1.8
## 130    br. sud amont 01 2021-10-05         0.0009737098           3.7
## 131        Pok amont 04 2021-10-05         0.0021348514           1.0
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892           1.4
## 133             Malt 11 2021-10-28         0.0016891892           0.5
## 134          Suggary 02 2021-10-28         0.0043668122           0.2
## 135    br. sud amont 01 2021-10-28         0.0028301887           1.9
## 136         Morrison 06 2021-10-28         0.0020997375           0.6
## 137 Branche sud aval 03 2021-10-28         0.0000000000           1.3
## 138           Sewell 08 2021-10-28         0.0000000000           2.8
## 139     Waugh sanct. 07 2021-10-28         0.0015616866           1.0
## 140          Dempsey 12 2021-10-28         0.0009737098           1.3
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373           0.7
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000           1.4
## 143          Pollard 10 2021-10-28         0.0034749035           0.8
## 144        Pok amont 04 2021-10-28         0.0021348514           0.6
## 145          Pollard 10 2022-07-28         0.0028301887           0.4
## 146         Morrison 06 2022-07-28         0.0021348514           0.7
## 147             Malt 11 2022-07-28         0.0016891892           0.4
## 148          Suggary 02 2022-07-28         0.0043668122           0.5
## 149    br. sud amont 01 2022-07-28         0.0015616866           2.7
## 150          Dempsey 12 2022-07-28         0.0020997375           1.2
## 151 Branche sud aval 03 2022-07-28         0.0000000000           2.1
## 152           Sewell 08 2022-07-28         0.0000000000           1.8
## 153     Waugh sanct. 07 2022-07-28         0.0034749035           1.0
## 154        Pok amont 04 2022-07-28         0.0009737098           0.7
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373           0.7
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000           0.8
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122           1.9
## 158          Pollard 10 2022-09-01         0.0028301887           1.3
## 159    br. sud amont 01 2022-09-01         0.0009737098           3.0
## 160         Morrison 06 2022-09-01         0.0021348514           2.4
## 161             Malt 11 2022-09-01         0.0016891892           0.5
## 162          Suggary 02 2022-09-01         0.0000000000           0.7
## 163     Waugh sanct. 07 2022-09-01         0.0015616866           1.8
## 164          Dempsey 12 2022-09-01         0.0020997375           2.2
## 165 Branche sud aval 03 2022-09-01         0.0000000000           1.9
## 166           Sewell 08 2022-09-01         0.0000000000           2.6
## 167        Pok amont 04 2022-09-01         0.0034749035           1.5
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373           1.4
## 169           Sewell 08 2022-10-03         0.0028301887           3.6
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892           1.2
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122           1.9
## 172          Pollard 10 2022-10-03         0.0034749035           0.4
## 173    br. sud amont 01 2022-10-03         0.0009737098           2.8
## 174         Morrison 06 2022-10-03         0.0021348514           1.0
## 175             Malt 11 2022-10-03         0.0000000000           0.4
## 176          Suggary 02 2022-10-03         0.0000000000           0.3
## 177     Waugh sanct. 07 2022-10-03         0.0015616866           1.3
## 178          Dempsey 12 2022-10-03         0.0020997375           1.3
## 179 Branche sud aval 03 2022-10-03         0.0010735373           1.6
## 180        Pok amont 04 2022-10-03         0.0000000000           1.5
## 181 Branche sud aval 03 2022-11-01         0.0043668122           2.6
## 182           Sewell 08 2022-11-01         0.0028301887           5.4
## 183        Pok amont 04 2022-11-01         0.0021348514           0.8
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892           2.6
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000           2.0
## 186          Pollard 10 2022-11-01         0.0034749035           0.7
## 187    br. sud amont 01 2022-11-01         0.0009737098           4.8
## 188         Morrison 06 2022-11-01         0.0020997375           2.8
## 189             Malt 11 2022-11-01         0.0000000000           1.5
## 190          Suggary 02 2022-11-01         0.0000000000           0.7
## 191     Waugh sanct. 07 2022-11-01         0.0015616866           1.6
## 192          Dempsey 12 2022-11-01         0.0010735373           4.2
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Turbidity_NTU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Turbidity_NTU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Turbidity_NTU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Turbidity_NTU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le Turbidité et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Turbidity_NTU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_naturels_vs_couleur

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Colour_TCU))
##               Station2       Date pctN_supdrainee_1990 Colour_TCU
## 1     br. sud amont 01 2001-08-01          0.001041124        5.0
## 2          Morrison 06 2001-08-01          0.002099738       10.0
## 3              Malt 11 2001-08-01          0.008588298       10.0
## 4           Suggary 02 2001-08-01          0.000000000        5.0
## 5      Waugh sanct. 07 2001-08-01          0.015444015       20.0
## 6           Dempsey 12 2001-08-01          0.003407984       15.0
## 7  Branche sud aval 03 2001-08-01          0.002134851        5.0
## 8            Sewell 08 2001-08-01          0.002027027        5.0
## 9         Pok amont 04 2001-08-01          0.004366812        0.0
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189        0.0
## 11 McConnell Six Rd 05 2001-08-01          0.000000000        5.0
## 12          Pollard 10 2001-08-01          0.000000000        5.0
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189        5.0
## 14          Pollard 10 2001-08-28          0.000000000        5.0
## 15    br. sud amont 01 2001-08-28          0.001041124        5.0
## 16         Morrison 06 2001-08-28          0.002099738        5.0
## 17             Malt 11 2001-08-28          0.008588298        5.0
## 18          Suggary 02 2001-08-28          0.000000000       10.0
## 19     Waugh sanct. 07 2001-08-28          0.015444015       10.0
## 20          Dempsey 12 2001-08-28          0.003407984       15.0
## 21 Branche sud aval 03 2001-08-28          0.002134851        5.0
## 22           Sewell 08 2001-08-28          0.002027027       30.0
## 23        Pok amont 04 2001-08-28          0.004366812        5.0
## 24 McConnell Six Rd 05 2001-08-28          0.000000000        5.0
## 25        Pok amont 04 2001-09-26          0.004366812       10.0
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189       30.0
## 27 McConnell Six Rd 05 2001-09-26          0.000000000       15.0
## 28          Pollard 10 2001-09-26          0.000000000       20.0
## 29    br. sud amont 01 2001-09-26          0.001041124      200.0
## 30         Morrison 06 2001-09-26          0.002099738        5.0
## 31             Malt 11 2001-09-26          0.008588298       20.0
## 32          Suggary 02 2001-09-26          0.000000000        5.0
## 33     Waugh sanct. 07 2001-09-26          0.015444015       10.0
## 34          Dempsey 12 2001-09-26          0.003407984       20.0
## 35 Branche sud aval 03 2001-09-26          0.002134851       10.0
## 36           Sewell 08 2001-09-26          0.002027027       30.0
## 37           Sewell 08 2001-10-31          0.002027027       80.0
## 38        Pok amont 04 2001-10-31          0.004366812        5.0
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189       20.0
## 40         Morrison 06 2001-10-31          0.002099738       15.0
## 41 McConnell Six Rd 05 2001-10-31          0.000000000      120.0
## 42          Pollard 10 2001-10-31          0.000000000       10.0
## 43    br. sud amont 01 2001-10-31          0.001041124       30.0
## 44          Dempsey 12 2001-10-31          0.003407984       30.0
## 45             Malt 11 2001-10-31          0.008588298       10.0
## 46          Suggary 02 2001-10-31          0.000000000       30.0
## 47     Waugh sanct. 07 2001-10-31          0.015444015      100.0
## 48 Branche sud aval 03 2001-10-31          0.002134851       20.0
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189       10.0
## 50 Branche sud aval 03 2002-07-29          0.002134851       15.0
## 51           Sewell 08 2002-07-29          0.002027027       40.0
## 52        Pok amont 04 2002-07-29          0.004366812        5.0
## 53    br. sud amont 01 2002-07-29          0.001041124       15.0
## 54         Morrison 06 2002-07-29          0.002099738       10.0
## 55 McConnell Six Rd 05 2002-07-29          0.000000000       80.0
## 56          Pollard 10 2002-07-29          0.000000000       10.0
## 57     Waugh sanct. 07 2002-07-29          0.015444015       40.0
## 58          Dempsey 12 2002-07-29          0.003407984       20.0
## 59             Malt 11 2002-07-29          0.008588298        5.0
## 60          Suggary 02 2002-07-29          0.000000000        5.0
## 61        Pok amont 04 2002-08-28          0.004366812        5.0
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189       20.0
## 63          Dempsey 12 2002-08-28          0.003407984       40.0
## 64 Branche sud aval 03 2002-08-28          0.002134851       15.0
## 65           Sewell 08 2002-08-28          0.002027027       40.0
## 66          Pollard 10 2002-08-28          0.000000000       10.0
## 67    br. sud amont 01 2002-08-28          0.001041124       10.0
## 68         Morrison 06 2002-08-28          0.002099738       10.0
## 69 McConnell Six Rd 05 2002-08-28          0.000000000       20.0
## 70          Suggary 02 2002-08-28          0.000000000        7.5
## 71     Waugh sanct. 07 2002-08-28          0.015444015       30.0
## 72             Malt 11 2002-08-28          0.008588298       10.0
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189        5.0
## 74           Sewell 08 2002-10-02          0.002027027       60.0
## 75        Pok amont 04 2002-10-02          0.004366812        5.0
## 76     Waugh sanct. 07 2002-10-02          0.015444015       20.0
## 77          Dempsey 12 2002-10-02          0.003407984       20.0
## 78 Branche sud aval 03 2002-10-02          0.002134851       15.0
## 79 McConnell Six Rd 05 2002-10-02          0.000000000       60.0
## 80          Pollard 10 2002-10-02          0.000000000       10.0
## 81    br. sud amont 01 2002-10-02          0.001041124       10.0
## 82         Morrison 06 2002-10-02          0.002099738       10.0
## 83             Malt 11 2002-10-02          0.008588298        5.0
## 84          Suggary 02 2002-10-02          0.000000000        5.0
## 85        Pok amont 04 2002-10-31          0.004366812        5.0
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189       20.0
## 87 Branche sud aval 03 2002-10-31          0.002134851        NaN
## 88           Sewell 08 2002-10-31          0.002027027       60.0
## 89          Suggary 02 2002-10-31          0.000000000        5.0
## 90     Waugh sanct. 07 2002-10-31          0.015444015       60.0
## 91          Dempsey 12 2002-10-31          0.003407984       30.0
## 92         Morrison 06 2002-10-31          0.002099738        5.0
## 93 McConnell Six Rd 05 2002-10-31          0.000000000       75.0
## 94          Pollard 10 2002-10-31          0.000000000        5.0
## 95    br. sud amont 01 2002-10-31          0.001041124       30.0
## 96             Malt 11 2002-10-31          0.008588298       15.0
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Colour_TCU))
##                Station2       Date pctN_supdrainee_2020 Colour_TCU
## 97           Suggary 02 2021-07-28         0.0015616866          8
## 98           Dempsey 12 2021-07-28         0.0020997375         22
## 99  Branche sud aval 03 2021-07-28         0.0010735373         19
## 100           Sewell 08 2021-07-28         0.0000000000         34
## 101     Waugh sanct. 07 2021-07-28         0.0034749035         27
## 102    br. sud amont 01 2021-07-28         0.0009737098         15
## 103         Morrison 06 2021-07-28         0.0021348514         14
## 104             Malt 11 2021-07-28         0.0016891892          7
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122         29
## 106          Pollard 10 2021-07-28         0.0028301887          8
## 107        Pok amont 04 2021-07-28         0.0000000000         11
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000          9
## 109             Malt 11 2021-08-31         0.0028301887          5
## 110          Suggary 02 2021-08-31         0.0000000000          5
## 111     Waugh sanct. 07 2021-08-31         0.0015616866         14
## 112          Dempsey 12 2021-08-31         0.0020997375         14
## 113 Branche sud aval 03 2021-08-31         0.0010735373         20
## 114           Sewell 08 2021-08-31         0.0000000000         24
## 115          Pollard 10 2021-08-31         0.0034749035          8
## 116    br. sud amont 01 2021-08-31         0.0009737098         12
## 117         Morrison 06 2021-08-31         0.0021348514         18
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892          8
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122         37
## 120        Pok amont 04 2021-08-31         0.0000000000         10
## 121          Suggary 02 2021-10-05         0.0043668122          8
## 122         Morrison 06 2021-10-05         0.0028301887         22
## 123             Malt 11 2021-10-05         0.0000000000         66
## 124           Sewell 08 2021-10-05         0.0000000000         47
## 125     Waugh sanct. 07 2021-10-05         0.0015616866        190
## 126          Dempsey 12 2021-10-05         0.0020997375         55
## 127 Branche sud aval 03 2021-10-05         0.0010735373         38
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000        141
## 129          Pollard 10 2021-10-05         0.0034749035         19
## 130    br. sud amont 01 2021-10-05         0.0009737098         44
## 131        Pok amont 04 2021-10-05         0.0021348514         21
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892         33
## 133             Malt 11 2021-10-28         0.0016891892         47
## 134          Suggary 02 2021-10-28         0.0043668122          5
## 135    br. sud amont 01 2021-10-28         0.0028301887         32
## 136         Morrison 06 2021-10-28         0.0020997375         13
## 137 Branche sud aval 03 2021-10-28         0.0000000000         22
## 138           Sewell 08 2021-10-28         0.0000000000         43
## 139     Waugh sanct. 07 2021-10-28         0.0015616866        130
## 140          Dempsey 12 2021-10-28         0.0009737098         33
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373         15
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000        107
## 143          Pollard 10 2021-10-28         0.0034749035         12
## 144        Pok amont 04 2021-10-28         0.0021348514         13
## 145          Pollard 10 2022-07-28         0.0028301887          5
## 146         Morrison 06 2022-07-28         0.0021348514          7
## 147             Malt 11 2022-07-28         0.0016891892          6
## 148          Suggary 02 2022-07-28         0.0043668122          5
## 149    br. sud amont 01 2022-07-28         0.0015616866         26
## 150          Dempsey 12 2022-07-28         0.0020997375         16
## 151 Branche sud aval 03 2022-07-28         0.0000000000         18
## 152           Sewell 08 2022-07-28         0.0000000000         33
## 153     Waugh sanct. 07 2022-07-28         0.0034749035         27
## 154        Pok amont 04 2022-07-28         0.0009737098          7
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373          5
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000         15
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122         48
## 158          Pollard 10 2022-09-01         0.0028301887         23
## 159    br. sud amont 01 2022-09-01         0.0009737098         23
## 160         Morrison 06 2022-09-01         0.0021348514         15
## 161             Malt 11 2022-09-01         0.0016891892         10
## 162          Suggary 02 2022-09-01         0.0000000000          8
## 163     Waugh sanct. 07 2022-09-01         0.0015616866         61
## 164          Dempsey 12 2022-09-01         0.0020997375         21
## 165 Branche sud aval 03 2022-09-01         0.0000000000         21
## 166           Sewell 08 2022-09-01         0.0000000000         43
## 167        Pok amont 04 2022-09-01         0.0034749035         14
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373         41
## 169           Sewell 08 2022-10-03         0.0028301887         71
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892          8
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122        130
## 172          Pollard 10 2022-10-03         0.0034749035         10
## 173    br. sud amont 01 2022-10-03         0.0009737098         20
## 174         Morrison 06 2022-10-03         0.0021348514         10
## 175             Malt 11 2022-10-03         0.0000000000          5
## 176          Suggary 02 2022-10-03         0.0000000000          5
## 177     Waugh sanct. 07 2022-10-03         0.0015616866         53
## 178          Dempsey 12 2022-10-03         0.0020997375         16
## 179 Branche sud aval 03 2022-10-03         0.0010735373         17
## 180        Pok amont 04 2022-10-03         0.0000000000         12
## 181 Branche sud aval 03 2022-11-01         0.0043668122         25
## 182           Sewell 08 2022-11-01         0.0028301887         60
## 183        Pok amont 04 2022-11-01         0.0021348514         11
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892         21
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000        148
## 186          Pollard 10 2022-11-01         0.0034749035         11
## 187    br. sud amont 01 2022-11-01         0.0009737098         42
## 188         Morrison 06 2022-11-01         0.0020997375         13
## 189             Malt 11 2022-11-01         0.0000000000         22
## 190          Suggary 02 2022-11-01         0.0000000000          9
## 191     Waugh sanct. 07 2022-11-01         0.0015616866        143
## 192          Dempsey 12 2022-11-01         0.0010735373         28
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Colour_TCU,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Colour_TCU),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Colour_TCU,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Colour_TCU),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la couleur et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Colour_TCU") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

superficie_naturels_vs_COT

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Carbon_Total_Organic_mg_L))
##               Station2       Date pctN_supdrainee_1990
## 1     br. sud amont 01 2001-08-01          0.001041124
## 2          Morrison 06 2001-08-01          0.002099738
## 3              Malt 11 2001-08-01          0.008588298
## 4           Suggary 02 2001-08-01          0.000000000
## 5      Waugh sanct. 07 2001-08-01          0.015444015
## 6           Dempsey 12 2001-08-01          0.003407984
## 7  Branche sud aval 03 2001-08-01          0.002134851
## 8            Sewell 08 2001-08-01          0.002027027
## 9         Pok amont 04 2001-08-01          0.004366812
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189
## 11 McConnell Six Rd 05 2001-08-01          0.000000000
## 12          Pollard 10 2001-08-01          0.000000000
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189
## 14          Pollard 10 2001-08-28          0.000000000
## 15    br. sud amont 01 2001-08-28          0.001041124
## 16         Morrison 06 2001-08-28          0.002099738
## 17             Malt 11 2001-08-28          0.008588298
## 18          Suggary 02 2001-08-28          0.000000000
## 19     Waugh sanct. 07 2001-08-28          0.015444015
## 20          Dempsey 12 2001-08-28          0.003407984
## 21 Branche sud aval 03 2001-08-28          0.002134851
## 22           Sewell 08 2001-08-28          0.002027027
## 23        Pok amont 04 2001-08-28          0.004366812
## 24 McConnell Six Rd 05 2001-08-28          0.000000000
## 25        Pok amont 04 2001-09-26          0.004366812
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189
## 27 McConnell Six Rd 05 2001-09-26          0.000000000
## 28          Pollard 10 2001-09-26          0.000000000
## 29    br. sud amont 01 2001-09-26          0.001041124
## 30         Morrison 06 2001-09-26          0.002099738
## 31             Malt 11 2001-09-26          0.008588298
## 32          Suggary 02 2001-09-26          0.000000000
## 33     Waugh sanct. 07 2001-09-26          0.015444015
## 34          Dempsey 12 2001-09-26          0.003407984
## 35 Branche sud aval 03 2001-09-26          0.002134851
## 36           Sewell 08 2001-09-26          0.002027027
## 37           Sewell 08 2001-10-31          0.002027027
## 38        Pok amont 04 2001-10-31          0.004366812
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189
## 40         Morrison 06 2001-10-31          0.002099738
## 41 McConnell Six Rd 05 2001-10-31          0.000000000
## 42          Pollard 10 2001-10-31          0.000000000
## 43    br. sud amont 01 2001-10-31          0.001041124
## 44          Dempsey 12 2001-10-31          0.003407984
## 45             Malt 11 2001-10-31          0.008588298
## 46          Suggary 02 2001-10-31          0.000000000
## 47     Waugh sanct. 07 2001-10-31          0.015444015
## 48 Branche sud aval 03 2001-10-31          0.002134851
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189
## 50 Branche sud aval 03 2002-07-29          0.002134851
## 51           Sewell 08 2002-07-29          0.002027027
## 52        Pok amont 04 2002-07-29          0.004366812
## 53    br. sud amont 01 2002-07-29          0.001041124
## 54         Morrison 06 2002-07-29          0.002099738
## 55 McConnell Six Rd 05 2002-07-29          0.000000000
## 56          Pollard 10 2002-07-29          0.000000000
## 57     Waugh sanct. 07 2002-07-29          0.015444015
## 58          Dempsey 12 2002-07-29          0.003407984
## 59             Malt 11 2002-07-29          0.008588298
## 60          Suggary 02 2002-07-29          0.000000000
## 61        Pok amont 04 2002-08-28          0.004366812
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189
## 63          Dempsey 12 2002-08-28          0.003407984
## 64 Branche sud aval 03 2002-08-28          0.002134851
## 65           Sewell 08 2002-08-28          0.002027027
## 66          Pollard 10 2002-08-28          0.000000000
## 67    br. sud amont 01 2002-08-28          0.001041124
## 68         Morrison 06 2002-08-28          0.002099738
## 69 McConnell Six Rd 05 2002-08-28          0.000000000
## 70          Suggary 02 2002-08-28          0.000000000
## 71     Waugh sanct. 07 2002-08-28          0.015444015
## 72             Malt 11 2002-08-28          0.008588298
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189
## 74           Sewell 08 2002-10-02          0.002027027
## 75        Pok amont 04 2002-10-02          0.004366812
## 76     Waugh sanct. 07 2002-10-02          0.015444015
## 77          Dempsey 12 2002-10-02          0.003407984
## 78 Branche sud aval 03 2002-10-02          0.002134851
## 79 McConnell Six Rd 05 2002-10-02          0.000000000
## 80          Pollard 10 2002-10-02          0.000000000
## 81    br. sud amont 01 2002-10-02          0.001041124
## 82         Morrison 06 2002-10-02          0.002099738
## 83             Malt 11 2002-10-02          0.008588298
## 84          Suggary 02 2002-10-02          0.000000000
## 85        Pok amont 04 2002-10-31          0.004366812
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189
## 87 Branche sud aval 03 2002-10-31          0.002134851
## 88           Sewell 08 2002-10-31          0.002027027
## 89          Suggary 02 2002-10-31          0.000000000
## 90     Waugh sanct. 07 2002-10-31          0.015444015
## 91          Dempsey 12 2002-10-31          0.003407984
## 92         Morrison 06 2002-10-31          0.002099738
## 93 McConnell Six Rd 05 2002-10-31          0.000000000
## 94          Pollard 10 2002-10-31          0.000000000
## 95    br. sud amont 01 2002-10-31          0.001041124
## 96             Malt 11 2002-10-31          0.008588298
##    Carbon_Total_Organic_mg_L
## 1                      1.600
## 2                      2.140
## 3                      2.440
## 4                      1.400
## 5                      3.000
## 6                      2.510
## 7                      1.340
## 8                      1.980
## 9                      1.020
## 10                     1.090
## 11                     1.210
## 12                     1.370
## 13                     1.440
## 14                     1.850
## 15                     1.910
## 16                     2.260
## 17                     1.200
## 18                     1.880
## 19                     2.200
## 20                     2.660
## 21                     2.210
## 22                     3.810
## 23                     1.290
## 24                     2.010
## 25                     3.950
## 26                     3.220
## 27                     2.120
## 28                     3.345
## 29                     5.250
## 30                     1.930
## 31                     2.220
## 32                     1.970
## 33                     2.170
## 34                     3.280
## 35                     2.130
## 36                     4.450
## 37                     9.230
## 38                     1.230
## 39                     2.390
## 40                     2.340
## 41                    13.500
## 42                     2.140
## 43                     4.560
## 44                     4.570
## 45                     2.690
## 46                     4.435
## 47                    18.500
## 48                     3.370
## 49                     1.400
## 50                     1.700
## 51                     4.200
## 52                     1.000
## 53                     2.700
## 54                     1.200
## 55                     4.900
## 56                     1.800
## 57                     4.800
## 58                     2.250
## 59                     1.300
## 60                     1.000
## 61                     1.000
## 62                     1.200
## 63                     2.000
## 64                     1.200
## 65                     2.600
## 66                     1.400
## 67                     1.400
## 68                     1.000
## 69                     1.600
## 70                     1.000
## 71                     2.900
## 72                     1.000
## 73                     1.600
## 74                     8.200
## 75                     1.000
## 76                     2.900
## 77                     2.600
## 78                     2.300
## 79                     7.000
## 80                     1.700
## 81                     2.400
## 82                     1.500
## 83                     1.300
## 84                     1.000
## 85                     1.500
## 86                     2.700
## 87                     3.200
## 88                    10.000
## 89                     1.100
## 90                    11.300
## 91                     4.200
## 92                     2.500
## 93                    10.800
## 94                     2.200
## 95                     4.800
## 96                     2.500
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Carbon_Total_Organic_mg_L))
##                Station2       Date pctN_supdrainee_2020
## 97           Suggary 02 2021-07-28         0.0015616866
## 98           Dempsey 12 2021-07-28         0.0020997375
## 99  Branche sud aval 03 2021-07-28         0.0010735373
## 100           Sewell 08 2021-07-28         0.0000000000
## 101     Waugh sanct. 07 2021-07-28         0.0034749035
## 102    br. sud amont 01 2021-07-28         0.0009737098
## 103         Morrison 06 2021-07-28         0.0021348514
## 104             Malt 11 2021-07-28         0.0016891892
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122
## 106          Pollard 10 2021-07-28         0.0028301887
## 107        Pok amont 04 2021-07-28         0.0000000000
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000
## 109             Malt 11 2021-08-31         0.0028301887
## 110          Suggary 02 2021-08-31         0.0000000000
## 111     Waugh sanct. 07 2021-08-31         0.0015616866
## 112          Dempsey 12 2021-08-31         0.0020997375
## 113 Branche sud aval 03 2021-08-31         0.0010735373
## 114           Sewell 08 2021-08-31         0.0000000000
## 115          Pollard 10 2021-08-31         0.0034749035
## 116    br. sud amont 01 2021-08-31         0.0009737098
## 117         Morrison 06 2021-08-31         0.0021348514
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122
## 120        Pok amont 04 2021-08-31         0.0000000000
## 121          Suggary 02 2021-10-05         0.0043668122
## 122         Morrison 06 2021-10-05         0.0028301887
## 123             Malt 11 2021-10-05         0.0000000000
## 124           Sewell 08 2021-10-05         0.0000000000
## 125     Waugh sanct. 07 2021-10-05         0.0015616866
## 126          Dempsey 12 2021-10-05         0.0020997375
## 127 Branche sud aval 03 2021-10-05         0.0010735373
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000
## 129          Pollard 10 2021-10-05         0.0034749035
## 130    br. sud amont 01 2021-10-05         0.0009737098
## 131        Pok amont 04 2021-10-05         0.0021348514
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892
## 133             Malt 11 2021-10-28         0.0016891892
## 134          Suggary 02 2021-10-28         0.0043668122
## 135    br. sud amont 01 2021-10-28         0.0028301887
## 136         Morrison 06 2021-10-28         0.0020997375
## 137 Branche sud aval 03 2021-10-28         0.0000000000
## 138           Sewell 08 2021-10-28         0.0000000000
## 139     Waugh sanct. 07 2021-10-28         0.0015616866
## 140          Dempsey 12 2021-10-28         0.0009737098
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000
## 143          Pollard 10 2021-10-28         0.0034749035
## 144        Pok amont 04 2021-10-28         0.0021348514
## 145          Pollard 10 2022-07-28         0.0028301887
## 146         Morrison 06 2022-07-28         0.0021348514
## 147             Malt 11 2022-07-28         0.0016891892
## 148          Suggary 02 2022-07-28         0.0043668122
## 149    br. sud amont 01 2022-07-28         0.0015616866
## 150          Dempsey 12 2022-07-28         0.0020997375
## 151 Branche sud aval 03 2022-07-28         0.0000000000
## 152           Sewell 08 2022-07-28         0.0000000000
## 153     Waugh sanct. 07 2022-07-28         0.0034749035
## 154        Pok amont 04 2022-07-28         0.0009737098
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122
## 158          Pollard 10 2022-09-01         0.0028301887
## 159    br. sud amont 01 2022-09-01         0.0009737098
## 160         Morrison 06 2022-09-01         0.0021348514
## 161             Malt 11 2022-09-01         0.0016891892
## 162          Suggary 02 2022-09-01         0.0000000000
## 163     Waugh sanct. 07 2022-09-01         0.0015616866
## 164          Dempsey 12 2022-09-01         0.0020997375
## 165 Branche sud aval 03 2022-09-01         0.0000000000
## 166           Sewell 08 2022-09-01         0.0000000000
## 167        Pok amont 04 2022-09-01         0.0034749035
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373
## 169           Sewell 08 2022-10-03         0.0028301887
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122
## 172          Pollard 10 2022-10-03         0.0034749035
## 173    br. sud amont 01 2022-10-03         0.0009737098
## 174         Morrison 06 2022-10-03         0.0021348514
## 175             Malt 11 2022-10-03         0.0000000000
## 176          Suggary 02 2022-10-03         0.0000000000
## 177     Waugh sanct. 07 2022-10-03         0.0015616866
## 178          Dempsey 12 2022-10-03         0.0020997375
## 179 Branche sud aval 03 2022-10-03         0.0010735373
## 180        Pok amont 04 2022-10-03         0.0000000000
## 181 Branche sud aval 03 2022-11-01         0.0043668122
## 182           Sewell 08 2022-11-01         0.0028301887
## 183        Pok amont 04 2022-11-01         0.0021348514
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000
## 186          Pollard 10 2022-11-01         0.0034749035
## 187    br. sud amont 01 2022-11-01         0.0009737098
## 188         Morrison 06 2022-11-01         0.0020997375
## 189             Malt 11 2022-11-01         0.0000000000
## 190          Suggary 02 2022-11-01         0.0000000000
## 191     Waugh sanct. 07 2022-11-01         0.0015616866
## 192          Dempsey 12 2022-11-01         0.0010735373
##     Carbon_Total_Organic_mg_L
## 97                        1.2
## 98                        2.1
## 99                        2.9
## 100                       4.2
## 101                       3.4
## 102                       2.2
## 103                       2.2
## 104                       1.4
## 105                       2.5
## 106                       1.6
## 107                       1.7
## 108                       1.5
## 109                       1.2
## 110                       1.0
## 111                       2.7
## 112                       2.5
## 113                       3.6
## 114                       3.8
## 115                       2.0
## 116                       2.8
## 117                       2.2
## 118                       1.6
## 119                       3.7
## 120                       1.6
## 121                       1.7
## 122                       3.4
## 123                       7.0
## 124                       5.5
## 125                      18.4
## 126                       5.7
## 127                       4.9
## 128                       9.6
## 129                       3.2
## 130                       5.3
## 131                       2.7
## 132                       3.6
## 133                       5.1
## 134                       1.7
## 135                       5.1
## 136                       2.5
## 137                       4.0
## 138                       5.5
## 139                      14.4
## 140                       4.3
## 141                       2.7
## 142                       8.6
## 143                       2.4
## 144                       2.5
## 145                       1.0
## 146                       1.3
## 147                       1.2
## 148                       0.8
## 149                       3.5
## 150                       1.8
## 151                       2.1
## 152                       3.7
## 153                       3.1
## 154                       1.4
## 155                       1.0
## 156                       1.5
## 157                       4.5
## 158                       2.1
## 159                       4.6
## 160                       3.0
## 161                       2.3
## 162                       1.7
## 163                       7.7
## 164                       3.1
## 165                       3.4
## 166                       6.1
## 167                       2.2
## 168                       2.1
## 169                       6.6
## 170                       1.3
## 171                      10.3
## 172                       1.4
## 173                       3.2
## 174                       1.7
## 175                       1.0
## 176                       0.9
## 177                       6.9
## 178                       2.0
## 179                       2.6
## 180                       1.8
## 181                       3.8
## 182                       7.2
## 183                       2.0
## 184                       2.9
## 185                      11.0
## 186                       1.8
## 187                       5.9
## 188                       2.4
## 189                       3.5
## 190                       1.1
## 191                      17.4
## 192                       3.3
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Carbon_Total_Organic_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Carbon_Total_Organic_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Carbon_Total_Organic_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Carbon_Total_Organic_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le COT et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Carbon_Total_Organic_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_naturels_vs_coliforme

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,E.coli_MPN_100.mL))
##               Station2       Date pctN_supdrainee_1990 E.coli_MPN_100.mL
## 1     br. sud amont 01 2001-08-01          0.001041124                10
## 2          Morrison 06 2001-08-01          0.002099738                80
## 3              Malt 11 2001-08-01          0.008588298                30
## 4           Suggary 02 2001-08-01          0.000000000                10
## 5      Waugh sanct. 07 2001-08-01          0.015444015               270
## 6           Dempsey 12 2001-08-01          0.003407984                50
## 7  Branche sud aval 03 2001-08-01          0.002134851                10
## 8            Sewell 08 2001-08-01          0.002027027                20
## 9         Pok amont 04 2001-08-01          0.004366812                10
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189                10
## 11 McConnell Six Rd 05 2001-08-01          0.000000000                30
## 12          Pollard 10 2001-08-01          0.000000000               110
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189                10
## 14          Pollard 10 2001-08-28          0.000000000                50
## 15    br. sud amont 01 2001-08-28          0.001041124               120
## 16         Morrison 06 2001-08-28          0.002099738                90
## 17             Malt 11 2001-08-28          0.008588298                20
## 18          Suggary 02 2001-08-28          0.000000000                80
## 19     Waugh sanct. 07 2001-08-28          0.015444015               430
## 20          Dempsey 12 2001-08-28          0.003407984                20
## 21 Branche sud aval 03 2001-08-28          0.002134851               110
## 22           Sewell 08 2001-08-28          0.002027027               210
## 23        Pok amont 04 2001-08-28          0.004366812                10
## 24 McConnell Six Rd 05 2001-08-28          0.000000000               250
## 25        Pok amont 04 2001-09-26          0.004366812               530
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189               830
## 27 McConnell Six Rd 05 2001-09-26          0.000000000               120
## 28          Pollard 10 2001-09-26          0.000000000              1240
## 29    br. sud amont 01 2001-09-26          0.001041124              2000
## 30         Morrison 06 2001-09-26          0.002099738               220
## 31             Malt 11 2001-09-26          0.008588298               150
## 32          Suggary 02 2001-09-26          0.000000000               150
## 33     Waugh sanct. 07 2001-09-26          0.015444015               590
## 34          Dempsey 12 2001-09-26          0.003407984               150
## 35 Branche sud aval 03 2001-09-26          0.002134851               660
## 36           Sewell 08 2001-09-26          0.002027027               190
## 37           Sewell 08 2001-10-31          0.002027027               140
## 38        Pok amont 04 2001-10-31          0.004366812                20
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189                10
## 40         Morrison 06 2001-10-31          0.002099738                10
## 41 McConnell Six Rd 05 2001-10-31          0.000000000               310
## 42          Pollard 10 2001-10-31          0.000000000                50
## 43    br. sud amont 01 2001-10-31          0.001041124                20
## 44          Dempsey 12 2001-10-31          0.003407984                10
## 45             Malt 11 2001-10-31          0.008588298               100
## 46          Suggary 02 2001-10-31          0.000000000                30
## 47     Waugh sanct. 07 2001-10-31          0.015444015               480
## 48 Branche sud aval 03 2001-10-31          0.002134851                30
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189                10
## 50 Branche sud aval 03 2002-07-29          0.002134851                30
## 51           Sewell 08 2002-07-29          0.002027027                60
## 52        Pok amont 04 2002-07-29          0.004366812                10
## 53    br. sud amont 01 2002-07-29          0.001041124                20
## 54         Morrison 06 2002-07-29          0.002099738                10
## 55 McConnell Six Rd 05 2002-07-29          0.000000000                10
## 56          Pollard 10 2002-07-29          0.000000000               660
## 57     Waugh sanct. 07 2002-07-29          0.015444015                80
## 58          Dempsey 12 2002-07-29          0.003407984                25
## 59             Malt 11 2002-07-29          0.008588298                10
## 60          Suggary 02 2002-07-29          0.000000000                10
## 61        Pok amont 04 2002-08-28          0.004366812                30
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189                10
## 63          Dempsey 12 2002-08-28          0.003407984                10
## 64 Branche sud aval 03 2002-08-28          0.002134851                20
## 65           Sewell 08 2002-08-28          0.002027027                10
## 66          Pollard 10 2002-08-28          0.000000000               180
## 67    br. sud amont 01 2002-08-28          0.001041124                80
## 68         Morrison 06 2002-08-28          0.002099738                20
## 69 McConnell Six Rd 05 2002-08-28          0.000000000               310
## 70          Suggary 02 2002-08-28          0.000000000                15
## 71     Waugh sanct. 07 2002-08-28          0.015444015               410
## 72             Malt 11 2002-08-28          0.008588298                30
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189                10
## 74           Sewell 08 2002-10-02          0.002027027                25
## 75        Pok amont 04 2002-10-02          0.004366812                10
## 76     Waugh sanct. 07 2002-10-02          0.015444015               700
## 77          Dempsey 12 2002-10-02          0.003407984                30
## 78 Branche sud aval 03 2002-10-02          0.002134851                40
## 79 McConnell Six Rd 05 2002-10-02          0.000000000               150
## 80          Pollard 10 2002-10-02          0.000000000                10
## 81    br. sud amont 01 2002-10-02          0.001041124                20
## 82         Morrison 06 2002-10-02          0.002099738                10
## 83             Malt 11 2002-10-02          0.008588298                90
## 84          Suggary 02 2002-10-02          0.000000000                20
## 85        Pok amont 04 2002-10-31          0.004366812                10
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189                10
## 87 Branche sud aval 03 2002-10-31          0.002134851                10
## 88           Sewell 08 2002-10-31          0.002027027                10
## 89          Suggary 02 2002-10-31          0.000000000                50
## 90     Waugh sanct. 07 2002-10-31          0.015444015                40
## 91          Dempsey 12 2002-10-31          0.003407984                10
## 92         Morrison 06 2002-10-31          0.002099738                10
## 93 McConnell Six Rd 05 2002-10-31          0.000000000                30
## 94          Pollard 10 2002-10-31          0.000000000                10
## 95    br. sud amont 01 2002-10-31          0.001041124                10
## 96             Malt 11 2002-10-31          0.008588298                10
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,E.coli_MPN_100.mL))
##                Station2       Date pctN_supdrainee_2020 E.coli_MPN_100.mL
## 97           Suggary 02 2021-07-28         0.0015616866              20.0
## 98           Dempsey 12 2021-07-28         0.0020997375              52.0
## 99  Branche sud aval 03 2021-07-28         0.0010735373              74.0
## 100           Sewell 08 2021-07-28         0.0000000000              98.0
## 101     Waugh sanct. 07 2021-07-28         0.0034749035              52.0
## 102    br. sud amont 01 2021-07-28         0.0009737098              75.0
## 103         Morrison 06 2021-07-28         0.0021348514              30.0
## 104             Malt 11 2021-07-28         0.0016891892              10.0
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122              75.0
## 106          Pollard 10 2021-07-28         0.0028301887              98.0
## 107        Pok amont 04 2021-07-28         0.0000000000              10.0
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000              20.0
## 109             Malt 11 2021-08-31         0.0028301887              39.3
## 110          Suggary 02 2021-08-31         0.0000000000             235.9
## 111     Waugh sanct. 07 2021-08-31         0.0015616866              68.3
## 112          Dempsey 12 2021-08-31         0.0020997375              49.6
## 113 Branche sud aval 03 2021-08-31         0.0010735373              54.5
## 114           Sewell 08 2021-08-31         0.0000000000             148.3
## 115          Pollard 10 2021-08-31         0.0034749035             117.8
## 116    br. sud amont 01 2021-08-31         0.0009737098              72.7
## 117         Morrison 06 2021-08-31         0.0021348514              25.6
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892              67.7
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122              70.3
## 120        Pok amont 04 2021-08-31         0.0000000000              15.6
## 121          Suggary 02 2021-10-05         0.0043668122              41.7
## 122         Morrison 06 2021-10-05         0.0028301887              24.6
## 123             Malt 11 2021-10-05         0.0000000000              47.1
## 124           Sewell 08 2021-10-05         0.0000000000             135.4
## 125     Waugh sanct. 07 2021-10-05         0.0015616866              29.5
## 126          Dempsey 12 2021-10-05         0.0020997375              54.8
## 127 Branche sud aval 03 2021-10-05         0.0010735373              37.3
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000              95.9
## 129          Pollard 10 2021-10-05         0.0034749035              62.7
## 130    br. sud amont 01 2021-10-05         0.0009737098              35.5
## 131        Pok amont 04 2021-10-05         0.0021348514              10.8
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892              27.5
## 133             Malt 11 2021-10-28         0.0016891892              16.0
## 134          Suggary 02 2021-10-28         0.0043668122               7.4
## 135    br. sud amont 01 2021-10-28         0.0028301887              19.9
## 136         Morrison 06 2021-10-28         0.0020997375              12.1
## 137 Branche sud aval 03 2021-10-28         0.0000000000              39.9
## 138           Sewell 08 2021-10-28         0.0000000000              48.1
## 139     Waugh sanct. 07 2021-10-28         0.0015616866              38.4
## 140          Dempsey 12 2021-10-28         0.0009737098              52.0
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373              24.3
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000              29.5
## 143          Pollard 10 2021-10-28         0.0034749035              34.5
## 144        Pok amont 04 2021-10-28         0.0021348514              14.6
## 145          Pollard 10 2022-07-28         0.0028301887              57.6
## 146         Morrison 06 2022-07-28         0.0021348514             133.4
## 147             Malt 11 2022-07-28         0.0016891892              70.3
## 148          Suggary 02 2022-07-28         0.0043668122              27.5
## 149    br. sud amont 01 2022-07-28         0.0015616866              32.7
## 150          Dempsey 12 2022-07-28         0.0020997375              41.7
## 151 Branche sud aval 03 2022-07-28         0.0000000000              59.8
## 152           Sewell 08 2022-07-28         0.0000000000              90.6
## 153     Waugh sanct. 07 2022-07-28         0.0034749035              93.3
## 154        Pok amont 04 2022-07-28         0.0009737098              77.1
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373              22.8
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000             488.4
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122              82.0
## 158          Pollard 10 2022-09-01         0.0028301887            1046.2
## 159    br. sud amont 01 2022-09-01         0.0009737098             114.5
## 160         Morrison 06 2022-09-01         0.0021348514             686.7
## 161             Malt 11 2022-09-01         0.0016891892              69.1
## 162          Suggary 02 2022-09-01         0.0000000000              40.2
## 163     Waugh sanct. 07 2022-09-01         0.0015616866              88.0
## 164          Dempsey 12 2022-09-01         0.0020997375             248.1
## 165 Branche sud aval 03 2022-09-01         0.0000000000              70.3
## 166           Sewell 08 2022-09-01         0.0000000000             172.2
## 167        Pok amont 04 2022-09-01         0.0034749035               5.2
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373             121.1
## 169           Sewell 08 2022-10-03         0.0028301887              48.8
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892              44.1
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122              59.1
## 172          Pollard 10 2022-10-03         0.0034749035              24.1
## 173    br. sud amont 01 2022-10-03         0.0009737098              57.6
## 174         Morrison 06 2022-10-03         0.0021348514              47.4
## 175             Malt 11 2022-10-03         0.0000000000               5.2
## 176          Suggary 02 2022-10-03         0.0000000000               9.7
## 177     Waugh sanct. 07 2022-10-03         0.0015616866              65.7
## 178          Dempsey 12 2022-10-03         0.0020997375              48.0
## 179 Branche sud aval 03 2022-10-03         0.0010735373              13.4
## 180        Pok amont 04 2022-10-03         0.0000000000               8.4
## 181 Branche sud aval 03 2022-11-01         0.0043668122              24.6
## 182           Sewell 08 2022-11-01         0.0028301887             115.3
## 183        Pok amont 04 2022-11-01         0.0021348514               5.2
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892               3.1
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000              72.3
## 186          Pollard 10 2022-11-01         0.0034749035              20.3
## 187    br. sud amont 01 2022-11-01         0.0009737098              37.3
## 188         Morrison 06 2022-11-01         0.0020997375              39.9
## 189             Malt 11 2022-11-01         0.0000000000              45.0
## 190          Suggary 02 2022-11-01         0.0000000000               8.5
## 191     Waugh sanct. 07 2022-11-01         0.0015616866             249.5
## 192          Dempsey 12 2022-11-01         0.0010735373              53.8
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=E.coli_MPN_100.mL,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=E.coli_MPN_100.mL),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=E.coli_MPN_100.mL,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=E.coli_MPN_100.mL),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre les coliformes et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="E.coli_MPN_100.mL") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_naturels_vs_phosphore

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Phosphorus_Total_mg_L))
##               Station2       Date pctN_supdrainee_1990 Phosphorus_Total_mg_L
## 1     br. sud amont 01 2001-08-01          0.001041124                0.0080
## 2          Morrison 06 2001-08-01          0.002099738                0.0080
## 3              Malt 11 2001-08-01          0.008588298                0.0110
## 4           Suggary 02 2001-08-01          0.000000000                0.0090
## 5      Waugh sanct. 07 2001-08-01          0.015444015                0.0150
## 6           Dempsey 12 2001-08-01          0.003407984                0.0140
## 7  Branche sud aval 03 2001-08-01          0.002134851                0.0080
## 8            Sewell 08 2001-08-01          0.002027027                0.0110
## 9         Pok amont 04 2001-08-01          0.004366812                0.0110
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189                0.0090
## 11 McConnell Six Rd 05 2001-08-01          0.000000000                0.0160
## 12          Pollard 10 2001-08-01          0.000000000                0.0150
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189                0.0070
## 14          Pollard 10 2001-08-28          0.000000000                0.0170
## 15    br. sud amont 01 2001-08-28          0.001041124                0.0060
## 16         Morrison 06 2001-08-28          0.002099738                0.0080
## 17             Malt 11 2001-08-28          0.008588298                0.0080
## 18          Suggary 02 2001-08-28          0.000000000                0.0080
## 19     Waugh sanct. 07 2001-08-28          0.015444015                0.0090
## 20          Dempsey 12 2001-08-28          0.003407984                0.0110
## 21 Branche sud aval 03 2001-08-28          0.002134851                0.0070
## 22           Sewell 08 2001-08-28          0.002027027                0.0170
## 23        Pok amont 04 2001-08-28          0.004366812                0.0060
## 24 McConnell Six Rd 05 2001-08-28          0.000000000                0.0130
## 25        Pok amont 04 2001-09-26          0.004366812                0.0130
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189                0.0140
## 27 McConnell Six Rd 05 2001-09-26          0.000000000                0.0130
## 28          Pollard 10 2001-09-26          0.000000000                0.0155
## 29    br. sud amont 01 2001-09-26          0.001041124                0.0130
## 30         Morrison 06 2001-09-26          0.002099738                0.0080
## 31             Malt 11 2001-09-26          0.008588298                0.0120
## 32          Suggary 02 2001-09-26          0.000000000                0.0090
## 33     Waugh sanct. 07 2001-09-26          0.015444015                0.0140
## 34          Dempsey 12 2001-09-26          0.003407984                0.0190
## 35 Branche sud aval 03 2001-09-26          0.002134851                0.0090
## 36           Sewell 08 2001-09-26          0.002027027                0.0120
## 37           Sewell 08 2001-10-31          0.002027027                0.0120
## 38        Pok amont 04 2001-10-31          0.004366812                0.0050
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189                0.0050
## 40         Morrison 06 2001-10-31          0.002099738                0.0060
## 41 McConnell Six Rd 05 2001-10-31          0.000000000                0.0110
## 42          Pollard 10 2001-10-31          0.000000000                0.0080
## 43    br. sud amont 01 2001-10-31          0.001041124                0.0050
## 44          Dempsey 12 2001-10-31          0.003407984                0.0090
## 45             Malt 11 2001-10-31          0.008588298                0.0070
## 46          Suggary 02 2001-10-31          0.000000000                0.0080
## 47     Waugh sanct. 07 2001-10-31          0.015444015                0.0120
## 48 Branche sud aval 03 2001-10-31          0.002134851                0.0050
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189                0.0050
## 50 Branche sud aval 03 2002-07-29          0.002134851                0.0070
## 51           Sewell 08 2002-07-29          0.002027027                0.0200
## 52        Pok amont 04 2002-07-29          0.004366812                0.0060
## 53    br. sud amont 01 2002-07-29          0.001041124                0.0060
## 54         Morrison 06 2002-07-29          0.002099738                0.0080
## 55 McConnell Six Rd 05 2002-07-29          0.000000000                0.0130
## 56          Pollard 10 2002-07-29          0.000000000                0.0230
## 57     Waugh sanct. 07 2002-07-29          0.015444015                0.0120
## 58          Dempsey 12 2002-07-29          0.003407984                0.0100
## 59             Malt 11 2002-07-29          0.008588298                0.0090
## 60          Suggary 02 2002-07-29          0.000000000                0.0070
## 61        Pok amont 04 2002-08-28          0.004366812                0.0100
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189                0.0090
## 63          Dempsey 12 2002-08-28          0.003407984                0.0130
## 64 Branche sud aval 03 2002-08-28          0.002134851                0.0080
## 65           Sewell 08 2002-08-28          0.002027027                0.0100
## 66          Pollard 10 2002-08-28          0.000000000                0.0160
## 67    br. sud amont 01 2002-08-28          0.001041124                0.0070
## 68         Morrison 06 2002-08-28          0.002099738                0.0090
## 69 McConnell Six Rd 05 2002-08-28          0.000000000                0.0140
## 70          Suggary 02 2002-08-28          0.000000000                0.0100
## 71     Waugh sanct. 07 2002-08-28          0.015444015                0.0130
## 72             Malt 11 2002-08-28          0.008588298                0.0110
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189                0.0070
## 74           Sewell 08 2002-10-02          0.002027027                0.0155
## 75        Pok amont 04 2002-10-02          0.004366812                0.0060
## 76     Waugh sanct. 07 2002-10-02          0.015444015                0.0090
## 77          Dempsey 12 2002-10-02          0.003407984                0.0120
## 78 Branche sud aval 03 2002-10-02          0.002134851                0.0080
## 79 McConnell Six Rd 05 2002-10-02          0.000000000                0.0110
## 80          Pollard 10 2002-10-02          0.000000000                0.0110
## 81    br. sud amont 01 2002-10-02          0.001041124                0.0050
## 82         Morrison 06 2002-10-02          0.002099738                0.0050
## 83             Malt 11 2002-10-02          0.008588298                0.0080
## 84          Suggary 02 2002-10-02          0.000000000                0.0070
## 85        Pok amont 04 2002-10-31          0.004366812                0.0060
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189                0.0050
## 87 Branche sud aval 03 2002-10-31          0.002134851                0.0050
## 88           Sewell 08 2002-10-31          0.002027027                0.0130
## 89          Suggary 02 2002-10-31          0.000000000                0.0050
## 90     Waugh sanct. 07 2002-10-31          0.015444015                0.0080
## 91          Dempsey 12 2002-10-31          0.003407984                0.0080
## 92         Morrison 06 2002-10-31          0.002099738                0.0050
## 93 McConnell Six Rd 05 2002-10-31          0.000000000                0.0090
## 94          Pollard 10 2002-10-31          0.000000000                0.0060
## 95    br. sud amont 01 2002-10-31          0.001041124                0.0065
## 96             Malt 11 2002-10-31          0.008588298                0.0050
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Phosphorus_Total_mg_L))
##                Station2       Date pctN_supdrainee_2020 Phosphorus_Total_mg_L
## 97           Suggary 02 2021-07-28         0.0015616866                 0.018
## 98           Dempsey 12 2021-07-28         0.0020997375                 0.024
## 99  Branche sud aval 03 2021-07-28         0.0010735373                 0.022
## 100           Sewell 08 2021-07-28         0.0000000000                 0.028
## 101     Waugh sanct. 07 2021-07-28         0.0034749035                 0.017
## 102    br. sud amont 01 2021-07-28         0.0009737098                 0.016
## 103         Morrison 06 2021-07-28         0.0021348514                 0.019
## 104             Malt 11 2021-07-28         0.0016891892                 0.014
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122                 0.026
## 106          Pollard 10 2021-07-28         0.0028301887                 0.051
## 107        Pok amont 04 2021-07-28         0.0000000000                 0.022
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000                 0.014
## 109             Malt 11 2021-08-31         0.0028301887                 0.005
## 110          Suggary 02 2021-08-31         0.0000000000                 0.011
## 111     Waugh sanct. 07 2021-08-31         0.0015616866                 0.006
## 112          Dempsey 12 2021-08-31         0.0020997375                 0.014
## 113 Branche sud aval 03 2021-08-31         0.0010735373                 0.009
## 114           Sewell 08 2021-08-31         0.0000000000                 0.015
## 115          Pollard 10 2021-08-31         0.0034749035                 0.073
## 116    br. sud amont 01 2021-08-31         0.0009737098                 0.016
## 117         Morrison 06 2021-08-31         0.0021348514                 0.016
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892                 0.012
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122                 0.029
## 120        Pok amont 04 2021-08-31         0.0000000000                 0.008
## 121          Suggary 02 2021-10-05         0.0043668122                 0.007
## 122         Morrison 06 2021-10-05         0.0028301887                 0.010
## 123             Malt 11 2021-10-05         0.0000000000                 0.012
## 124           Sewell 08 2021-10-05         0.0000000000                 0.024
## 125     Waugh sanct. 07 2021-10-05         0.0015616866                 0.019
## 126          Dempsey 12 2021-10-05         0.0020997375                 0.018
## 127 Branche sud aval 03 2021-10-05         0.0010735373                 0.015
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000                 0.025
## 129          Pollard 10 2021-10-05         0.0034749035                 0.037
## 130    br. sud amont 01 2021-10-05         0.0009737098                 0.019
## 131        Pok amont 04 2021-10-05         0.0021348514                 0.008
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892                 0.011
## 133             Malt 11 2021-10-28         0.0016891892                 0.009
## 134          Suggary 02 2021-10-28         0.0043668122                 0.009
## 135    br. sud amont 01 2021-10-28         0.0028301887                 0.013
## 136         Morrison 06 2021-10-28         0.0020997375                 0.011
## 137 Branche sud aval 03 2021-10-28         0.0000000000                 0.022
## 138           Sewell 08 2021-10-28         0.0000000000                 0.020
## 139     Waugh sanct. 07 2021-10-28         0.0015616866                 0.018
## 140          Dempsey 12 2021-10-28         0.0009737098                 0.015
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373                 0.010
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000                 0.018
## 143          Pollard 10 2021-10-28         0.0034749035                 0.033
## 144        Pok amont 04 2021-10-28         0.0021348514                 0.013
## 145          Pollard 10 2022-07-28         0.0028301887                 0.034
## 146         Morrison 06 2022-07-28         0.0021348514                 0.014
## 147             Malt 11 2022-07-28         0.0016891892                 0.008
## 148          Suggary 02 2022-07-28         0.0043668122                 0.009
## 149    br. sud amont 01 2022-07-28         0.0015616866                 0.016
## 150          Dempsey 12 2022-07-28         0.0020997375                 0.017
## 151 Branche sud aval 03 2022-07-28         0.0000000000                 0.013
## 152           Sewell 08 2022-07-28         0.0000000000                 0.019
## 153     Waugh sanct. 07 2022-07-28         0.0034749035                 0.011
## 154        Pok amont 04 2022-07-28         0.0009737098                 0.009
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373                 0.009
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000                 0.019
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122                 0.024
## 158          Pollard 10 2022-09-01         0.0028301887                 0.075
## 159    br. sud amont 01 2022-09-01         0.0009737098                 0.015
## 160         Morrison 06 2022-09-01         0.0021348514                 0.021
## 161             Malt 11 2022-09-01         0.0016891892                 0.008
## 162          Suggary 02 2022-09-01         0.0000000000                 0.010
## 163     Waugh sanct. 07 2022-09-01         0.0015616866                 0.021
## 164          Dempsey 12 2022-09-01         0.0020997375                 0.021
## 165 Branche sud aval 03 2022-09-01         0.0000000000                 0.016
## 166           Sewell 08 2022-09-01         0.0000000000                 0.019
## 167        Pok amont 04 2022-09-01         0.0034749035                 0.010
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373                 0.012
## 169           Sewell 08 2022-10-03         0.0028301887                 0.016
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892                 0.019
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122                 0.022
## 172          Pollard 10 2022-10-03         0.0034749035                 0.049
## 173    br. sud amont 01 2022-10-03         0.0009737098                 0.016
## 174         Morrison 06 2022-10-03         0.0021348514                 0.014
## 175             Malt 11 2022-10-03         0.0000000000                 0.007
## 176          Suggary 02 2022-10-03         0.0000000000                 0.005
## 177     Waugh sanct. 07 2022-10-03         0.0015616866                 0.013
## 178          Dempsey 12 2022-10-03         0.0020997375                 0.013
## 179 Branche sud aval 03 2022-10-03         0.0010735373                 0.009
## 180        Pok amont 04 2022-10-03         0.0000000000                 0.013
## 181 Branche sud aval 03 2022-11-01         0.0043668122                 0.013
## 182           Sewell 08 2022-11-01         0.0028301887                 0.021
## 183        Pok amont 04 2022-11-01         0.0021348514                 0.011
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892                 0.017
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000                 0.020
## 186          Pollard 10 2022-11-01         0.0034749035                 0.041
## 187    br. sud amont 01 2022-11-01         0.0009737098                 0.020
## 188         Morrison 06 2022-11-01         0.0020997375                 0.018
## 189             Malt 11 2022-11-01         0.0000000000                 0.009
## 190          Suggary 02 2022-11-01         0.0000000000                 0.010
## 191     Waugh sanct. 07 2022-11-01         0.0015616866                 0.017
## 192          Dempsey 12 2022-11-01         0.0010735373                 0.021
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Phosphorus_Total_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Phosphorus_Total_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Phosphorus_Total_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Phosphorus_Total_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le phosphore et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Phosphorus_Total_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

superficie_naturels_vs_nitrate

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctN_supdrainee_1990,Nitrate_as_N_mg_L))
##               Station2       Date pctN_supdrainee_1990 Nitrate_as_N_mg_L
## 1     br. sud amont 01 2001-08-01          0.001041124            0.0500
## 2          Morrison 06 2001-08-01          0.002099738            0.0940
## 3              Malt 11 2001-08-01          0.008588298            0.0500
## 4           Suggary 02 2001-08-01          0.000000000            0.0500
## 5      Waugh sanct. 07 2001-08-01          0.015444015            0.0500
## 6           Dempsey 12 2001-08-01          0.003407984            0.0500
## 7  Branche sud aval 03 2001-08-01          0.002134851            0.0500
## 8            Sewell 08 2001-08-01          0.002027027            0.1360
## 9         Pok amont 04 2001-08-01          0.004366812            0.0500
## 10 Trout Val-Doucet 09 2001-08-01          0.002830189            0.0500
## 11 McConnell Six Rd 05 2001-08-01          0.000000000            0.2510
## 12          Pollard 10 2001-08-01          0.000000000            0.2600
## 13 Trout Val-Doucet 09 2001-08-28          0.002830189            0.0500
## 14          Pollard 10 2001-08-28          0.000000000            0.3010
## 15    br. sud amont 01 2001-08-28          0.001041124            0.0500
## 16         Morrison 06 2001-08-28          0.002099738            0.0910
## 17             Malt 11 2001-08-28          0.008588298            0.0500
## 18          Suggary 02 2001-08-28          0.000000000            0.0500
## 19     Waugh sanct. 07 2001-08-28          0.015444015            0.0500
## 20          Dempsey 12 2001-08-28          0.003407984            0.0500
## 21 Branche sud aval 03 2001-08-28          0.002134851            0.0500
## 22           Sewell 08 2001-08-28          0.002027027            0.1330
## 23        Pok amont 04 2001-08-28          0.004366812            0.0500
## 24 McConnell Six Rd 05 2001-08-28          0.000000000            0.2810
## 25        Pok amont 04 2001-09-26          0.004366812            0.0500
## 26 Trout Val-Doucet 09 2001-09-26          0.002830189            0.0500
## 27 McConnell Six Rd 05 2001-09-26          0.000000000            0.2110
## 28          Pollard 10 2001-09-26          0.000000000            0.1845
## 29    br. sud amont 01 2001-09-26          0.001041124            0.0770
## 30         Morrison 06 2001-09-26          0.002099738            0.0500
## 31             Malt 11 2001-09-26          0.008588298            0.0500
## 32          Suggary 02 2001-09-26          0.000000000            0.0500
## 33     Waugh sanct. 07 2001-09-26          0.015444015            0.0500
## 34          Dempsey 12 2001-09-26          0.003407984            0.0500
## 35 Branche sud aval 03 2001-09-26          0.002134851            0.0500
## 36           Sewell 08 2001-09-26          0.002027027            0.0500
## 37           Sewell 08 2001-10-31          0.002027027            0.0500
## 38        Pok amont 04 2001-10-31          0.004366812            0.0500
## 39 Trout Val-Doucet 09 2001-10-31          0.002830189            0.0500
## 40         Morrison 06 2001-10-31          0.002099738            0.0500
## 41 McConnell Six Rd 05 2001-10-31          0.000000000            0.0500
## 42          Pollard 10 2001-10-31          0.000000000            0.2300
## 43    br. sud amont 01 2001-10-31          0.001041124            0.0500
## 44          Dempsey 12 2001-10-31          0.003407984            0.0500
## 45             Malt 11 2001-10-31          0.008588298            0.0500
## 46          Suggary 02 2001-10-31          0.000000000            0.0500
## 47     Waugh sanct. 07 2001-10-31          0.015444015            0.0500
## 48 Branche sud aval 03 2001-10-31          0.002134851            0.0500
## 49 Trout Val-Doucet 09 2002-07-29          0.002830189            0.0500
## 50 Branche sud aval 03 2002-07-29          0.002134851            0.0500
## 51           Sewell 08 2002-07-29          0.002027027            0.2200
## 52        Pok amont 04 2002-07-29          0.004366812            0.0700
## 53    br. sud amont 01 2002-07-29          0.001041124            0.0500
## 54         Morrison 06 2002-07-29          0.002099738            0.0700
## 55 McConnell Six Rd 05 2002-07-29          0.000000000            0.2800
## 56          Pollard 10 2002-07-29          0.000000000            0.3300
## 57     Waugh sanct. 07 2002-07-29          0.015444015            0.0500
## 58          Dempsey 12 2002-07-29          0.003407984            0.0500
## 59             Malt 11 2002-07-29          0.008588298            0.0500
## 60          Suggary 02 2002-07-29          0.000000000            0.1900
## 61        Pok amont 04 2002-08-28          0.004366812            0.0700
## 62 Trout Val-Doucet 09 2002-08-28          0.002830189            0.0500
## 63          Dempsey 12 2002-08-28          0.003407984            0.0500
## 64 Branche sud aval 03 2002-08-28          0.002134851            0.0500
## 65           Sewell 08 2002-08-28          0.002027027            0.0500
## 66          Pollard 10 2002-08-28          0.000000000            0.1800
## 67    br. sud amont 01 2002-08-28          0.001041124            0.0500
## 68         Morrison 06 2002-08-28          0.002099738            0.0700
## 69 McConnell Six Rd 05 2002-08-28          0.000000000            0.3000
## 70          Suggary 02 2002-08-28          0.000000000            0.1750
## 71     Waugh sanct. 07 2002-08-28          0.015444015            0.0500
## 72             Malt 11 2002-08-28          0.008588298            0.0500
## 73 Trout Val-Doucet 09 2002-10-02          0.002830189            0.0500
## 74           Sewell 08 2002-10-02          0.002027027            0.0500
## 75        Pok amont 04 2002-10-02          0.004366812            0.0500
## 76     Waugh sanct. 07 2002-10-02          0.015444015            0.0500
## 77          Dempsey 12 2002-10-02          0.003407984            0.0500
## 78 Branche sud aval 03 2002-10-02          0.002134851            0.0500
## 79 McConnell Six Rd 05 2002-10-02          0.000000000            0.1900
## 80          Pollard 10 2002-10-02          0.000000000            0.1300
## 81    br. sud amont 01 2002-10-02          0.001041124            0.0500
## 82         Morrison 06 2002-10-02          0.002099738            0.0500
## 83             Malt 11 2002-10-02          0.008588298            0.0500
## 84          Suggary 02 2002-10-02          0.000000000            0.1300
## 85        Pok amont 04 2002-10-31          0.004366812            0.0500
## 86 Trout Val-Doucet 09 2002-10-31          0.002830189            0.0500
## 87 Branche sud aval 03 2002-10-31          0.002134851            0.0500
## 88           Sewell 08 2002-10-31          0.002027027            0.2300
## 89          Suggary 02 2002-10-31          0.000000000            0.1500
## 90     Waugh sanct. 07 2002-10-31          0.015444015            0.0800
## 91          Dempsey 12 2002-10-31          0.003407984            0.0500
## 92         Morrison 06 2002-10-31          0.002099738            0.0700
## 93 McConnell Six Rd 05 2002-10-31          0.000000000            0.2200
## 94          Pollard 10 2002-10-31          0.000000000            0.1900
## 95    br. sud amont 01 2002-10-31          0.001041124            0.0500
## 96             Malt 11 2002-10-31          0.008588298            0.1300
subset(Period2, select=c(Station2, Date, pctN_supdrainee_2020,Nitrate_as_N_mg_L))
##                Station2       Date pctN_supdrainee_2020 Nitrate_as_N_mg_L
## 97           Suggary 02 2021-07-28         0.0015616866              0.11
## 98           Dempsey 12 2021-07-28         0.0020997375              0.08
## 99  Branche sud aval 03 2021-07-28         0.0010735373              0.05
## 100           Sewell 08 2021-07-28         0.0000000000              0.17
## 101     Waugh sanct. 07 2021-07-28         0.0034749035              0.06
## 102    br. sud amont 01 2021-07-28         0.0009737098              0.08
## 103         Morrison 06 2021-07-28         0.0021348514              0.05
## 104             Malt 11 2021-07-28         0.0016891892              0.06
## 105 McConnell Six Rd 05 2021-07-28         0.0043668122              0.21
## 106          Pollard 10 2021-07-28         0.0028301887              0.40
## 107        Pok amont 04 2021-07-28         0.0000000000              0.12
## 108 Trout Val-Doucet 09 2021-07-28         0.0000000000              0.18
## 109             Malt 11 2021-08-31         0.0028301887              0.06
## 110          Suggary 02 2021-08-31         0.0000000000              0.12
## 111     Waugh sanct. 07 2021-08-31         0.0015616866              0.05
## 112          Dempsey 12 2021-08-31         0.0020997375              0.08
## 113 Branche sud aval 03 2021-08-31         0.0010735373              0.06
## 114           Sewell 08 2021-08-31         0.0000000000              0.12
## 115          Pollard 10 2021-08-31         0.0034749035              0.32
## 116    br. sud amont 01 2021-08-31         0.0009737098              0.05
## 117         Morrison 06 2021-08-31         0.0021348514              0.05
## 118 Trout Val-Doucet 09 2021-08-31         0.0016891892              0.14
## 119 McConnell Six Rd 05 2021-08-31         0.0043668122              0.21
## 120        Pok amont 04 2021-08-31         0.0000000000              0.10
## 121          Suggary 02 2021-10-05         0.0043668122              0.17
## 122         Morrison 06 2021-10-05         0.0028301887              0.06
## 123             Malt 11 2021-10-05         0.0000000000              0.12
## 124           Sewell 08 2021-10-05         0.0000000000              0.13
## 125     Waugh sanct. 07 2021-10-05         0.0015616866              0.05
## 126          Dempsey 12 2021-10-05         0.0020997375              0.09
## 127 Branche sud aval 03 2021-10-05         0.0010735373              0.05
## 128 McConnell Six Rd 05 2021-10-05         0.0000000000              0.33
## 129          Pollard 10 2021-10-05         0.0034749035              0.38
## 130    br. sud amont 01 2021-10-05         0.0009737098              0.05
## 131        Pok amont 04 2021-10-05         0.0021348514              0.11
## 132 Trout Val-Doucet 09 2021-10-05         0.0016891892              0.22
## 133             Malt 11 2021-10-28         0.0016891892              0.07
## 134          Suggary 02 2021-10-28         0.0043668122              0.15
## 135    br. sud amont 01 2021-10-28         0.0028301887              0.05
## 136         Morrison 06 2021-10-28         0.0020997375              0.08
## 137 Branche sud aval 03 2021-10-28         0.0000000000              0.07
## 138           Sewell 08 2021-10-28         0.0000000000              0.14
## 139     Waugh sanct. 07 2021-10-28         0.0015616866              0.05
## 140          Dempsey 12 2021-10-28         0.0009737098              0.10
## 141 Trout Val-Doucet 09 2021-10-28         0.0010735373              0.27
## 142 McConnell Six Rd 05 2021-10-28         0.0000000000              0.36
## 143          Pollard 10 2021-10-28         0.0034749035              0.38
## 144        Pok amont 04 2021-10-28         0.0021348514              0.13
## 145          Pollard 10 2022-07-28         0.0028301887              0.40
## 146         Morrison 06 2022-07-28         0.0021348514              0.08
## 147             Malt 11 2022-07-28         0.0016891892              0.06
## 148          Suggary 02 2022-07-28         0.0043668122              0.11
## 149    br. sud amont 01 2022-07-28         0.0015616866              0.05
## 150          Dempsey 12 2022-07-28         0.0020997375              0.11
## 151 Branche sud aval 03 2022-07-28         0.0000000000              0.07
## 152           Sewell 08 2022-07-28         0.0000000000              0.17
## 153     Waugh sanct. 07 2022-07-28         0.0034749035              0.05
## 154        Pok amont 04 2022-07-28         0.0009737098              0.07
## 155 Trout Val-Doucet 09 2022-07-28         0.0010735373              0.15
## 156 McConnell Six Rd 05 2022-07-28         0.0000000000              0.36
## 157 McConnell Six Rd 05 2022-09-01         0.0043668122              0.26
## 158          Pollard 10 2022-09-01         0.0028301887              0.53
## 159    br. sud amont 01 2022-09-01         0.0009737098              0.05
## 160         Morrison 06 2022-09-01         0.0021348514              0.06
## 161             Malt 11 2022-09-01         0.0016891892              0.10
## 162          Suggary 02 2022-09-01         0.0000000000              0.13
## 163     Waugh sanct. 07 2022-09-01         0.0015616866              0.10
## 164          Dempsey 12 2022-09-01         0.0020997375              0.15
## 165 Branche sud aval 03 2022-09-01         0.0000000000              0.06
## 166           Sewell 08 2022-09-01         0.0000000000              0.17
## 167        Pok amont 04 2022-09-01         0.0034749035              0.06
## 168 Trout Val-Doucet 09 2022-09-01         0.0010735373              0.12
## 169           Sewell 08 2022-10-03         0.0028301887              0.08
## 170 Trout Val-Doucet 09 2022-10-03         0.0016891892              0.11
## 171 McConnell Six Rd 05 2022-10-03         0.0043668122              0.27
## 172          Pollard 10 2022-10-03         0.0034749035              0.50
## 173    br. sud amont 01 2022-10-03         0.0009737098              0.06
## 174         Morrison 06 2022-10-03         0.0021348514              0.05
## 175             Malt 11 2022-10-03         0.0000000000              0.06
## 176          Suggary 02 2022-10-03         0.0000000000              0.15
## 177     Waugh sanct. 07 2022-10-03         0.0015616866              0.09
## 178          Dempsey 12 2022-10-03         0.0020997375              0.09
## 179 Branche sud aval 03 2022-10-03         0.0010735373              0.05
## 180        Pok amont 04 2022-10-03         0.0000000000              0.05
## 181 Branche sud aval 03 2022-11-01         0.0043668122              0.05
## 182           Sewell 08 2022-11-01         0.0028301887              0.15
## 183        Pok amont 04 2022-11-01         0.0021348514              0.07
## 184 Trout Val-Doucet 09 2022-11-01         0.0016891892              0.14
## 185 McConnell Six Rd 05 2022-11-01         0.0000000000              0.25
## 186          Pollard 10 2022-11-01         0.0034749035              0.54
## 187    br. sud amont 01 2022-11-01         0.0009737098              0.07
## 188         Morrison 06 2022-11-01         0.0020997375              0.09
## 189             Malt 11 2022-11-01         0.0000000000              0.07
## 190          Suggary 02 2022-11-01         0.0000000000              0.16
## 191     Waugh sanct. 07 2022-11-01         0.0015616866              0.06
## 192          Dempsey 12 2022-11-01         0.0010735373              0.11
ggplot() +
geom_point(data=Period1, aes(x=pctN_supdrainee_1990, y=Nitrate_as_N_mg_L,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctN_supdrainee_1990, y=Nitrate_as_N_mg_L),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=pctN_supdrainee_2020, y=Nitrate_as_N_mg_L,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=pctN_supdrainee_2020, y=Nitrate_as_N_mg_L),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre le nitrate et les superficies naturels",
x=" Les superficies naturels (fraction de la superficie du bassin)",
y="Nitrate_as_N_mg_L") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Précipitation totale:

# Crée la variable pourcentage


Pok2001.2022$pctN_supdrainee_1990 = Pok2001.2022$precip.tot.2jours /
Pok2001.2022$precip.tot.21jours

Pok2001.2022$pctN_supdrainee_2020 = Pok2001.2022$precip.tot.6jours /
Pok2001.2022$precip.tot.21jours

Temp_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre Température et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Temp_eau_YSI_degC")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre Température et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Temp_eau_YSI_degC")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre Température et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Temp_eau_YSI_degC")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Temp_eau_YSI_degC)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre Température et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Temp_eau_YSI_degC")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p3)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p4)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

Oxygène_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre l'Oxygène et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Oxyg_dissous_YSI_mg_L")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre l'Oxygène et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Oxyg_dissous_YSI_mg_L")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre l'Oxygène et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Oxyg_dissous_YSI_mg_L")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Oxyg_dissous_YSI_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre l'Oxygène et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Oxyg_dissous_YSI_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p3)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

print(p4)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range (`stat_smooth()`).
## Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

conductivité_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Conductivity_microS_cm")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Conductivity_microS_cm")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Conductivity_microS_cm")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Conductivity_microS_cm)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Conductivity_microS_cm")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

print(p3)
## `geom_smooth()` using formula = 'y ~ x'

print(p4)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

pH_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="pH_units")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="pH_units")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="pH_units")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=pH_units)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="pH_units")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p3)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p4)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

turbidité_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Turbidity_NTU")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Turbidity_NTU")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Turbidity_NTU")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Turbidity_NTU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Turbidity_NTU")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p3)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p4)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

couleur_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Colour_TCU")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Colour_TCU")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Colour_TCU")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Colour_TCU)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Colour_TCU")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p3)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

print(p4)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 1 row containing non-finite outside the scale range (`stat_smooth()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_point()`).

COT_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Carbon_Total_Organic_mg_L")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Carbon_Total_Organic_mg_L")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Carbon_Total_Organic_mg_L")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Carbon_Total_Organic_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Carbon_Total_Organic_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

print(p3)
## `geom_smooth()` using formula = 'y ~ x'

print(p4)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Coliforme_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="E.coli_MPN_100.mL")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="E.coli_MPN_100.mL")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="E.coli_MPN_100.mL")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=E.coli_MPN_100.mL)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="E.coli_MPN_100.mL")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

print(p3)
## `geom_smooth()` using formula = 'y ~ x'

print(p4)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

Phosphore_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Phosphorus_Total_mg_L")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Phosphorus_Total_mg_L")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Phosphorus_Total_mg_L")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Phosphorus_Total_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Phosphorus_Total_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

print(p3)
## `geom_smooth()` using formula = 'y ~ x'

print(p4)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

nitrate_VS_Précip_total

# Créer un graphique pour la précipitation à 2 jours plus tôt 
p1 <- ggplot(Pok2001.2022, aes(x=precip.tot.2jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="red") +
  labs(title="Relation entre la conductivité et la Précipitation 2jrs avant",
       x="precip.tot.2jours",
       y="Nitrate_as_N_mg_L")
# Créer un graphique pour la précipitation à 6 jours plus tôt 
p2 <- ggplot(Pok2001.2022, aes(x=precip.tot.6jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="blue") +
  labs(title="Relation entre la conductivité et la Précipitation 6jrs avant",
       x="precip.tot.6jours",
       y="Nitrate_as_N_mg_L")
# Créer un graphique pour la précipitation à 14 jours plus tôt 
p3 <- ggplot(Pok2001.2022, aes(x=precip.tot.14jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="yellow") +
  labs(title="Relation entre la conductivité et la Précipitation 14jrs avant",
       x="precip.tot.14jours",
       y="Nitrate_as_N_mg_L")
# Créer un graphique pour la précipitation à 21 jours plus tôt 
p4 <- ggplot(Pok2001.2022, aes(x=precip.tot.21jours, y=Nitrate_as_N_mg_L)) +
  geom_point() +
  geom_smooth(method=lm, se=FALSE, color="green") +
  labs(title="Relation entre la conductivité et la Précipitation 21jrs avant",
       x="precip.tot.21jours",
       y="Nitrate_as_N_mg_L")
# Afficher les graphiques
print(p1)
## `geom_smooth()` using formula = 'y ~ x'

print(p2)
## `geom_smooth()` using formula = 'y ~ x'

print(p3)
## `geom_smooth()` using formula = 'y ~ x'

print(p4)
## `geom_smooth()` using formula = 'y ~ x'

ggarrange(p1, p2, p3, p4,  ncol=2, nrow=2)
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'

# Temp_eau_YSI_degC
# Oxyg_dissous_YSI_mg_L
# Conductivity_microS_cm
# pH_units
# Turbidity_NTU
# Colour_TCU
# Carbon_Total_Organic_mg_L
# E.coli_MPN_100.mL
# Phosphorus_Total_mg_L
# Nitrate_as_N_mg_L

#code recu d’Alain le 16 juillet 2024 sur les arbres de régressions

#NF_km2_supdrainee_1990

library("partykit") # pour ctree
## Warning: le package 'partykit' a été compilé avec la version R 4.3.3
## Le chargement a nécessité le package : grid
## Le chargement a nécessité le package : libcoin
## Warning: le package 'libcoin' a été compilé avec la version R 4.3.3
## Le chargement a nécessité le package : mvtnorm
## Warning: le package 'mvtnorm' a été compilé avec la version R 4.3.3
library("strucchange") # for p values of ctree models
## Warning: le package 'strucchange' a été compilé avec la version R 4.3.3
## Le chargement a nécessité le package : zoo
## Warning: le package 'zoo' a été compilé avec la version R 4.3.3
## 
## Attachement du package : 'zoo'
## Les objets suivants sont masqués depuis 'package:base':
## 
##     as.Date, as.Date.numeric
## Le chargement a nécessité le package : sandwich
## Warning: le package 'sandwich' a été compilé avec la version R 4.3.3
# Créer une variable "Mois"
Pok2001.2022$Mois<-format(as.Date(Pok2001.2022$Date, format="%Y-%m-%d"),"%m")
class(Pok2001.2022$Mois)
## [1] "character"
# Convertir la classe en facteur
Pok2001.2022$Mois=as.factor(Pok2001.2022$Mois)
class(Pok2001.2022$Mois)
## [1] "factor"
# Voir les niveaux du facteur "Mois"
levels(Pok2001.2022$Mois)
## [1] "07" "08" "09" "10" "11"
table(Pok2001.2022$Mois)
## 
## 07 08 09 10 11 
## 36 48 24 72 12
# Créer une variable "Annee"
Pok2001.2022$Annee<-format(as.Date(Pok2001.2022$Date, format="%Y-%m-%d"),"%Y")
class(Pok2001.2022$Annee)
## [1] "character"
Pok2001.2022$Annee=as.factor(Pok2001.2022$Annee)
levels(Pok2001.2022$Annee)
## [1] "2001" "2002" "2021" "2022"
table(Pok2001.2022$Annee)
## 
## 2001 2002 2021 2022 
##   48   48   48   48
# Présentation de la fonction "ctree" ("categorical tree") avec
# un modèle de température en fonction du mois de l'année
partykit::ctree(Temp_eau_YSI_degC~Mois, data=Pok2001.2022)
## 
## Model formula:
## Temp_eau_YSI_degC ~ Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09
## |   |   [3] Mois in 07: 14.511 (n = 36, err = 144.2)
## |   |   [4] Mois in 08, 09: 12.582 (n = 72, err = NaN)
## |   [5] Mois in 10, 11: 6.337 (n = 84, err = NaN)
## 
## Number of inner nodes:    2
## Number of terminal nodes: 3
# Les températures du mois de juillet (moyenne=14,5 deg. C) se distinguent
# de celles des mois d'août et de septembre (12,6 deg. C) et de celles
# des mois d'octobre-novembre (6,3 deg. C)

# Ces divisions binaires sont-elles "statistiquement signficatives"?
ctree01_temp_mois=partykit::ctree(Temp_eau_YSI_degC~Mois, data=Pok2001.2022,
control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
maxdepth=1, testtype="Teststatistic"))
ctree01_temp_mois 
## 
## Model formula:
## Temp_eau_YSI_degC ~ Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09: 13.231 (n = 108, err = NaN)
## |   [3] Mois in 10, 11: 6.337 (n = 84, err = NaN)
## 
## Number of inner nodes:    1
## Number of terminal nodes: 2
sctest(ctree01_temp_mois)
## $`1`
##               Mois
## statistic 121.8379
## p.value         NA
## 
## $`2`
## NULL
## 
## $`3`
## NULL
# À faire: comprendre pourquoi les valeurs p ne sont pas calculées
#plot(ctree01_temp_mois)

# Modèle avec plus de paramètres (à explorer)
# ctree01_temp_mois=partykit::ctree(Temp_eau_YSI_degC~Mois, data=Pok2001.2022,
#control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
#maxdepth=1,
#testtype="Teststatistic"))


# On peut ajouter plusieurs variables indépendantes "X" au modèle:
ctree02_temp=partykit::ctree(Temp_eau_YSI_degC~ Mois + Period, data=Pok2001.2022,
control=partykit::ctree_control(testtype="Teststatistic"))
ctree02_temp
## 
## Model formula:
## Temp_eau_YSI_degC ~ Mois + Period
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09
## |   |   [3] Mois in 07
## |   |   |   [4] Period in 2001-2002: 16.208 (n = 12, err = 21.2)
## |   |   |   [5] Period in 2021-2022: 13.662 (n = 24, err = 71.2)
## |   |   [6] Mois in 08, 09
## |   |   |   [7] Period in 2001-2002: 11.879 (n = 48, err = NaN)
## |   |   |   [8] Period in 2021-2022: 13.958 (n = 24, err = 71.1)
## |   [9] Mois in 10, 11
## |   |   [10] Period in 2001-2002: 5.523 (n = 36, err = NaN)
## |   |   [11] Period in 2021-2022: 6.931 (n = 48, err = 45.2)
## 
## Number of inner nodes:    5
## Number of terminal nodes: 6
# La première division se fait selon les mois: le mois de juillet se distinguent des mois
# d'août et septembre et ceux-ci se distinguent des mois d'octobre et novembre.
# Dans le mois de juillet, la période 1 a été plus chaude (16,2 deg. C en moyenne) 
# que la période 2 (13,6 deg. C).
sctest(ctree02_temp)
## $`1`
##               Mois    Period
## statistic 121.8379 0.2334999
## p.value         NA        NA
## 
## $`2`
##               Mois  Period
## statistic 12.76426 4.01357
## p.value         NA      NA
## 
## $`3`
##             Period
## statistic 12.58188
## p.value         NA
## 
## $`4`
## NULL
## 
## $`5`
## NULL
## 
## $`6`
##                Mois   Period
## statistic 0.5282314 8.921507
## p.value          NA       NA
## 
## $`7`
##                Mois
## statistic 0.2006006
## p.value          NA
## 
## $`8`
##                Mois
## statistic 0.8200614
## p.value          NA
## 
## $`9`
##                Mois   Period
## statistic 0.7334457 5.443585
## p.value          NA       NA
## 
## $`10`
## NULL
## 
## $`11`
##                 Mois
## statistic 0.01219724
## p.value           NA
#plot(ctree02_temp)


# On peut ajouter plusieurs variables dépendantes "Y" au modèle:
ctree03_temp_pH=partykit::ctree(Temp_eau_YSI_degC+pH_units~Mois, data=Pok2001.2022,
control=partykit::ctree_control(testtype="Teststatistic"))
ctree03_temp_pH
## 
## Model formula:
## ~Temp_eau_YSI_degC + pH_units + Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09
## |   |   [3] Mois in 07: *
## |   |   [4] Mois in 08, 09
## |   |   |   [5] Mois in 08: *
## |   |   |   [6] Mois in 09: *
## |   [7] Mois in 10, 11
## |   |   [8] Mois in 10: *
## |   |   [9] Mois in 11: *
## 
## Number of inner nodes:    4
## Number of terminal nodes: 5
sctest(ctree03_temp_pH)
## $`1`
##               Mois
## statistic 149.8742
## p.value         NA
## 
## $`2`
##               Mois
## statistic 32.31471
## p.value         NA
## 
## $`3`
## NULL
## 
## $`4`
##              Mois
## statistic 3.02104
## p.value        NA
## 
## $`5`
## NULL
## 
## $`6`
## NULL
## 
## $`7`
##              Mois
## statistic 5.49241
## p.value        NA
## 
## $`8`
## NULL
## 
## $`9`
## NULL
#plot(ctree03_temp_pH)
 
# On peut ajouter plusieurs variables "Y" (tous les paramètres ensemble, 
# permettant ainsi de parler de "qualité de l'eau") et plusieurs variables X...

essaie Gaël sur les arbres de régression

#NF_km2_supdrainee_1990

library("partykit") # pour ctree
library("strucchange")  # for p values of ctree models

# Créer une variable "Mois"
Pok2001.2022$Mois<-format(as.Date(Pok2001.2022$Date, format="%Y-%m-%d"),"%m")
class(Pok2001.2022$Mois)
## [1] "character"
# Convertir la classe en facteur
Pok2001.2022$Mois=as.factor(Pok2001.2022$Mois)
class(Pok2001.2022$Mois)
## [1] "factor"
# Voir les niveaux du facteur "Mois"
levels(Pok2001.2022$Mois)
## [1] "07" "08" "09" "10" "11"
table(Pok2001.2022$Mois)
## 
## 07 08 09 10 11 
## 36 48 24 72 12
# Créer une variable "Annee"
Pok2001.2022$Annee<-format(as.Date(Pok2001.2022$Date, format="%Y-%m-%d"),"%Y")
class(Pok2001.2022$Annee)
## [1] "character"
Pok2001.2022$Annee=as.factor(Pok2001.2022$Annee)
levels(Pok2001.2022$Annee)
## [1] "2001" "2002" "2021" "2022"
table(Pok2001.2022$Annee)
## 
## 2001 2002 2021 2022 
##   48   48   48   48
# Présentation de la fonction "ctree" ("categorical tree") avec
# un modèle de température en fonction du mois de l'année
partykit::ctree(Oxyg_dissous_YSI_mg_L~Mois, data=Pok2001.2022)
## 
## Model formula:
## Oxyg_dissous_YSI_mg_L ~ Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09, 10: 9.512 (n = 180, err = NaN)
## |   [3] Mois in 11: 11.483 (n = 12, err = 9.2)
## 
## Number of inner nodes:    1
## Number of terminal nodes: 2
# Les températures du mois de juillet (moyenne=14,5 deg. C) se distinguent
# de celles des mois d'août et de septembre (12,6 deg. C) et de celles
# des mois d'octobre-novembre (6,3 deg. C)

# Ces divisions binaires sont-elles "statistiquement signficatives"?
ctree01_temp_mois=partykit::ctree(Oxyg_dissous_YSI_mg_L~Mois, data=Pok2001.2022,
control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
maxdepth=1))
ctree01_temp_mois
## 
## Model formula:
## Oxyg_dissous_YSI_mg_L ~ Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 09, 10: 9.355 (n = 132, err = NaN)
## |   [3] Mois in 08, 11: 10.260 (n = 60, err = NaN)
## 
## Number of inner nodes:    1
## Number of terminal nodes: 2
sctest(ctree01_temp_mois)
## $`1`
##                   Mois
## statistic 2.477203e+01
## p.value   5.590790e-05
## 
## $`2`
## NULL
## 
## $`3`
## NULL
# À faire: comprendre pourquoi les valeurs p ne sont pas calculées
#plot(ctree01_temp_mois)

# Vérifier si le modèle contient des valeurs NaN
#any(is.nan(ctree01_temp_mois))


# Modèle avec plus de paramètres (à explorer)
# ctree01_temp_mois=partykit::ctree(Temp_eau_YSI_degC~Mois, data=Pok2001.2022,
#control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
#maxdepth=1,
#testtype="Teststatistic"))


# On peut ajouter plusieurs variables indépendantes "X" au modèle:
ctree02_temp=partykit::ctree(Oxyg_dissous_YSI_mg_L~ Mois + Period, data=Pok2001.2022,
control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
maxdepth=1))
ctree02_temp
## 
## Model formula:
## Oxyg_dissous_YSI_mg_L ~ Mois + Period
## 
## Fitted party:
## [1] root
## |   [2] Period in 2001-2002: 8.820 (n = 96, err = NaN)
## |   [3] Period in 2021-2022: 10.436 (n = 96, err = 153.4)
## 
## Number of inner nodes:    1
## Number of terminal nodes: 2
# La première division se fait selon les mois: le mois de juillet se distinguent des mois
# d'août et septembre et ceux-ci se distinguent des mois d'octobre et novembre.
# Dans le mois de juillet, la période 1 a été plus chaude (16,2 deg. C en moyenne)
# que la période 2 (13,6 deg. C).
sctest(ctree02_temp)
## $`1`
##                   Mois       Period
## statistic 2.477203e+01 5.033877e+01
## p.value   1.118127e-04 2.587365e-12
## 
## $`2`
## NULL
## 
## $`3`
## NULL
#plot(ctree02_temp)


# On peut ajouter plusieurs variables dépendantes "Y" au modèle:
ctree03_temp_pH=partykit::ctree(Temp_eau_YSI_degC+Oxyg_dissous_YSI_mg_L+Conductivity_microS_cm+pH_units+Turbidity_NTU+Colour_TCU+Carbon_Total_Organic_mg_L+E.coli_MPN_100.mL+Phosphorus_Total_mg_L+Nitrate_as_N_mg_L~Mois, data=Pok2001.2022,
control=partykit::ctree_control(testtype="Teststatistic"))
ctree03_temp_pH
## 
## Model formula:
## ~Temp_eau_YSI_degC + Oxyg_dissous_YSI_mg_L + Conductivity_microS_cm + 
##     pH_units + Turbidity_NTU + Colour_TCU + Carbon_Total_Organic_mg_L + 
##     E.coli_MPN_100.mL + Phosphorus_Total_mg_L + Nitrate_as_N_mg_L + 
##     Mois
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09
## |   |   [3] Mois in 07, 08
## |   |   |   [4] Mois in 07: *
## |   |   |   [5] Mois in 08: *
## |   |   [6] Mois in 09: *
## |   [7] Mois in 10, 11
## |   |   [8] Mois in 10: *
## |   |   [9] Mois in 11: *
## 
## Number of inner nodes:    4
## Number of terminal nodes: 5
sctest(ctree03_temp_pH)
## $`1`
##               Mois
## statistic 234.0736
## p.value         NA
## 
## $`2`
##               Mois
## statistic 78.74955
## p.value         NA
## 
## $`3`
##               Mois
## statistic 25.63629
## p.value         NA
## 
## $`4`
## NULL
## 
## $`5`
## NULL
## 
## $`6`
## NULL
## 
## $`7`
##               Mois
## statistic 21.59631
## p.value         NA
## 
## $`8`
## NULL
## 
## $`9`
## NULL
#plot(ctree03_temp_pH)


# On peut ajouter plusieurs variables "Y" (tous les paramètres ensemble,
# permettant ainsi de parler de "qualité de l'eau") et plusieurs variables X...
ctree03=partykit::ctree(Temp_eau_YSI_degC+Oxyg_dissous_YSI_mg_L+Conductivity_microS_cm+pH_units+Turbidity_NTU+Colour_TCU+Carbon_Total_Organic_mg_L+E.coli_MPN_100.mL+Phosphorus_Total_mg_L+Nitrate_as_N_mg_L~Annee+Mois, data=Pok2001.2022,
control=partykit::ctree_control(minsplit=1, minbucket=1,minprob=0.1,
maxdepth=1))
 

ctree03
## 
## Model formula:
## ~Temp_eau_YSI_degC + Oxyg_dissous_YSI_mg_L + Conductivity_microS_cm + 
##     pH_units + Turbidity_NTU + Colour_TCU + Carbon_Total_Organic_mg_L + 
##     E.coli_MPN_100.mL + Phosphorus_Total_mg_L + Nitrate_as_N_mg_L + 
##     (Annee + Mois)
## 
## Fitted party:
## [1] root
## |   [2] Mois in 07, 08, 09: *
## |   [3] Mois in 10, 11: *
## 
## Number of inner nodes:    1
## Number of terminal nodes: 2
sctest(ctree03)
## $`1`
##                  Annee         Mois
## statistic 1.639424e+02 2.340736e+02
## p.value   2.882696e-21 1.414026e-30
## 
## $`2`
## NULL
## 
## $`3`
## NULL
#plot(ctree03)

RÉFÉRENCES

# Temp_eau_YSI_degC
# Oxyg_dissous_YSI_mg_L
# Conductivity_microS_cm
# pH_units
# Turbidity_NTU
# Colour_TCU 
# Carbon_Total_Organic_mg_L 
# E.coli_MPN_100.mL
# Phosphorus_Total_mg_L
# Nitrate_as_N_mg_L

La météo

Graphique pour expliquer la relation des précpitation sur les périodes de chaque année.

#precip_tot_mm
précipitations totale mm jours

précipitations totale mm jours

#precip.tot.2jours
precip.tot.2jours

precip.tot.2jours

#precip.tot.3jours
precip.tot.3jours

precip.tot.3jours

#precip.tot.4jours
precip.tot.4jours

precip.tot.4jours

#precip.tot.5jours
precip.tot.5jours

precip.tot.5jours

#precip.tot.6jours
precip.tot.6jours

precip.tot.6jours

#precip.tot.7jours
precip.tot.7jours

precip.tot.7jours

#precip.tot.14jours
precip.tot.14jours

precip.tot.14jours

#precip.tot.21jours
precip.tot.21jours

precip.tot.21jours

Graphique pour expliquer la relation des températures sur les périodes des années détudes.

#Variation de la temperature de l’eau sur les deux periodes
Temp_eau_YSI_degC

Temp_eau_YSI_degC

#Tmax2jours
Tmax2jours

Tmax2jours

#Tmax3jours
Tmax3jours

Tmax3jours

#Tmax4jours
Tmax4jours

Tmax4jours

#Tmax5jours
Tmax5jours

Tmax5jours

#Tmax6jours
Tmax6jours

Tmax6jours

#Tmax7jours
Tmax7jours

Tmax7jours

#Les température minimums

#Tmin2jours
Tmin2jours

Tmin2jours

#Tmin3jours
Tmin3jours

Tmin3jours

#Tmin4jours
Tmin4jours

Tmin4jours

#Tmin5jours
Tmin5jours

Tmin5jours

#Tmin6jours
Tmin6jours

Tmin6jours

#Tmin7jours
Tminjours

Tminjours

Les graphiques des précipitations en ensemble

Les graphiques des températures maximale en ensemble

Les graphiques des températures minimales en ensemble

conclusions

La base des données météorologiques est constituée des données de la météo collectés sur la station de Bas-Caraquet et de Barthus. Selon les données de la précipitation, la période 1 à connu moins de pluie par rapport à la période 2 quand ont prends en compte la variabilité de précipitation de 4 jours à 21 jours avant les prélèvements. La précipitation au jours du prélèvement jusqu’au troisièmes jours avant le prélèvement ont connu plus de pluie dans la période 2 par rapport à la période 1. La période 1 malgré les plus faibles précipitations par rapport à la période 2 à connu l’augmentation des températures maximum de 1 à 7 jours avant les prélèvements. La température de l’air (à Bas-Caraquet) durant la période 1 était généralement plus élevé par rapport à la période 2. Elle a moyennement augmenté de 3% du 1 jusqu’au 7ème jours avant le prélèvement.

Mes test

Le test de t

Les précipitations

## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip_tot_mm by Pok2001.2022$Period
## t = 4.9391, df = 100.31, p-value = 3.14e-06
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  0.9380876 2.1976267
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##               2.0250000               0.4571429
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.2jours by Pok2001.2022$Period
## t = 2.0577, df = 142.74, p-value = 0.04144
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  0.0565769 2.8184231
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  3.8250                  2.3875
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.3jours by Pok2001.2022$Period
## t = 2.8997, df = 138.35, p-value = 0.004345
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  0.6720448 3.5529552
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  4.7750                  2.6625
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.4jours by Pok2001.2022$Period
## t = 0.58026, df = 128.5, p-value = 0.5628
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -0.9940593  1.8190593
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  4.7750                  4.3625
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.5jours by Pok2001.2022$Period
## t = -0.93118, df = 139.01, p-value = 0.3534
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.1863126  0.7863126
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                    5.75                    6.45
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.6jours by Pok2001.2022$Period
## t = -0.21976, df = 177.62, p-value = 0.8263
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.993901  2.393901
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 10.3875                 10.6875
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.7jours by Pok2001.2022$Period
## t = -3.3458, df = 188.25, p-value = 0.0009903
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -7.312088 -1.887912
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 11.5375                 16.1375
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.14jours by Pok2001.2022$Period
## t = -9.4362, df = 144.41, p-value < 2.2e-16
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -31.73325 -20.74175
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 24.4125                 50.6500
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$precip.tot.21jours by Pok2001.2022$Period
## t = -5.2009, df = 184.06, p-value = 5.251e-07
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -28.63873 -12.88627
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 45.6500                 66.4125

Les temptempératures

## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax2jours by Pok2001.2022$Period
## t = 0.012981, df = 169.25, p-value = 0.9897
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.888503  1.913503
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 17.7375                 17.7250
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax3jours by Pok2001.2022$Period
## t = -0.26338, df = 178.2, p-value = 0.7926
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.123094  1.623094
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 18.0625                 18.3125
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax4jours by Pok2001.2022$Period
## t = -0.52475, df = 183.97, p-value = 0.6004
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.320374  1.345374
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 18.0500                 18.5375
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax5jours by Pok2001.2022$Period
## t = -0.29931, df = 187.8, p-value = 0.765
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.087453  1.537453
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 18.0125                 18.2875
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax6jours by Pok2001.2022$Period
## t = -0.69303, df = 188.38, p-value = 0.4891
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.355925  1.130925
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 18.0750                 18.6875
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmax7jours by Pok2001.2022$Period
## t = -0.84309, df = 186.48, p-value = 0.4003
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -2.3796871  0.9546871
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 18.2875                 19.0000
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin2jours by Pok2001.2022$Period
## t = 1.4477, df = 189.99, p-value = 0.1493
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -0.4123691  2.6873691
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                 10.6375                  9.5000
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin3jours by Pok2001.2022$Period
## t = -0.38438, df = 189.8, p-value = 0.7011
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.839536  1.239536
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  9.8375                 10.1375
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin4jours by Pok2001.2022$Period
## t = -0.47143, df = 186.06, p-value = 0.6379
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.879452  1.154452
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  9.6375                 10.0000
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin5jours by Pok2001.2022$Period
## t = -0.2188, df = 186.43, p-value = 0.827
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.627642  1.302642
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  9.7375                  9.9000
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin6jours by Pok2001.2022$Period
## t = -0.20919, df = 189.68, p-value = 0.8345
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.564426  1.264426
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  9.9125                 10.0625
## 
##  Welch Two Sample t-test
## 
## data:  Pok2001.2022$Tmin7jours by Pok2001.2022$Period
## t = -0.58282, df = 189.97, p-value = 0.5607
## alternative hypothesis: true difference in means between group 2001-2002 and group 2021-2022 is not equal to 0
## 95 percent confidence interval:
##  -1.753793  0.953793
## sample estimates:
## mean in group 2001-2002 mean in group 2021-2022 
##                  10.025                  10.425

#Ne compte pas

Somme_ordre_vs_Conductivité_1

#names(Pok2001.2022) 

subset(Period1, select=c(Station2, Date, pctSomme_ordre_1.5,Conductivity_microS_cm))
##               Station2       Date pctSomme_ordre_1.5 Conductivity_microS_cm
## 1     br. sud amont 01 2001-08-01          1214.4196                  171.0
## 2          Morrison 06 2001-08-01           726.6667                  114.0
## 3              Malt 11 2001-08-01          1116.1031                  108.0
## 4           Suggary 02 2001-08-01          1205.3719                  118.0
## 5      Waugh sanct. 07 2001-08-01           864.2857                  133.0
## 6           Dempsey 12 2001-08-01          1127.0691                  128.0
## 7  Branche sud aval 03 2001-08-01          1138.6319                  115.0
## 8            Sewell 08 2001-08-01          1170.8108                  134.0
## 9         Pok amont 04 2001-08-01           653.2751                   56.6
## 10 Trout Val-Doucet 09 2001-08-01          1092.5472                  106.0
## 11 McConnell Six Rd 05 2001-08-01           985.1521                  100.0
## 12          Pollard 10 2001-08-01          1110.4258                  156.0
## 13 Trout Val-Doucet 09 2001-08-28          1092.5472                  105.0
## 14          Pollard 10 2001-08-28          1110.4258                  162.0
## 15    br. sud amont 01 2001-08-28          1214.4196                  177.0
## 16         Morrison 06 2001-08-28           726.6667                  115.0
## 17             Malt 11 2001-08-28          1116.1031                   90.3
## 18          Suggary 02 2001-08-28          1205.3719                  119.0
## 19     Waugh sanct. 07 2001-08-28           864.2857                  132.0
## 20          Dempsey 12 2001-08-28          1127.0691                  129.0
## 21 Branche sud aval 03 2001-08-28          1138.6319                  113.0
## 22           Sewell 08 2001-08-28          1170.8108                  150.0
## 23        Pok amont 04 2001-08-28           653.2751                   60.0
## 24 McConnell Six Rd 05 2001-08-28           985.1521                  112.0
## 25        Pok amont 04 2001-09-26           653.2751                   72.1
## 26 Trout Val-Doucet 09 2001-09-26          1092.5472                  115.0
## 27 McConnell Six Rd 05 2001-09-26           985.1521                  111.0
## 28          Pollard 10 2001-09-26          1110.4258                  153.5
## 29    br. sud amont 01 2001-09-26          1214.4196                  158.0
## 30         Morrison 06 2001-09-26           726.6667                  117.0
## 31             Malt 11 2001-09-26          1116.1031                   97.7
## 32          Suggary 02 2001-09-26          1205.3719                  139.0
## 33     Waugh sanct. 07 2001-09-26           864.2857                  136.0
## 34          Dempsey 12 2001-09-26          1127.0691                  137.0
## 35 Branche sud aval 03 2001-09-26          1138.6319                  123.0
## 36           Sewell 08 2001-09-26          1170.8108                  173.0
## 37           Sewell 08 2001-10-31          1170.8108                  111.0
## 38        Pok amont 04 2001-10-31           653.2751                   68.3
## 39 Trout Val-Doucet 09 2001-10-31          1092.5472                  112.0
## 40         Morrison 06 2001-10-31           726.6667                  123.0
## 41 McConnell Six Rd 05 2001-10-31           985.1521                   87.2
## 42          Pollard 10 2001-10-31          1110.4258                  164.0
## 43    br. sud amont 01 2001-10-31          1214.4196                  162.0
## 44          Dempsey 12 2001-10-31          1127.0691                  128.0
## 45             Malt 11 2001-10-31          1116.1031                   98.8
## 46          Suggary 02 2001-10-31          1205.3719                  120.0
## 47     Waugh sanct. 07 2001-10-31           864.2857                  102.0
## 48 Branche sud aval 03 2001-10-31          1138.6319                  115.0
## 49 Trout Val-Doucet 09 2002-07-29          1092.5472                  112.0
## 50 Branche sud aval 03 2002-07-29          1138.6319                  116.0
## 51           Sewell 08 2002-07-29          1170.8108                  139.0
## 52        Pok amont 04 2002-07-29           653.2751                   57.1
## 53    br. sud amont 01 2002-07-29          1214.4196                  148.0
## 54         Morrison 06 2002-07-29           726.6667                  123.0
## 55 McConnell Six Rd 05 2002-07-29           985.1521                  105.0
## 56          Pollard 10 2002-07-29          1110.4258                  162.0
## 57     Waugh sanct. 07 2002-07-29           864.2857                  133.0
## 58          Dempsey 12 2002-07-29          1127.0691                  143.0
## 59             Malt 11 2002-07-29          1116.1031                   96.6
## 60          Suggary 02 2002-07-29          1205.3719                  110.0
## 61        Pok amont 04 2002-08-28           653.2751                   60.3
## 62 Trout Val-Doucet 09 2002-08-28          1092.5472                  115.0
## 63          Dempsey 12 2002-08-28          1127.0691                  144.0
## 64 Branche sud aval 03 2002-08-28          1138.6319                  121.0
## 65           Sewell 08 2002-08-28          1170.8108                  168.0
## 66          Pollard 10 2002-08-28          1110.4258                  164.0
## 67    br. sud amont 01 2002-08-28          1214.4196                  185.0
## 68         Morrison 06 2002-08-28           726.6667                  125.0
## 69 McConnell Six Rd 05 2002-08-28           985.1521                  111.0
## 70          Suggary 02 2002-08-28          1205.3719                  110.5
## 71     Waugh sanct. 07 2002-08-28           864.2857                  135.0
## 72             Malt 11 2002-08-28          1116.1031                  101.0
## 73 Trout Val-Doucet 09 2002-10-02          1092.5472                  120.0
## 74           Sewell 08 2002-10-02          1170.8108                  158.0
## 75        Pok amont 04 2002-10-02           653.2751                   69.4
## 76     Waugh sanct. 07 2002-10-02           864.2857                  148.0
## 77          Dempsey 12 2002-10-02          1127.0691                  145.0
## 78 Branche sud aval 03 2002-10-02          1138.6319                  126.0
## 79 McConnell Six Rd 05 2002-10-02           985.1521                  108.0
## 80          Pollard 10 2002-10-02          1110.4258                  176.0
## 81    br. sud amont 01 2002-10-02          1214.4196                  194.0
## 82         Morrison 06 2002-10-02           726.6667                  128.0
## 83             Malt 11 2002-10-02          1116.1031                  106.0
## 84          Suggary 02 2002-10-02          1205.3719                  114.0
## 85        Pok amont 04 2002-10-31           653.2751                   70.9
## 86 Trout Val-Doucet 09 2002-10-31          1092.5472                  122.0
## 87 Branche sud aval 03 2002-10-31          1138.6319                  126.0
## 88           Sewell 08 2002-10-31          1170.8108                  120.0
## 89          Suggary 02 2002-10-31          1205.3719                  118.0
## 90     Waugh sanct. 07 2002-10-31           864.2857                  129.0
## 91          Dempsey 12 2002-10-31          1127.0691                  141.0
## 92         Morrison 06 2002-10-31           726.6667                  130.0
## 93 McConnell Six Rd 05 2002-10-31           985.1521                  103.0
## 94          Pollard 10 2002-10-31          1110.4258                  176.0
## 95    br. sud amont 01 2002-10-31          1214.4196                  175.5
## 96             Malt 11 2002-10-31          1116.1031                  107.0
ggplot() +
geom_point(data=Period1, aes(x=pctSomme_ordre_1.5, y=Conductivity_microS_cm, 
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=pctSomme_ordre_1.5, y=Conductivity_microS_cm),
            
 method=lm, se=FALSE, color="red") + 

 scale_color_manual(name="",
values=c("P1"="red"),
breaks=c("P1")) +
scale_shape_manual(name="",
values=c("P1"=1),
breaks=c("P1")) +

  
labs(title="Relation entre la Conductivité et la sommes des ordres",
x=" Sommes des ordres (Ordre des ruisseaux du sous bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'

#Correlation entre Conductivité et pluies

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Conductivity_microS_cm))
#subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Conductivity_microS_cm))

ggplot() +
geom_point(data=Period1, aes(x=Conductivity_microS_cm, y=precip_tot_mm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=Conductivity_microS_cm, y=precip_tot_mm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=Conductivity_microS_cm, y=precip_tot_mm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=Conductivity_microS_cm, y=precip_tot_mm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 12 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 12 rows containing missing values or values outside the scale range
## (`geom_point()`).

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Conductivity_microS_cm))
#subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Conductivity_microS_cm))

ggplot() +
geom_point(data=Period1, aes(x=Conductivity_microS_cm, y=Temp_eau_YSI_degC,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=Conductivity_microS_cm, y=Temp_eau_YSI_degC),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=Conductivity_microS_cm, y=Temp_eau_YSI_degC,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=Conductivity_microS_cm, y=Temp_eau_YSI_degC),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 2 rows containing missing values or values outside the scale range
## (`geom_point()`).

#names(Pok2001.2022) 

#subset(Period1, select=c(Station2, Date, pctIND_supdrainee_1990,Conductivity_microS_cm))
#subset(Period2, select=c(Station2, Date, pctIND_supdrainee_2020,Conductivity_microS_cm))

ggplot() +
geom_point(data=Period1, aes(x=Carbon_Total_Organic_mg_L, y=precip_tot_mm,
 color="P1", shape="P1")) +
geom_smooth(data=Period1, aes(x=Carbon_Total_Organic_mg_L, y=precip_tot_mm),
            
 method=lm, se=FALSE, color="red") +
 geom_point(data=Period2, aes(x=Carbon_Total_Organic_mg_L, y=precip_tot_mm,

color="P2", shape="P2")) +

 geom_smooth(data=Period2, aes(x=Carbon_Total_Organic_mg_L, y=precip_tot_mm),
 method=lm, se=FALSE, color="blue") +
  
 scale_color_manual(name="",
values=c("P1"="red", "P2"="blue"),
breaks=c("P1","P2")) +
scale_shape_manual(name="",
values=c("P1"=1, "P2"=2),
breaks=c("P1","P2")) +

  
labs(title="Relation entre la conductivité et la Zone industriel",
x=" Zone industriel (fraction de la superficie du bassin)",
y="Conductivity_microS_cm") +

theme_bw()
## `geom_smooth()` using formula = 'y ~ x'
## `geom_smooth()` using formula = 'y ~ x'
## Warning: Removed 12 rows containing non-finite outside the scale range
## (`stat_smooth()`).
## Warning: Removed 12 rows containing missing values or values outside the scale range
## (`geom_point()`).